@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.85rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;

    --gold-primary: #C5A059;
    --gold-hover: #D4AF37;
    --color-primary: #C5A059;
    --color-primary-dark: #A07A3E;
    --color-primary-light: #E8D5B7;
    --color-primary-lighter: #F5EDE0;

    --color-accent: #1B4965;
    --color-accent-dark: #0D2C40;
    --color-accent-light: #2C6E8A;

    --color-success: #3D8B5E;
    --color-success-light: #E8F5EE;
    --color-warning: #D4930A;
    --color-warning-light: #FDF3E0;
    --color-danger: #C0392B;
    --color-danger-light: #FCEAE8;
    --color-info: #2471A3;
    --color-info-light: #E8F0FA;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    --transition-fast: 0.2s ease;
    --transition-base: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);

    --sidebar-width: 260px;
    --header-height: 64px;
    --max-content-width: 1200px;
    --section-padding: 100px 0;
    --container-width: 1200px;
}

[data-theme="light"],
:root {
    --bg-primary: #FAF9F6;
    --bg-alt: #F3F1E9;
    --text-primary: #1A1A1A;
    --text-secondary: #4D4D4D;
    --nav-bg: rgba(250, 249, 246, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-base: 0 10px 30px rgba(0, 0, 0, 0.05);

    --color-bg: #FAF9F6;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F3F1E9;
    --color-border: rgba(0, 0, 0, 0.12);
    --color-border-light: rgba(0, 0, 0, 0.06);
    --color-text: #1A1A1A;
    --color-text-secondary: #4D4D4D;
    --color-text-muted: #8A8A8A;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 30px 70px rgba(197, 160, 89, 0.15);
    --shadow-gold: 0 0 40px rgba(197, 160, 89, 0.25);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 100px;

    --transition-base: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);

    --z-sidebar: 1000;
    --z-modal: 1500;
    --z-overlay: 1400;
    --z-toast: 2000;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] {
    --bg-primary: #0A0A0A;
    --bg-alt: #121212;
    --text-primary: #F2F2F2;
    --text-secondary: #A0A0A0;
    --nav-bg: rgba(10, 10, 10, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-base: 0 20px 50px rgba(0, 0, 0, 0.5);

    --color-bg: #0A0A0A;
    --color-surface: #1A1A1A;
    --color-surface-alt: #121212;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.06);
    --color-text: #F2F2F2;
    --color-text-secondary: #A0A0A0;
    --color-text-muted: #6A6A6A;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--gold-hover);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-2xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

h5,
h6 {
    font-size: var(--text-md);
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

small {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

strong {
    font-weight: 600;
    color: var(--color-text);
}

.text-gold {
    color: var(--gold-primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

input:disabled,
select:disabled,
textarea:disabled {
    background-color: var(--color-surface-alt);
    cursor: not-allowed;
    opacity: 0.7;
}

label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button,
.btn {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

button:hover,
.btn:hover {
    background-color: var(--color-surface-alt);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.15);
}

.btn-primary,
button[type="submit"] {
    background: linear-gradient(135deg, var(--gold-primary), var(--color-primary-dark));
    color: white;
    border-color: var(--gold-primary);
}

.btn-primary:hover,
button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold-primary));
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.btn-accent {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 73, 101, 0.3);
}

.btn-danger,
.danger-btn {
    background-color: var(--color-danger);
    color: white;
    border-color: var(--color-danger);
}

.btn-danger:hover,
.danger-btn:hover {
    background-color: #A5281C;
    border-color: #A5281C;
    transform: translateY(-2px);
}

.btn-success,
.save-btn {
    background-color: var(--color-success);
    color: white;
    border-color: var(--color-success);
}

.btn-success:hover,
.save-btn:hover {
    background-color: #2F6F49;
    border-color: #2F6F49;
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.btn-ghost:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: var(--color-primary-lighter);
}

.btn--glass {
    background-color: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn--glass:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-small,
.btn-sm {
    padding: 6px 12px;
    font-size: var(--text-xs);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

thead th {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    background-color: var(--color-surface-alt);
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
}

tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    vertical-align: middle;
}

tbody tr {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: fadeInUpLuxury 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

tbody tr:nth-child(1) {
    animation-delay: 0.05s;
}

tbody tr:nth-child(2) {
    animation-delay: 0.10s;
}

tbody tr:nth-child(3) {
    animation-delay: 0.15s;
}

tbody tr:nth-child(4) {
    animation-delay: 0.20s;
}

tbody tr:nth-child(5) {
    animation-delay: 0.25s;
}

tbody tr:nth-child(6) {
    animation-delay: 0.30s;
}

tbody tr:nth-child(7) {
    animation-delay: 0.35s;
}

tbody tr:nth-child(8) {
    animation-delay: 0.40s;
}

tbody tr:nth-child(9) {
    animation-delay: 0.45s;
}

tbody tr:nth-child(n+10) {
    animation-delay: 0.50s;
}

tbody tr:hover {
    background-color: var(--color-primary-lighter);
    transform: translateX(4px);
    box-shadow: -4px 0 0 var(--gold-primary);
}

tbody tr:last-child td {
    border-bottom: none;
}

@keyframes fadeInUpLuxury {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.card,
.card-box,
.stat-card,
.report-section {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    animation: fadeInUpLuxury 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.stats-grid>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stats-grid>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stats-grid>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stats-grid>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stats-grid>*:nth-child(n+5) {
    animation-delay: 0.5s;
}

.card:hover,
.card-box:hover,
.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px) scale(1.01);
    border-color: var(--gold-primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: 20px;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.badge-confirmed,
.status-confirmed,
.booking-status.confirmed {
    background-color: var(--color-success-light);
    color: var(--color-success);
}

.badge-pending,
.status-pending,
.booking-status.pending {
    background-color: var(--color-warning-light);
    color: var(--color-warning);
}

.badge-cancelled,
.status-cancelled,
.booking-status.cancelled {
    background-color: var(--color-danger-light);
    color: var(--color-danger);
}

.badge-completed,
.status-completed,
.booking-status.completed {
    background-color: var(--color-info-light);
    color: var(--color-info);
}

.modal,
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    animation: fadeIn 0.4s ease forwards;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.4s ease forwards;
}

.modal-content,
.modal-box,
.modal-container {
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border-light);
    animation: modalReveal 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border-light);
}

.modal-footer,
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    margin-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-primary-light);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar .nav-list,
.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar .nav-list li a,
.sidebar nav ul li,
.sidebar .nav-item,
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 11px 14px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: var(--transition-base);
    margin-bottom: 2px;
    cursor: pointer;
}

.sidebar .nav-list li a:hover,
.sidebar nav ul li:hover,
.sidebar .nav-item:hover,
.sidebar nav a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gold-primary);
    transform: translateX(8px);
    letter-spacing: 0.02em;
}

