@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --poppins: 'Poppins', sans-serif;
    --dm-mono: 'DM Mono', monospace;
    --theme: #08372d;
    /* sidebar bg */
    --theme-600: #0e4d43;
    --theme-500: #126a5b;
    --theme-400: #126a5b;
    --theme-300: #126a5b;
    --theme-200: #229582;
    --theme-100: #e6f2f0;
    --primary: #030213;
    --destructive: #d4183d;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --switch-background: #cbced4;
    --login-container: #d4e9e6;
    --accent: #e9ebef;
    --bg: #f3f7f6;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--poppins);
}

body {
    background: var(--bg);
}

.fs-7 {
    font-size: var(--text-sm);
}

.fs-8 {
    font-size: var(--text-xs);
}

.text-gray {
    color: var(--muted-foreground);
}

.text-theme {
    color: var(--theme);
}

.bg-theme {
    background: var(--theme);
    color: #fff;
}

.btn-theme-outline {
    border: 1px solid var(--theme);
    color: var(--theme);
    background: white;
    padding: 0.4rem .8rem;
    border-radius: 8px;
    font-size: var(--text-sm);
}

.btn-theme-outline:hover {
    background: var(--theme);
    color: #fff;
}

.message-container {
  z-index: 1050; /* Make sure it's above most elements */
}


.custom-message {
  animation: fadeSlide 0.3s ease-in-out;
  border-color: var(--theme) !important;
  background-color:var(--theme) !important;
  color: white !important;
  font-family: var(--poppins);
  padding: 10px 40px !important;
}

/* Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--theme);
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
    scroll-behavior: smooth;
    max-height: 100vh;
}



.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-header img {
    width: auto;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-header h5 {
    color: #fff;
    margin: 0;
    font-weight: 600;
    font-size: .9rem;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: var(--theme-100);
    border-radius: 10px;
    border: 2px solid #1f2937;
}


.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-300);
}


.ssidebar-nav::-webkit-scrollbar-button {
    display: none;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, .9);
    border-radius: 8px;
    margin: 4px 8px;
    font-size: 0.875rem;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.sidebar .nav-link.active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.sidebar .bi {
    font-size: 1rem;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-footer .btn {
    font-size: 0.875rem;
}

.active>.page-link, .page-link.active {
    border-color: var(--theme);
    background-color: var(--theme) !important;
}
.page-link {
        color: var(--theme);
}

.bg-teal {
    background: rgba(255, 255, 255, .12) !important;
}

.bg-light {
    background-color: rgb(242, 242, 245) !important;
}

.main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding: 24px;
}

/* Dashboard */
.dashboard-header .page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.dashboard-header .subtitle {
    color: #5f6b6a;
    margin: 0 0 14px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 1200px) {
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

.card-soft {
    border: 0;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
    border-radius: 14px;
}

.kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.kpi-content {
    flex: 1;
}

.kpi-label {
    margin: 0;
    color: #6b7280;
    font-weight: 400;
    font-size: .9rem;
}

.kpi-value {
    margin: 10px 0 0;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--theme);
}

.icon-badge {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--theme-100);
    color: var(--theme-500);
}

/* Grid area under KPIs */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 16px;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {

    font-weight: 600;
    color: #0f172a;
}

/* Upcoming */
.upcoming-wrap {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 16px;
}

@media (max-width: 992px) {
    .upcoming-wrap {
        grid-template-columns: 1fr;
    }
}

.calendar-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2f7;
}

/* Calendar */
.calendar {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #eef2f7;
}

.calendar .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 12px;
}

.calendar .cal-header .nav {
    display: flex;
    gap: 8px;
}

.calendar .cal-header .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
}

.calendar .cal-header .month {
    font-weight: 700;
}

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

.calendar .dow,
.calendar .day {
    text-align: center;
    font-size: 12px;
    padding: 6px 0;
    border-radius: 8px;
}

.calendar .dow {
    color: #6b7280;
    font-weight: 600;
}

.calendar .day.muted {
    color: #a3a7ae;
}

.calendar .day.active {
    background: var(--theme-100);
    color: #0f5132;
    font-weight: 700;
    border: 1px solid #c6e3dc;
}

