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

:root {
    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Outfit", "Segoe UI", Tahoma, Arial, sans-serif;
    --marble: #f8f7f5;
    --copper-dark: #a8734a;
    --radius-pill: 999px;
    --radius-lg: 20px;
    --bg: var(--marble);
    --radius: var(--radius-lg);
}

body {
    font-family: var(--font-sans);
    background-color: var(--marble);
}

body.page-shell:not(.page-dashboard) {
    background-image: none;
}

body.page-shell:not(.page-dashboard)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(198, 142, 101, 0.08), transparent 35%),
        radial-gradient(circle at 85% 10%, rgba(0, 59, 73, 0.05), transparent 40%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 243, 240, 0.96)),
        url("../las-bg.jpeg");
    background-size: cover, cover, cover, cover;
    background-position: center;
    filter: saturate(0.85) contrast(1.02);
}

.page-shell .page-content,
.page-shell > .container,
.page-shell > footer {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
.page-title,
.hero h2,
.auth-card h1,
.admin-nav-title,
.detail-highlights h2,
.announcement-card h3,
.section-card h3,
.admin-summary-card h3,
.settings-panel-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.page-title {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    color: var(--primary);
}

.page-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.55;
}

.brand {
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
}

.brand-text span {
    font-family: var(--font-sans);
    letter-spacing: 0.06em;
}

.brand-logo {
    border-radius: 8px;
    border: 2px solid rgba(198, 142, 101, 0.45);
    box-shadow: 0 4px 16px rgba(0, 59, 73, 0.12);
    object-fit: contain;
    object-position: center;
    background: #f3f2f0;
    padding: 3px;
    box-sizing: border-box;
}

.topbar {
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    box-shadow:
        0 24px 60px rgba(0, 59, 73, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.topbar-minimal {
    border: none;
    border-radius: var(--radius-lg);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    margin: 0 0 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.45);
    border: none;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 59, 73, 0.08);
}

.auth-card {
    border: none;
}

.auth-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: 0.04em;
}

.tabs {
    gap: 0.65rem;
    padding: 0.25rem;
    background: rgba(0, 59, 73, 0.04);
    border-radius: var(--radius-pill);
}

.tab {
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}

.tab:hover:not(.active) {
    background: rgba(198, 142, 101, 0.12);
    border-color: transparent;
}

.tab.active {
    box-shadow: 0 8px 20px rgba(0, 59, 73, 0.18);
}

input,
select,
textarea {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(198, 142, 101, 0.35);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1rem;
}

textarea {
    border-radius: var(--radius-lg);
}

label span {
    letter-spacing: 0.02em;
}

button:not(.secondary):not(.tab):not(.nav-drawer-toggle):not(.nav-drawer-close):not(.settings-toggle):not(.danger):not(.success),
.btn:not(.secondary) {
    border-radius: var(--radius-pill);
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, #d4a574, var(--accent));
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(198, 142, 101, 0.28);
}

button:not(.secondary):not(.tab):not(.nav-drawer-toggle):not(.nav-drawer-close):not(.settings-toggle):not(.danger):not(.success):hover,
.btn:not(.secondary):hover {
    background: linear-gradient(135deg, var(--accent), var(--copper-dark));
}

button.secondary,
.btn.secondary {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(198, 142, 101, 0.35);
    background: rgba(255, 255, 255, 0.75);
}

button.danger,
button.success {
    border-radius: var(--radius-pill);
}

.card-cta {
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #d4a574, var(--accent));
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(198, 142, 101, 0.22);
}

.card-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--copper-dark));
}

.section-card {
    border-radius: var(--radius-lg) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.section-icon {
    border-radius: 50%;
}

.profile-item,
.contact-item,
.branch-item,
.notification-item {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
}

.profile-item {
    border: none;
}

.contact-item {
    border: none;
}

.announcement-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 20px 50px rgba(0, 59, 73, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.announcement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 59, 73, 0.16);
}