.sidebar .nav-list li a.active,
.sidebar .nav-item.active,
.sidebar nav a.active {
    background-color: rgba(197, 160, 89, 0.15);
    color: #fff;
    border-left: 3px solid var(--gold-primary);
    box-shadow: inset 40px 0 60px -40px rgba(197, 160, 89, 0.4);
}

.top-bar,
.top-header,
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-light);
}

.dashboard-wrapper,
.dashboard-layout,
.app-container,
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--color-bg);
}

.main-content {
    flex: 1;
    padding: var(--space-xl) var(--space-2xl);
    overflow-x: hidden;
}

.stats-grid,
.stats-cards,
.stats-container,
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card,
.metric-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.stat-card:hover,
.metric-card:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold-primary);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.stat-card h3,
.metric-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.stat-number,
.stat-card p:first-of-type {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
}

.trend.up {
    color: var(--color-success);
    font-weight: 600;
    font-size: var(--text-sm);
}

.trend.down {
    color: var(--color-danger);
    font-weight: 600;
    font-size: var(--text-sm);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-header h2 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.admin-theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease;
}

.admin-theme-btn:hover {
    background: rgba(197, 160, 89, 0.25);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.35);
}

.admin-theme-btn .material-symbols-rounded {
    font-size: 20px;
    line-height: 1;
    user-select: none;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    transition: var(--transition-base);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .nav-link,
[data-theme="light"] .nav-menu a {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.navbar--scrolled {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1.2rem 2rem;
    gap: 1.25rem;
}

.navbar .nav-container {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: flex-start;
}

.navbar .nav-menu {
    flex: 1 1 auto;
    justify-content: center;
    gap: 2rem;
    min-width: 0;
}

.navbar .nav-actions {
    margin-left: auto;
}

.navbar .logo,
.nav-container .logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: none;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition-base);
}

