/* Define color variables */
:root {
    --primary-color: #333;
    --secondary-color: #555;
    --hover-color: #777;
    --background-color: #f4f4f4;
    --white: #fff;
    --grey: #e0e0e0;
    --input-border-color: #ccc;
    --success-background: #d4edda;
    --success-text-color: green;
    --error-background: #f8d7da;
    --error-text-color: red;
    --dark-red: #b30000;
    --notif-unread-bg: #eef6ff;
    --notif-read-bg: #f9f9f9;
}

/* Reusables styles */
.hidden {
    display: none;
}

a.active {
    font-weight: bolder;
    text-decoration: underline;
}

.display-block {
    display: block !important;
}

.full-width {
    display: block !important;
    width: 100% !important;
}

.width-initial {
    width: initial !important;
}

.text-initial {
    justify-content: flex-start !important;
}

.text-center {
    text-align: center !important;
}

.margin-initial {
    margin: initial !important;
}

.padding-initial {
    padding: initial !important;
}

.maxwidth-100 {
    max-width: 100% !important;
}

.flex-row {
    flex-direction: row !important;
}

/* Hide by default */
#scene_preference_other, 
label[for="scene_preference_other"] {
    display: none;
}

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Roboto, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
  min-height: 100vh;        /* Fill at least the viewport height */
  display: flex;
  flex-direction: column;
  margin: 0; 
}

/* Main header container */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  position: relative;
}

/* Left section (logo + role info) */
.header_left {
  flex: 0 0 50%;
}

/* Right section (menu items) */
.header_right {
  flex: 0 0 50%;
}

/* Navigation inside right header */
.header_right nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

/* Header links & dropdown toggles */
.main-header a,
.main-header .dropdown-toggle {
  color: var(--white);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
  background-color: var(--secondary-color);
  transition: background-color 0.3s;
  cursor: pointer;
  display: inline-block;
}



header a:hover,
header .dropdown-toggle:hover {
    background-color: var(--hover-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    border: 1px solid var(--hover-color);
    border-radius: 4px;
    z-index: 1000;
    min-width: 180px;
    text-align: left;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    background-color: var(--secondary-color);
    margin: 2px;
}

.dropdown-menu a:hover {
    background-color: var(--hover-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Page title */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Page content styles */
.container {
    width: 98%;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	flex: 1;
}

.subcontainer {
    display: flex;
    gap: 2%;
}

/* Notification Styles */
.notifications-box {
    background-color: var(--white);
    border: 1px solid var(--input-border-color);
    padding: 16px 20px;
    max-width: 480px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: Roboto, Arial, sans-serif;
}

.notifications-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--grey);
    gap: 10px;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item .message a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.notification-item .message a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.notification-item.unread {
    background-color: var(--notif-unread-bg);
}

.notification-item.read {
    background-color: var(--notif-read-bg);
    opacity: 0.6;
}

.mark-read-btn {
    background: none;
    border: none;
    color: var(--hover-color);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s ease;
}

.mark-read-btn:hover {
    color: var(--primary-color);
}

.mark-all-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

.mark-all-btn:hover {
    background-color: var(--hover-color);
}

.notifications-box .empty {
    color: var(--secondary-color);
    font-style: italic;
    font-size: 0.9rem;
}

/* Notification Widget Dropdown (Header Version) */
.notification-widget {
    position: relative;
}

.notification-widget .dropdown-menu {
    padding: 10px;
    min-width: 320px;
    max-width: 400px;
    font-size: 0.95rem;
    font-family: Roboto, Arial, sans-serif;
}

.notification-bell {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--error-text-color)red;
    color: var(--white);
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

.notification-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.widget-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--grey);
}

.widget-item:last-child {
    border-bottom: none;
}

.widget-message a {
    color: var(--white);
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    word-break: break-word;
}

.widget-message a:hover {
    text-decoration: underline;
    font-weight: 700;
}

.widget-dismiss-form {
    margin: 0;
}