.calendar .day.today {
    outline: 2px solid var(--theme-500);
    outline-offset: -2px;
}

/* Day bookings */
.day-bookings .mini-card {
    background: #fff;
    border: 1px solid #eef2f7;
    padding: 14px;
    border-radius: 12px;
}

.mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--theme-100);
    color: var(--theme-500);
    margin-right: 10px;
    font-size: 1.1rem;
}

.counter-badge {
    background: #eef2f7;
    color: #111827;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 400;
}

/* Quick actions */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: var(--theme);
    transition: all 0.2s;
}

.quick-action-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.quick-action-item i {
    font-size: 1.1rem;
    color: var(--theme-500);
}

.quick-action-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-actions .list-group-item {
    border: 1px solid #eef2f7;
    margin-bottom: 10px;
    border-radius: 10px;
}

.quick-actions .list-group-item:hover {
    background: #f8fafc;
}

/* Settings Page */
.settings-page .page-title {
    font-size: 1.75rem;
    color: #102a27;
    font-weight: 700;
}

.settings-page .page-sub {
    color: #6b7f7a;
    font-size: .95rem;
}

/* Reusable Tab Styles */
.va-tabs {
    display: flex;
    gap: 1rem;
    margin-top: .75rem;
    margin-bottom: 1.5rem;
    background-color: #dce9e7;
    width: fit-content;
    border-radius: 1.5rem;
    padding: .3rem;
}

.va-tab {
    padding: .2rem 1rem;
    background: transparent;
    color: var(--theme);
    border: 1px solid transparent;
    border-radius: 1.5rem;
    font-weight: 400;
    font-size: var(--text-sm);
    transition: all .15s ease;
    cursor: pointer;
}

.va-tab:hover {
    background: #f8faf9;
}

.va-tab.active {
    background: #f3f7f6;
    color: var(--theme);
    border-color: #e3ebe9;
    font-weight: 600;
}

.va-card {
    background: #fff;
    border: 1px solid #e7efec;
    border-radius: .75rem;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
}

.va-card .card-body {
    padding: 1.5rem;
}

.settings-page .section-title {
    color: #102a27;
    font-weight: 600;
}

.settings-page .section-sub {
    color: #6b7f7a;
    font-size: .9rem;
}

.settings-page .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f2f6f5;
    color: #2c3e50;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-page .divider {
    border-bottom: 1px solid #edf4f2;
}

.settings-page .va-label {
    font-size: .86rem;
    color: #334d47;
    font-weight: 600;
    margin-bottom: .35rem;
}

.settings-page .va-input {
    position: relative;
}

.settings-page .va-input input {
    height: 40px;
    background: #f6fbfa;
    border: 1px solid #e6f2ef;
    padding-left: 40px;
}

.settings-page .va-input input:focus {
    border-color: #bfe2db;
    box-shadow: 0 0 0 .2rem rgba(14, 74, 69, .08);
}

.settings-page .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa19b;
    width: 18px;
    height: 18px;
}

.btn-theme {
    background: var(--theme);
    border: 0;
    color: #fff;
    border-radius: .5rem;
    padding: .45rem 1.2rem;
    font-size: var(--text-sm);
}

.btn-theme:hover {
    background: var(--theme-500);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}


.theme-container {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dcdee3;
    padding: 24px;
    color: var(--theme);
}

.form-label {
    font-size: var(--text-sm);
    color: var(--theme);
}

.cinput {
    background: #f6fbfa;
    border: 1px solid #e6f2ef;
    padding-inline: 6px;
    border-radius: 6px;
    height: 40px;
    font-size: var(--text-sm);
    appearance: auto;
    /* restores native arrow */
    -webkit-appearance: auto;
    /* for Safari */
    -moz-appearance: auto;
}

.cinput::placeholder {
    color: #588867;
    font-size: var(--text-xs);
}

.cinput:focus {
    border-color: #bfe2db;
    box-shadow: 0 0 0 .2rem rgba(14, 74, 69, .08);
}

/* Booking History Table */
.theme-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.theme-table thead {
    background: #f8faf9;
}

.theme-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--theme);
    border-bottom: 2px solid #e6f2ef;
}