[data-theme="dark"] .logo img {
    filter: brightness(1.2) contrast(1.1);
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-link,
.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link::after,
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.nav-buttons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-buttons .btn {
    white-space: nowrap;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.theme-toggle:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

[data-theme="light"] .moon-icon {
    display: block;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--gold-primary);
    color: white;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.4);
}

.btn--outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.05);
    transform: translateY(-2px);
}

.btn--danger {
    background-color: #e53e3e;
    color: white;
    border: 1px solid #e53e3e;
}

.btn--danger:hover {
    background-color: #c53030;
    border-color: #c53030;
    transform: translateY(-2px);
}

.btn--small {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
}

.main-footer,
.footer,
footer {
    background-color: var(--bg-alt);
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 100%;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 80px;
    padding: 0 var(--space-xl);
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .footer-logo,
.footer-logo {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.footer-group h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-group li {
    margin-bottom: 1rem;
}

.footer-group a,
.footer a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-group a:hover,
.footer a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .credit {
    color: var(--text-secondary);
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: var(--text-md);
}

.controls-section,
.action-bar,
.section-filters,
.filters {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
    padding: var(--space-md);
    background-color: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border-light);
}

.search-bar,
.search-input {
    flex: 1;
    min-width: 200px;
}

.filter-dropdown {
    min-width: 160px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-md);
}

.form-group label {
    margin-bottom: var(--space-xs);
}

.form-grid,
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.hidden {
    display: none !important;
}

.review-photos {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 10px 0 4px;
}
.review-photo-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    cursor: pointer;
    opacity: 0.88;
    transition: opacity 0.2s, transform 0.2s;
    display: block;
}
.review-photo-thumb:hover {
    opacity: 1;
    transform: scale(1.07);
}

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

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

.mt-1 {
    margin-top: var(--space-md);
}

.mt-2 {
    margin-top: var(--space-xl);
}

.mb-1 {
    margin-bottom: var(--space-md);
}

.mb-2 {
    margin-bottom: var(--space-xl);
}

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

.page-title {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.page-title h1 {
    font-size: var(--text-3xl);
    color: var(--color-text);
}

.page-title p {
    font-size: var(--text-md);
    color: var(--color-text-muted);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-hover));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9998;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.btn-primary,
.btn-action,
.save-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary:active,
.btn-action:active {
    transform: scale(0.95);
}