.dismiss-btn {
    background: none;
    border: none;
    color: var(--hover-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 2px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.dismiss-btn:hover {
    color: var(--primary-color);
}

.view-all-link {
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--grey);
    margin-top: 8px;
}

.view-all-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.view-all-link a:hover {
    text-decoration: underline;
    color: var(--hover-color);
}

/* Kanban Styles */
.kanban-board {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.kanban-column {
    flex: 1;
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 80vh;
}

.kanban-column h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.kanban-link {
    text-decoration: none;
}

.kanban-card {
    background: #fff;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.kanban-card strong {
    display: block;
    margin-bottom: 0.3rem;
}

.kanban-card small {
    display: block;
    color: #666;
    font-size: 0.8rem;
}

.kanban-note {
    margin-top: 4px;
    font-size: 0.85em;
    color: #555;
    background: #f8f8f8;
    padding: 4px 6px;
    border-radius: 4px;
}

/* Form container styles */
.form-container {
    width: 100%;
	max-width: 520px;
    //margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
	border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	background: #eee;
}

.form-container form > div  {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    //gap: 12px;
    margin-bottom: 16px;
}

/* Form styles */
form,
.model-selection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

label {
    font-weight: bold;
}

input, textarea, button, select {
    padding: 5px;
    border: 1px solid var(--input-border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: Roboto, Arial, sans-serif;
}

input[type="submit"], button {
    padding: 10px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

input[type="submit"]:hover, button:hover {
    background-color: var(--hover-color);
    transition: background-color 0.3s ease;
}

.checkbox-group {
  margin-bottom: 1em;
}

.checkbox-group-label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 6px;
}

/* Search container */
.search-container {
    background: var(--background-color);
    border: 1px solid var(--grey);
    border-radius: 12px;
    padding: 20px;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-family: Roboto, Arial, sans-serif;
}

.search-container h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.search-container form {
    display: grid;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-container input,
.search-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: var(--white);
    transition: border 0.2s ease, box-shadow 0.2s ease;
    color: var(--secondary-color);
}

.search-container input:focus,
.search-container select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.2); /* based on --primary-color */
    outline: none;
}

.search-container button {
    grid-column: span 2;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-container button:hover {
    background: var(--hover-color);
}

.search-container input::placeholder {
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Code of Conduct styling */
.code-of-conduct-container {
  background-color: var(--error-background);
  border: 2px solid var(--dark-red);
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
  margin: 16px auto;
}

.code-of-conduct-container a {
  color: var(--error-text-color);
  text-decoration: none;
}

.code-of-conduct-container a:hover {
  color: var(--dark-red);
}

/* Success message styling */
p.success {
    color: var(--success-text-color);
    font-weight: bold;
    background-color: var(--success-background);
    padding: 10px;
    border-radius: 4px;
}

/* Error message styling */
p.error {
    color: var(--error-text-color);
    font-weight: bold;
    background-color: var(--error-background);
    padding: 10px;
    border-radius: 4px;
}

/* Profile container */
.profile-container {
    max-width: 100%;
    margin-bottom: 1%;
}

/* Container for table */
.view-container {
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
}

/* Table inside the container */
.view-container table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensure columns are evenly distributed */
}

/* Table header */
.view-container table th {
    background-color: #f4f4f4;
    text-align: left;
    padding: 12px 16px;
    font-weight: bold;
    border: 1px solid #ddd;
}

/* Table data cells */
.view-container table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    word-wrap: break-word; /* Ensures long text doesn't break layout */
}

/* Make table headers sticky at the top when scrolling */
.view-container table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Status and View Filters */
.filter-container .status-filters,
.filter-container .view-filters {
    margin: 8px 0;
    display: flex;
    width: fit-content;
}

.status-filters,
.view-filters {
    margin: 16px 0;
    padding: 10px;
    background: var(--background-color);
    border: 1px solid var(--grey);
    border-radius: 8px;
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
}

.status-filters a,
.view-filters a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.status-filters a:hover,
.view-filters a:hover  {
    background: var(--hover-color);
    color: var(--white);
}

.status-filters a.active,
.view-filters a.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

/* Sort Options */
.sort-options {
    margin: 12px 0;
    font-size: 14px;
    color: var(--text-color);
}

.sort-options strong {
    margin-right: 8px;
    font-weight: 600;
}

.sort-options a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.sort-options a:hover {
    background: var(--hover-color);
    color: var(--white);
}

.sort-options a.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

/* Ban and Unban button styles */
.banned-label {
    color: var(--error-text-color); /* Red */
    font-weight: bold;
}

.ban-btn {
    background-color: var(--error-text-color); /* Red */
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
	margin-left: 10px;
}

.ban-btn:hover {
    background-color: #c0392b; /* Darker Red */
    transform: scale(1.05);
}

.unban-btn {
    background-color: var(--success-text-color); /* Green */
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.unban-btn:hover {
    background-color: #27ae60; /* Darker Green */
    transform: scale(1.05);
}

.archive-btn {
    background-color: #ffa366; /* Orange */
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
	margin-left: 10px;
}

.archive-btn:hover {
    background-color: #ff751a; /* Darker Orange */
    transform: scale(1.05);
}

.unarchive-btn {
    background-color: #991f00; /* Green */
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.unarchive-btn:hover {
    background-color: #27ae60; /* Darker Green */
    transform: scale(1.05);
}

.transparent-btn {
    background-color: #333;
    padding: 3px 5px;
}

/* Model action buttons*/
.model-action-buttons .inactive-btn,
.model-action-buttons .ban-btn {
    background-color: orange;
}

.model-action-buttons .active-btn,
.model-action-buttons .unban-btn {
    background-color: green;
}

/* Shoot status button styles */
.status-button {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.active-button {
    background-color: #2563eb;
    color: white;
    cursor: pointer;
}

.active-button:hover {
    background-color: #1d4ed8;
}

.disabled-button {
    background-color: #9ca3af;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.button-container {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    width: 100%
}

.status-back {
    background-color: var(--grey);
    color: var(--primary-color);
}

/* Checklist */
.checklist-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    grid-template-columns: initial !important;
}

.checklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.checklist-item label {
    flex: 1;
    font-weight: 500;
    margin-right: 20px;
}

.checklist-item input[type="file"] {
    flex: 1;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid var(--input-border-color);
    border-radius: 4px;
    background-color: var(--background-color);
    cursor: pointer;
    max-width: 100%;
    color: var(--primary-color);
}

.checklist-item input[type="file"]::file-selector-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
}

.checklist-item input[type="file"]::file-selector-button:hover {
    background-color: var(--hover-color);
}

.checklist-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.checklist-item textarea {
    flex: 1;
    width: 100%;
    resize: vertical;
    min-height: 80px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checklist-item small {
    color: var(--success-text-color);
    font-size: 0.85em;
    font-style: italic;
}

/* Checklist Status */
.checklist-status {
    list-style: none;
    padding: 0.8rem 1rem;
    //margin: 1rem 0;
    border-radius: 8px;
    background: var(--success-background);
    color: var(--success-text-color);
    font-size: 0.9rem;
}

.checklist-status li {
    margin: 0.3rem 0;
}

/* Files Container */
.files-container {
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.files-container h4 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--grey);
}

.files-container .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.files-container .image-container div {
    text-align: center;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.files-container .image-container img {
    height: auto;
    border: 1px solid var(--grey);
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.files-container .image-container img:hover {
    transform: scale(1.05);
    border-color: var(--hover-color);
}

.files-container p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.files-container p a:hover {
    text-decoration: underline;
    color: var(--hover-color);
}

.files-container button:hover {
    background: var(--hover-color);
}

/* Confirm form */
.files-container form {
    margin-top: 1.2rem;
    padding: 1rem;
    background: var(--background-color);
    border: 1px dashed var(--grey);
    border-radius: 8px;
}

.files-container form p {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.files-container button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Images */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.image-container img {
    max-height: 200px;
    flex: 1 1 calc(33.333% - 10px);
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.image-container h3 {
  flex: 0 0 100%;
  margin-bottom: 10px;
}

/* Changelog */
.changelog {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 8px;
  padding: 15px 20px;
  //max-width: 600px; /* optional */
  //margin: 20px auto;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.changelog h4 {
  margin: 0 0 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  border-bottom: 2px solid var(--grey);
  padding-bottom: 5px;
}

.changelog-entry {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.changelog-entry::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--secondary-color);
  font-size: 1.2rem;
  line-height: 1;
}

.changelog-entry p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--secondary-color);
}

.changelog-entry strong {
  color: var(--primary-color);
}

.changelog-entry em {
  font-style: normal;
  color: var(--dark-red);
  font-weight: 600;
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.confirm-btn {
    background-color: #e53935;
    color: white;
    padding: 10px;
    margin: 10px;
}

.cancel-btn {
    background-color: #ccc;
    padding: 10px;
    margin: 10px;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 5px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

/* Autosuggest styles */
#autosuggest-results-2257 {
    max-width: 350px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fff;
    z-index: 9999;
  display: block;     /* Ensure block layout */
}

#autosuggest-results-2257 div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box; /* Proper padding */
  display: block;     /* Each result on its own row */
  width: 100%;        /* Stretch to fill container */
  box-sizing: border-box;
  float: none;        /* Prevent float */
  clear: both;        /* Clear any floating */
}

#autosuggest-results-2257 div:last-child {
    border-bottom: none;
}

/* Calendar Styles */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.calendar-nav a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.calendar-nav form {
    display: inline-block;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    border: 1px solid #ddd;
    padding: 8px;
    min-height: 80px;
    position: relative;
}

.day .date {
    font-weight: bold;
    margin-bottom: 5px;
}

.day .event {
    background: #3498db;
    color: #fff;
    padding: 2px 4px;
    margin-bottom: 3px;
    border-radius: 3px;
    font-size: 12px;
}

.day.empty {
    background: #f9f9f9;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.event .label {
    font-size: 10px;
    font-weight: bold;
    color: #555;
    margin-right: 4px;
}

/* Shoot set styles */
.preview-thumb img {
    width: 200px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.styled-table th, .styled-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.styled-table th {
    background-color: #f4f4f4;
    text-align: left;
}

/* Scene Graphics Grid */
.scene-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Individual Scene Card */
.scene-card-item {
    background-color: var(--white);
    border: 1px solid var(--grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.scene-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* Scene card image */
.scene-card-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--grey);
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

/* Scene card title and date */
.scene-card-item div {
    padding: 10px;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.scene-card-item div em {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* Model Promo and Note Styles */
.note-item,
.promo-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.promo-item {
    display: inline-block;
    width: 300px;
    vertical-align: top;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.note-item strong,
.promo-item strong {
    color: #333;
}

.note-photos img,
.promo-photos img {
    width: 150px;
    height: auto;
    border-radius: 6px;
    margin: 5px;
    border: 1px solid #ccc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.note-photos img:hover,
.promo-photos img:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.view-link,
.back-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 6px 0;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
    float: right;
}

.view-link:hover,
.back-link:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    header {
        text-align: center;
    }

    .view-container table th, .view-container table td {
        padding: 8px;
    }

    .view-container table {
        font-size: 14px;
    }

    .scene-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .scene-card-item div {
        font-size: 0.9rem;
    }
}