.theme-table tbody tr {
    border-bottom: 1px solid #f0f4f3;
    transition: background-color 0.2s;
}

.theme-table tbody tr:hover {
    background: #f9fcfb;
}

.theme-table tbody tr:last-child {
    border-bottom: none;
}

.theme-table td {
    padding: 14px 16px;
    font-size: var(--text-sm);
    color: #334d47;
    border-bottom: 1px solid #e6ebea;
}

.theme-table .booking-id {
    font-weight: 400;
    color: var(--theme);
}

.badge-type {
    display: inline-block;
    border: 1px solid #d8e0de;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.badge-package {
    background: #fef3c7;
    color: #92400e;
}

.badge-therapy {
    background: #dbeafe;
    color: #1e40af;
}

.badge-room {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: lowercase;
}

.badge-pending {
    background-color: #fff;
    color: #000;
    border: 1px var(--muted) solid;
}

.badge-completed {
    background: var(--theme);
    color: #fff;
}

.badge-ongoing {
    background: #e3eae6;
    color: var(--theme);
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8faf9;
    color: var(--theme);
    border: 1px solid #c2c7c6;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view:hover {
    background: var(--theme-100);
    color: var(--theme-600);
    border-color: #bfe2db;
}

.btn-view i {
    font-size: 0.9rem;
}

#policyText {
    opacity: 0.7;
}