.editorial-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    :root {
        --text-3xl: 1.8rem;
        --text-2xl: 1.5rem;
        --text-xl: 1.25rem;
        --sidebar-width: 100%;
        --section-padding: 60px 0;
    }

    .dashboard-wrapper,
    .dashboard-layout,
    .app-container,
    .layout-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border-light);
    }

    .main-content {
        padding: var(--space-lg);
    }

    .stats-grid,
    .stats-cards,
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .controls-section,
    .action-bar,
    .section-filters {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {

    .stats-grid,
    .stats-cards,
    .stats-container {
        grid-template-columns: 1fr;
    }

    .modal-content,
    .modal-box,
    .modal-container {
        width: 95%;
        padding: var(--space-lg);
    }
}

.toast,
.notification {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: slideIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.toast.success,
.notification-success {
    background-color: var(--color-success);
    color: white;
}

.toast.error,
.notification-error {
    background-color: var(--color-danger);
    color: white;
}

.toast.info,
.notification-info {
    background-color: var(--color-info);
    color: white;
}

.table-container,
.table-wrapper {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

::selection {
    background-color: rgba(197, 160, 89, 0.25);
    color: var(--color-text);
}

:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

.section {
    padding: var(--section-padding);
}

.bg-alt {
    background-color: var(--bg-alt);
}

 .user-profile-menu  {
         position:  relative;
         display:  flex;
         align-items:  center;
         gap:  12px;
         cursor:  pointer;
         padding:  6px 16px;
         border-radius:  30px;
         background:  var(--glass-bg);
         border:  1px solid var(--glass-border);
         transition:  var(--transition-base);

}

 .user-profile-menu:hover  {
         background:  rgba(197,  160,  89,  0.1);
         border-color:  var(--gold-primary);

}

 .user-profile-menu .profile-pic  {
         width:  32px;
         height:  32px;
         border-radius:  50%;
         object-fit:  cover;
         border:  2px solid var(--gold-primary);

}

 .user-profile-menu .username  {
         font-weight:  600;
         font-size:  var(--text-sm);
         color:  var(--color-text);

}

 .user-profile-menu .dropdown-content  {
         position:  absolute;
         top:  120%;
         right:  0;
         width:  200px;
         background:  var(--color-surface);
         border:  1px solid var(--color-border);
         border-radius:  var(--radius-md);
         box-shadow:  var(--shadow-lg);
         opacity:  0;
         visibility:  hidden;
         transform:  translateY(10px);
         transition:  var(--transition-base);
         display:  flex;
         flex-direction:  column;
         overflow:  hidden;
         z-index:  2000;

}

 .user-profile-menu:hover .dropdown-content  {
         opacity:  1;
         visibility:  visible;
         transform:  translateY(0);

}

 .user-profile-menu .dropdown-content a  {
         padding:  12px 16px;
         color:  var(--color-text);
         font-size:  var(--text-sm);
         border-bottom:  1px solid var(--color-border-light);
         display:  flex;
         align-items:  center;
         gap:  10px;

}

 .user-profile-menu .dropdown-content a:last-child  {
         border-bottom:  none;
         color:  var(--color-danger);

}

 .user-profile-menu .dropdown-content a:hover  {
         background:  var(--color-primary-lighter);
         color:  var(--gold-primary);
         padding-left:  20px;

}

.page-shell {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background-color: var(--bg-primary);
}

.page-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--bg-alt);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) transparent;
    z-index: 100;
    transition: var(--transition-base);
}

.page-sidebar::-webkit-scrollbar {
    width: 4px;
}

.page-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--gold-primary);
    border-radius: 10px;
}

.page-sidebar .sidebar-brand {
    margin-bottom: var(--space-2xl);
    padding-left: var(--space-sm);
}

.page-sidebar .sidebar-brand img {
    height: 40px;
    width: auto;
}

.page-sidebar .sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.page-sidebar .nav-group .group-label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.page-sidebar .sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-sidebar .sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 11px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: var(--transition-base);
    text-decoration: none;
}

.page-sidebar .sidebar-nav ul li a i {
    width: 18px;
    text-align: center;
    color: var(--gold-primary);
    opacity: 0.8;
}

.page-sidebar .sidebar-nav ul li a:hover {
    background: rgba(197, 160, 89, 0.08);
    color: var(--gold-primary);
    transform: translateX(6px);
}