.announcement-card-image {
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.announcement-detail-image {
    max-height: 440px;
    object-fit: cover;
    object-position: center 30%;
}

#luxury-nav-host:not(:empty) ~ .page-content .topbar,
.page-shell:has(#luxury-nav-host:not(:empty)) .topbar-minimal,
.page-shell:has(#luxury-nav-host:not(:empty)) .admin-topbar {
    display: none;
}

.page-shell:has(#luxury-nav-host:not(:empty)) .page-content > .container,
.page-shell:has(#luxury-nav-host:not(:empty)) .page-content > .admin-main-wrap {
    padding-top: 0.35rem;
}

.page-title {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.section-card {
    border: none !important;
}

.grid-4 .section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(0, 59, 73, 0.14);
}

.table-wrap {
    border-radius: var(--radius-lg);
    border: none;
}

th {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.stat-pill {
    border-color: rgba(198, 142, 101, 0.3);
    background: rgba(255, 255, 255, 0.72);
}

.hero {
    border-radius: var(--radius-lg);
    font-family: var(--font-serif);
}

.hero h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.admin-nav {
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.admin-nav-link {
    border-radius: var(--radius-pill);
}

.admin-nav-link.active {
    border-inline-start: 3px solid var(--accent);
    background: rgba(198, 142, 101, 0.1);
}

.admin-nav-home {
    border-radius: var(--radius-pill);
}

.admin-summary-card {
    border-radius: var(--radius-lg);
}

.nav-drawer-toggle {
    border-radius: 50%;
    border: 2px solid rgba(198, 142, 101, 0.45);
}

.nav-drawer-panel {
    border-inline-start: 4px solid var(--accent);
}

.nav-drawer-link {
    border-radius: var(--radius-pill);
}

.nav-drawer-user {
    font-family: var(--font-serif);
}

.settings-toggle {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(198, 142, 101, 0.45);
    background: rgba(255, 255, 255, 0.75);
}

.settings-panel {
    border-radius: var(--radius-lg);
}

.settings-options .secondary {
    border-radius: var(--radius-pill);
}

.modal {
    backdrop-filter: blur(8px);
}

.modal-card {
    border: none;
}

.alert {
    border-radius: var(--radius-lg);
}

.site-footer {
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: 0.03em;
}

.site-footer strong {
    font-style: normal;
    letter-spacing: 0.08em;
}

.page-dashboard .card,
.page-dashboard .section-card,
.page-dashboard .topbar-minimal {
    border: none;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 59, 73, 0.1);
}

.page-dashboard .page-video-scrim {
    background:
        linear-gradient(180deg, rgba(0, 59, 73, 0.42) 0%, rgba(248, 247, 245, 0.82) 38%, rgba(248, 247, 245, 0.96) 100%);
}

.admin-portal-banner {
    border-radius: var(--radius-lg);
    border: none;
}

.announcement-detail-head {
    border-bottom-color: rgba(198, 142, 101, 0.2);
}

.detail-highlights li {
    border-radius: var(--radius-lg);
}

.luxury-deco-line {
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 1rem;
    border-radius: var(--radius-pill);
}

[data-theme="dark"] body.page-shell:not(.page-dashboard) {
    background-image: none;
}

[data-theme="dark"] {
    --marble: #101618;
    --bg: #0d1216;
}

[data-theme="dark"] body.page-shell:not(.page-dashboard)::before {
    filter: brightness(0.45) saturate(0.7);
}

[data-theme="dark"] .card,
[data-theme="dark"] .topbar,
[data-theme="dark"] .topbar-minimal,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .admin-nav,
[data-theme="dark"] .nav-drawer-panel {
    background: rgba(18, 26, 32, 0.92);
    border-color: rgba(198, 142, 101, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .section-card,
[data-theme="dark"] .profile-item,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .branch-item,
[data-theme="dark"] .notification-item,
[data-theme="dark"] .announcement-card,
[data-theme="dark"] .stat-pill {
    background: rgba(22, 30, 38, 0.94) !important;
}

[data-theme="dark"] button.secondary,
[data-theme="dark"] .btn.secondary,
[data-theme="dark"] .settings-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(198, 142, 101, 0.3);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(198, 142, 101, 0.25);
}

[data-theme="dark"] .page-dashboard .page-video-scrim {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 18, 22, 0.88) 45%, rgba(13, 18, 22, 0.96) 100%);
}

[data-theme="dark"] .page-dashboard .card,
[data-theme="dark"] .page-dashboard .section-card,
[data-theme="dark"] .page-dashboard .topbar-minimal {
    background: rgba(26, 34, 41, 0.55);
}

.card,
.topbar-minimal,
.auth-card,
.profile-item,
.contact-item,
.notification-item,
.branch-item,
.section-card,
.admin-summary-card,
.admin-stats-item,
.admin-portal-banner,
.page-dashboard .card,
.page-dashboard .section-card,
.page-dashboard .topbar-minimal,
.las-box-card,
.las-light-stage .las-box-card,
.table-wrap,
.nav-drawer-panel,
.stat-pill,
.announcement-card {
    border: none !important;
    border-top: none !important;
    border-inline-start: none !important;
}

html[dir="rtl"] {
    --font-serif: "Calibri", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-sans: "Calibri", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] button {
    font-family: var(--font-sans);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .page-title,
html[dir="rtl"] .hero h2,
html[dir="rtl"] .brand,
html[dir="rtl"] .admin-nav-title,
html[dir="rtl"] .announcement-card h3,
html[dir="rtl"] .section-card h3,
html[dir="rtl"] .admin-summary-card h3,
html[dir="rtl"] .home-auth-panel h2,
html[dir="rtl"] .lac-nav-brand-text strong {
    font-family: var(--font-serif);
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0;
}

html[dir="rtl"] .page-subtitle,
html[dir="rtl"] .auth-tagline,
html[dir="rtl"] .home-auth-note,
html[dir="rtl"] .site-footer {
    font-style: normal;
    font-weight: 600;
}