.modal-title {
    color: var(--theme);
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-subtitle {
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    margin-top: 0.25rem;
    margin-bottom: 0rem;
}

.section-title {
    color: var(--theme);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.info-label {
    color: #6c757d;
    font-size: var(--text-xs);
    margin-bottom: 0.25rem;
}

.info-value {
    color: var(--theme);
    font-size: var(--text-sm);
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.booking-type-badge {
    display: inline-block;
    padding: 0.1rem 0.7rem;
    border: 1px solid #6c757d;
    border-radius: 5px;
    font-size: var(--text-xs);
    color: #212529;
    background-color: white;
}

.status-badge {
    background-color: var(--theme);
    color: white;
    padding: 0.1rem 0.7rem;
    border-radius: 8px;
    font-size: var(--text-xs);
    display: inline-block;
}

.uploaded-docs-title {
    color: var(--theme);
    font-size: var(--text-sm);
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.document-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    margin-bottom: 0.5rem;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.document-icon {
    font-size: 1.75rem;
    color: #6c757d;
}

.document-name {
    font-size: 1rem;
    color: var(--theme);
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.document-meta {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid #dee2e6;
    background-color: white;
    color: var(--theme);
    border-radius: 4px;
    font-size: var(--text-sm);
}

.btn-download:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.variant-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.variant-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.variant-title {
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.btn-remove-variant {
    color: var(--theme);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.btn-remove-variant:hover {
    scale: 1.1;
    transition: all 0.3s ease;
}

.day-section {
    background: var(--theme-light);
    border-radius: 8px;
    padding: 1rem;
    padding-bottom: 0;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem 0.75rem -0.5rem;
}

.day-header:hover {
    background: rgba(26, 95, 95, 0.05);
    border-radius: 6px;
}

.day-title {
    color: var(--theme-primary);
    font-weight: 600;
    margin: 0;
}

.inclusion-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-add-item {
    border: 1px dashed var(--theme-primary);
    color: var(--theme-primary);
    background: white;
    padding: 0.5rem;
    border-radius: 6px;
    width: 100%;
    font-size: 0.875rem;
}

.btn-add-item:hover {
    background: var(--theme-light);
}

.btn-delete-item {
    color: #dc3545;
    border: 1px solid #ffcdd2;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.btn-delete-item:hover {
    background: #ffebee;
}

.number-input-group {
    position: relative;
}

.number-controls {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.number-btn {
    background: var(--theme-primary);
    color: white;
    border: none;
    width: 20px;
    height: 16px;
    border-radius: 3px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.number-btn:hover {
    background: var(--theme-secondary);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapse-content.show {
    max-height: 2000px;
}

#variantsContainer:empty::after {
    content: "No variants added yet. Click 'Add Variant' to create one.";
    display: block;
    text-align: center;
    color: #6c757d;
    padding: 2rem;
    font-style: italic;
}

#policyTextarea {
    width: 100%;
    height: 400px;
    padding: 12px;
    font-size: 15px;
    line-height: 1.6;
    border: 1px solid #d7ebea;
    border-radius: 6px;
    background: #fff;
    color: #1b3e3b;
    resize: vertical;
    outline: none;
}


.user-role-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
}

.user-role-option:hover {
    border-color: var(--theme);
    background-color: #fff;
}

.user-role-option input[type="radio"]:checked~.role-title {
    color: var(--theme);
    font-weight: 600;
}

.user-role-option input[type="radio"]:checked {
    border-color: var(--theme);
    background-color: #fff;
    accent-color: var(--theme);
}

.user-role-option input[type="radio"] {
    width: 0.8rem;
    height: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.role-title {
    margin: 0;
    /* font-size: 0.95rem; */
    transition: all 0.2s ease;
    line-height: 1;
}

.role-buttons-group {
    display: flex;
    gap: 0.75rem;
    font-size: var(--text-sm);
    flex-wrap: nowrap;
}

.qualification-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.helper-text {
    font-size: var(--text-xs);
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.day-checkbox {
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
    gap: 0.5rem;
    color: var(--theme);
}

.day-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.time-input {
    width: 100%;
}

.additional-fields {
    display: none;
}

.additional-fields.show {
    display: block;
}

.form-check-input {
    width: 2rem !important;
    height: 1.4em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--theme);
    border-color: var(--theme);
}

.light-green {
    background-color: #d3e5d4;
    color: var(--theme);
    border-radius: 8px;
    padding: 3px 7px;
}

.dark-green {
    background-color: var(--theme);
    color: white;
    border-radius: 8px;
    padding: 3px 7px;
}

.light-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #dbeafe;
    color: rgb(103, 190, 224);
    border-radius: 50%;
    font-size: 18px;
}

.light-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f3e8ff;
    color: #9810fa;
    border-radius: 50%;
    font-size: 18px;
}

.light-greens {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #dcfce7;
    color: #00a63e;
    border-radius: 50%;
    font-size: 18px;
}

.circle {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #6c757d !important;
    border-radius: 50% !important;
}

.circle-assigned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #00a63e !important;
    color: #00a63e;
    border-radius: 50%;
}

#panel-photos {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.photo-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-item .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.photo-item .remove-btn:hover {
    background: rgba(220, 53, 69, 1);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

#fileInput {
    display: none;
}

.thumbnail-display {
    position: relative;
    width: 250px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #4CAF50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumbnail-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.thumbnail-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.thumbnail-remove:hover {
    background: rgba(244, 67, 54, 1);
}
/* Tab S
tyles */
.va-tabs {
    display: flex;
    border-bottom: 2px solid var(--muted);
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.va-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.va-tab:hover {
    color: var(--theme);
    background-color: var(--theme-100);
}

.va-tab.active {
    color: var(--theme);
    border-bottom-color: var(--theme);
    background-color: var(--theme-100);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Ensure meal plans panel is properly styled */
#panel-meal-plans {
    min-height: 400px;
}

#panel-meal-plans .theme-container {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#panel-meal-plans .theme-table {
    width: 100%;
    border-collapse: collapse;
}

#panel-meal-plans .theme-table th,
#panel-meal-plans .theme-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--muted);
}

#panel-meal-plans .theme-table th {
    background-color: var(--theme-100);
    font-weight: 600;
    color: var(--theme);
}

.badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 500;
}

.badge-completed {
    background-color: #dcfce7;
    color: #166534;
}

.badge-cancelled {
    background-color: #fef2f2;
    color: #dc2626;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    background-color: var(--theme-100);
    color: var(--theme);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view:hover {
    background-color: var(--theme);
    color: white;
}

.btn-theme {
    background-color: var(--theme);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-theme:hover {
    background-color: var(--theme-600);
    color: white;
}/
* Hide any debug alerts */
.alert:has-text("Debug:"),
.alert[class*="debug"],
div:has-text("Debug: Found") {
    display: none !important;
}

/* Alternative approach - hide alerts containing debug text */
.alert {
    &:has-text("Debug") {
        display: none !important;
    }
}