.page-sidebar .sidebar-nav ul li.active>a {
    background: var(--gold-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.page-sidebar .sidebar-nav ul li.active>a i {
    color: white;
    opacity: 1;
}

.page-sidebar .sidebar-footer {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.page-sidebar .sidebar-footer .theme-toggle-btn {
    width: 100%;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.page-sidebar .sidebar-footer .logout-link {
    font-size: var(--text-sm);
    color: var(--color-danger);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.page-sidebar .sidebar-footer .logout-link:hover {
    background: rgba(192, 57, 43, 0.06);
}

.page-content {
    flex: 1;
    overflow-y: auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .page-shell {
        flex-direction: column;
    }

    .page-sidebar {
        width: 100%;
        height: auto;
        min-height: auto;
        position: relative;
        flex-direction: row;
        padding: var(--space-sm) var(--space-md);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .page-sidebar .sidebar-brand,
    .page-sidebar .nav-group .group-label,
    .page-sidebar .sidebar-footer {
        display: none;
    }

    .page-sidebar .sidebar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: var(--space-sm);
    }

    .page-sidebar .sidebar-nav ul {
        display: flex;
        flex-direction: row;
        gap: 4px;
    }

    .page-sidebar .sidebar-nav ul li a {
        padding: 8px 12px;
        white-space: nowrap;
    }
}

.page-shell {
    display: flex !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
}

.page-sidebar {
    flex-shrink: 0 !important;
    width: 260px !important;
    height: 100vh !important;
    overflow-y: auto !important;
}

.page-content {
    flex: 1 !important;
    height: 100vh !important;
    overflow-y: auto !important;
    min-width: 0 !important;

    scrollbar-gutter: stable;
}

.page-content .main-footer,
.page-content footer {

    margin-top: 80px;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin-left: 0;
    margin-right: 0;

    display: block;

    overflow: visible;
}

.user-profile-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(197,160,89,0.3);
    background: rgba(197,160,89,0.07);
    transition: all 0.3s ease;
}
.user-profile-menu:hover {
    background: rgba(197,160,89,0.14);
    border-color: var(--gold-primary);
}
.user-profile-menu .username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    flex-shrink: 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    z-index: 9999;
    animation: dropdownReveal 0.2s ease;
}
.user-profile-menu:hover .dropdown-content,
.user-profile-menu:focus-within .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-content a:hover {
    background: rgba(197,160,89,0.1);
    color: var(--gold-primary);
}
.dropdown-content a i {
    width: 16px;
    text-align: center;
    color: var(--gold-primary);
}
@keyframes dropdownReveal {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.admin-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(197,160,89,0.1);
    border: 1px solid rgba(197,160,89,0.3);
}
.admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}
.admin-user-chip span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}
.admin-logout-btn {
    color: var(--color-text-muted) !important;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.admin-logout-btn:hover {
    color: #C0392B !important;
}

.login-gate-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 8px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #C0392B;
    font-size: 0.85rem;
    font-weight: 500;
    animation: toastShake 0.4s ease;
}
.login-gate-toast a {
    color: var(--gold-primary);
    font-weight: 700;
    text-decoration: underline;
}

.login-required-modal .login-required-message {
    margin: 0 0 var(--space-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    text-align: center;
}

.login-required-modal .modal-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    margin: 0;
    font-size: var(--text-xl);
}

.login-required-modal .modal-header h2 i {
    color: var(--gold-primary);
}

@keyframes toastShake {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    color: var(--text-primary);
}

.account-chip[hidden] {
    display: none !important;
}

.account-chip__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, var(--gold-primary), var(--color-primary-dark));
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
    flex: 0 0 auto;
}

.account-chip__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-chip__label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-chip__name {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.1;
}

.account-chip--sidebar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: var(--space-md);
    padding: 12px 14px;
    gap: 10px;
    background: rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.18);
}

.account-chip--sidebar .account-chip__avatar {
    width: 34px;
    height: 34px;
}

.account-chip--sidebar > div:not(.account-chip__avatar) {
    min-width: 0;
}

.account-chip--sidebar .account-chip__label {
    font-size: 9px;
    letter-spacing: 0.06em;
}

.account-chip--sidebar .account-chip__name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-title:has(.account-chip),
.main-header:has(.account-chip) {
    position: relative;
    padding-right: 260px;
}

.page-title .account-chip,
.main-header .account-chip {
    position: absolute;
    top: var(--space-md);
    right: var(--space-xl);
    margin: 0;
}

@media (max-width: 900px) {
    .page-title:has(.account-chip),
    .main-header:has(.account-chip) {
        padding-right: 0;
    }

    .page-title .account-chip,
    .main-header .account-chip {
        position: static;
        margin-top: var(--space-md);
    }
}

body.info-page,
body.info-page a,
body.info-page button {
    cursor: auto;
}

body.info-page a,
body.info-page button,
body.info-page .btn,
body.info-page .theme-toggle,
body.info-page input,
body.info-page textarea,
body.info-page select {
    cursor: pointer;
}

body.info-page input[type="text"],
body.info-page input[type="email"],
body.info-page input[type="search"],
body.info-page textarea {
    cursor: text;
}

body.info-page .page-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

body.info-page .page-title .hero-title,
body.info-page .page-title .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.luxury-aesthetic .theme-toggle {
    cursor: none;
}

body.luxury-aesthetic .modal-overlay,
body.luxury-aesthetic .modal-overlay * {
    cursor: auto;
}

body.luxury-aesthetic .modal-overlay button,
body.luxury-aesthetic .modal-overlay a,
body.luxury-aesthetic .modal-overlay .btn {
    cursor: pointer !important;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-shrink: 0;
    color: var(--text-primary);
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger-btn.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger-btn.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay,
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.sidebar-overlay.active,
.mobile-nav-overlay.active { display: block; }

.mobile-topbar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}
.mobile-topbar__brand img { height: 30px; width: auto; }

.mobile-account-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 4px;
    padding: 5px 10px;
    border-radius: var(--radius-lg);
    background: rgba(197,160,89,0.08);
    border: 1px solid rgba(197,160,89,0.2);
    flex-shrink: 0;
}
.mobile-account-chip__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold-primary), #8b6914);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}
.mobile-account-chip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mobile-account-chip__info { display: flex; flex-direction: column; }
.mobile-account-chip__label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    font-weight: 700;
}
.mobile-account-chip__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .hamburger-btn { display: flex; }
    .mobile-topbar { display: flex; }

    .page-title .account-chip,
    .main-header .account-chip { display: none !important; }
    .page-title:has(.account-chip),
    .main-header:has(.account-chip) { padding-right: 0 !important; }

    .page-shell {
        flex-direction: row !important;
        height: 100vh !important;
        overflow: hidden !important;
    }

    .page-sidebar {
        position: fixed !important;
        left: -280px !important;
        top: 0 !important;
        height: 100vh !important;
        width: 260px !important;
        min-width: 260px !important;
        z-index: 1000 !important;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1) !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        padding: var(--space-xl) var(--space-lg) !important;
    }
    .page-sidebar.sidebar--open { left: 0 !important; }

    .page-sidebar .sidebar-brand,
    .page-sidebar .nav-group .group-label,
    .page-sidebar .sidebar-footer { display: block !important; }

    .page-sidebar .sidebar-nav {
        flex-direction: column !important;
        gap: var(--space-xl) !important;
    }
    .page-sidebar .sidebar-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .page-sidebar .sidebar-nav ul li a {
        padding: 11px 16px !important;
        white-space: normal !important;
        justify-content: flex-start !important;
    }
    .page-sidebar .sidebar-nav ul li a span { display: inline !important; }
    .page-sidebar .sidebar-nav ul li a i {
        font-size: 1rem !important;
        width: 18px !important;
    }

    .page-content {
        width: 100vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        flex: 1 !important;
        scrollbar-gutter: stable;
        padding-top: 58px !important;
    }

    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        width: 260px;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }
    .dashboard-sidebar.sidebar--open { left: 0; }
    .dashboard-shell { overflow: hidden; }

    .dashboard-main {
        height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding-top: 58px;
    }

    .page-content .main-footer {
        margin-top: 40px !important;
        padding: 50px 1.25rem 30px !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .page-content .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 30px !important;
    }
    .page-content .footer-logo { font-size: 1.6rem !important; margin-bottom: 1rem !important; }
    .page-content .footer-nav { grid-template-columns: repeat(2,1fr) !important; gap: 1.5rem !important; }
    .page-content .footer-group h4 { font-size: 1rem !important; margin-bottom: 1rem !important; }
    .page-content .footer-bottom {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
        padding-top: 20px !important;
    }

    .dashboard-main .main-footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 40px 1.25rem 24px !important;
        box-sizing: border-box;
    }
    .dashboard-main .main-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 30px !important;
    }
    .dashboard-main .main-footer .footer-logo { font-size: 1.6rem !important; margin-bottom: 1rem !important; }
    .dashboard-main .main-footer .footer-nav { grid-template-columns: repeat(2,1fr) !important; gap: 1.5rem !important; }
    .dashboard-main .main-footer .footer-group h4 { font-size: 1rem !important; margin-bottom: 1rem !important; }
    .dashboard-main .main-footer .footer-bottom {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
        padding-top: 20px !important;
    }
}
