/* ==========================================================================
   MAHBIRA DESIGN SYSTEM (VANILLA CSS)
   Colors, Typography, Keyframe Animations, Layout, Forms & Dashboard
   ========================================================================== */

:root {
    /* Color Palette */
    --color-herbal-dark: #0A110D;
    --color-herbal-green: #1F4A2E;
    --color-leaf-green: #3E7D3D;
    --color-gold: #C49F37;
    --color-gold-bright: #D2A727;
    --color-gold-light: #F3DF95;
    --color-cream: #FAF9F6;
    --color-text-muted: #A3B0A8;

    /* Semantic / Theme variables */
    --bg-dark: #090E0B;
    --bg-card: rgba(31, 74, 46, 0.15);
    --border-gold: rgba(196, 159, 55, 0.25);
    --border-gold-focus: rgba(210, 167, 39, 0.7);
    --font-serif: 'Cinzel', Georgia, serif;
    --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;

    /* Animation Timing */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */

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

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: var(--font-sans);
    color: var(--color-cream);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

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

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

/* ==========================================================================
   KEYFRAME ANIMATIONS & GLOWS
   ========================================================================== */

@keyframes floatParticle {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) translate(5%, 5%);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Background Glowing Orbs */
.bg-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 15s infinite ease-in-out;
}

.bg-glow-1 {
    background: radial-gradient(circle, rgba(31, 74, 46, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    background: radial-gradient(circle, rgba(196, 159, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

/* Floating Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    bottom: -10px;
    background: radial-gradient(circle, var(--color-gold-light) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: floatParticle infinite linear;
}

/* ==========================================================================
   COMING SOON VIEW LAYOUT
   ========================================================================== */

.coming-soon-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: space-between;
}

/* Header */
.main-header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    border: 1.5px solid var(--color-gold);
    border-radius: 50%;
    padding: 8px;
    background: rgba(9, 14, 11, 0.8);
    box-shadow: 0 0 25px rgba(196, 159, 55, 0.2);
    transition: var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(196, 159, 55, 0.4);
}

.brand-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

/* Main Content */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero Section */
.hero-section {
    max-width: 750px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.brand-title {
    font-family: var(--font-sans);
    font-size: 3rem;
    /* Large, prominent brand name */
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--color-cream);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
    text-indent: 0.35em;
    /* Fix offset from letter spacing */
    line-height: 1.15;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: var(--font-serif);
    /* Serif font for cohesive luxury styling */
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--color-gold);
    margin-bottom: 28px;
    text-transform: uppercase;
    text-indent: 0.28em;
    line-height: 1.5;
}

.gold-divider {
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto 28px;
}

.brand-intro {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    text-align: justify;
}

/* Countdown Timer */
.timer-container {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding: 15px 10px;
    border-radius: 12px;
    background: rgba(31, 74, 46, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.timer-value {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color-gold-light);
    line-height: 1.1;
    margin-bottom: 4px;
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 500;
}

.timer-divider {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-gold);
    opacity: 0.7;
    margin-top: -20px;
}

/* Newsletter Form Card */
.newsletter-card {
    width: 100%;
    max-width: 660px;
    padding: 35px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 55px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
    position: relative;
    z-index: 5;
    text-align: center;
    /* Center-align the badge and contents */
}

/* Pre-Launch Offer Badge & Pulse Keyframe */
.launch-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 159, 55, 0.12);
    border: 1px solid rgba(196, 159, 55, 0.35);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(196, 159, 55, 0.08);
}

.pulse-ring {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--color-gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(210, 167, 39, 0.7);
    animation: ringPulse 2s infinite;
}


@keyframes ringPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(210, 167, 39, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(210, 167, 39, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(210, 167, 39, 0);
    }
}

.newsletter-card h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-cream);
    margin-bottom: 8px;
}

.newsletter-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    text-align: justify;
}

/* Subscription Form Inputs */
.subscribe-form {
    width: 100%;
}

.form-group {
    display: flex;
    background: rgba(9, 14, 11, 0.7);
    border: 1px solid rgba(196, 159, 55, 0.35);
    border-radius: 50px;
    padding: 4px;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group:focus-within {
    border-color: var(--color-gold-bright);
    box-shadow: 0 0 15px rgba(210, 167, 39, 0.25);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 25px;
    color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    width: 100%;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: rgba(163, 176, 168, 0.55);
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-gold) 0%, #A48329 100%);
    border: none;
    color: var(--color-herbal-dark);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(196, 159, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    box-shadow: 0 6px 20px rgba(196, 159, 55, 0.4);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Stacked inputs and submit button layout */
.form-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-inputs-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.form-inputs-row .form-group {
    flex: 1;
}

.form-button-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-submit-stacked {
    background: linear-gradient(135deg, var(--color-gold) 0%, #A48329 100%);
    border: none;
    color: var(--color-herbal-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 14px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(196, 159, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    /* Center centered at half-width of combined input width */
    margin-top: 0;
}

.btn-submit-stacked:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    box-shadow: 0 6px 20px rgba(196, 159, 55, 0.4);
    transform: translateY(-1px);
}

.btn-submit-stacked:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--color-herbal-dark);
    border-radius: 50%;
    animation: spinSlow 0.8s linear infinite;
}

/* Form Collection Disclaimer */
.form-disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(245, 240, 227, 0.6);
    line-height: 1.4;
    text-align: center;
    font-weight: 300;
}

/* AJAX Feedback */
.feedback-msg {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.feedback-msg.success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.feedback-msg.error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.hidden {
    display: none !important;
}

/* Pillars Section */
.pillars-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
    margin-bottom: 50px;
    animation: fadeInUp 1.2s ease-out 0.8s both;
}

.pillar-card {
    background: rgba(31, 74, 46, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pillar-card:hover {
    background: rgba(31, 74, 46, 0.12);
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(196, 159, 55, 0.1);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin: 0 auto 16px;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
    color: var(--color-gold-light);
    transform: scale(1.1);
}

.pillar-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Footer styling */
.main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    animation: fadeInUp 1.2s ease-out 1s both;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(196, 159, 55, 0.4);
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--color-gold);
    color: var(--color-herbal-dark);
    transform: scale(1.08);
}

.copyright-text {
    font-size: 0.78rem;
    color: rgba(163, 176, 168, 0.5);
    letter-spacing: 0.05em;
}

.admin-link-wrapper {
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.admin-link-wrapper:hover {
    opacity: 0.85;
}

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

.admin-entrance:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   ADMIN LOGIN VIEW LAYOUT
   ========================================================================== */

.admin-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-dark);
}

.admin-login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.admin-login-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-gold);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.back-home {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.back-home:hover {
    color: var(--color-gold);
}

.admin-brand {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: 0.25em;
    color: var(--color-cream);
    margin-bottom: 4px;
    text-indent: 0.25em;
}

.admin-login-header h2 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-gold);
}

.gold-line {
    width: 60px;
    height: 1.5px;
    background: var(--color-gold);
    margin: 15px auto 0;
}

/* Form Groups */
.admin-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.admin-form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.admin-form-group input {
    background: rgba(9, 14, 11, 0.8);
    border: 1px solid rgba(196, 159, 55, 0.4);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.admin-form-group input:focus {
    border-color: var(--color-gold-bright);
    box-shadow: 0 0 12px rgba(210, 167, 39, 0.25);
}

.admin-form-group input::placeholder {
    color: rgba(163, 176, 168, 0.3);
}

.admin-form-group input.input-error {
    border-color: #ef4444;
}

.field-error-msg {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 6px;
    font-weight: 500;
}

/* Password Visibility Toggle */
.password-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px !important;
}

.toggle-password-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.toggle-password-btn:hover {
    color: var(--color-gold);
}

.toggle-password-btn:focus {
    outline: none;
    color: var(--color-gold-bright);
}


.btn-admin-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--color-gold) 0%, #A48329 100%);
    border: none;
    color: var(--color-herbal-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(196, 159, 55, 0.2);
}

.btn-admin-submit:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    box-shadow: 0 6px 20px rgba(196, 159, 55, 0.35);
}

/* Security Alerts */
.alert {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.alert-success {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.alert-danger {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   ADMIN DASHBOARD VIEW LAYOUT
   ========================================================================== */

.dashboard-body {
    background-color: var(--bg-dark);
    color: var(--color-cream);
    display: block;
}

.dashboard-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Navbar */
.dashboard-header {
    width: 100%;
    background: var(--color-herbal-dark);
    border-bottom: 1.5px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 35px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.dashboard-brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.db-brand-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-herbal-dark);
    background: var(--color-gold);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(196, 159, 55, 0.3);
}

.db-brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    line-height: 1.1;
    font-weight: 600;
}

.db-brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    font-weight: 500;
}

.dashboard-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.nav-btn-view {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
}

.nav-btn-view:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-cream);
}

.nav-btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.nav-btn-logout:hover {
    background: #ef4444;
    color: var(--color-herbal-dark);
}

/* Dashboard Content Grid */
.dashboard-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 30px;
}

.welcome-banner {
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out;
}

.welcome-banner h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.welcome-banner p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.metric-card {
    background: rgba(31, 74, 46, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.metric-icon-total {
    background: rgba(196, 159, 55, 0.1);
    color: var(--color-gold);
}

.metric-icon-today {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.metric-icon-week {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.metric-details {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1;
}

/* Table Card Layout */
.table-card {
    background: rgba(9, 14, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.table-card-header h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Search bar styling */
.search-form-db {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(196, 159, 55, 0.3);
    border-radius: 6px;
    padding: 2px;
    position: relative;
}

.search-form-db input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 12px;
    color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    width: 200px;
}

.search-form-db input::placeholder {
    color: rgba(163, 176, 168, 0.45);
}

.search-form-db button {
    background: transparent;
    border: none;
    color: var(--color-gold);
    padding: 6px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-form-db button:hover {
    color: var(--color-gold-light);
}

.clear-search-btn {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1;
    margin-right: 2px;
    padding: 2px;
}

.clear-search-btn:hover {
    color: #ef4444;
}

/* CSV Export Button */
.btn-export {
    background: var(--color-gold);
    color: var(--color-herbal-dark);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 10px 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(196, 159, 55, 0.15);
}

.btn-export:hover {
    background: var(--color-gold-light);
    box-shadow: 0 6px 20px rgba(196, 159, 55, 0.35);
}

/* Table styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.db-table th {
    background: rgba(31, 74, 46, 0.2);
    border-bottom: 1.5px solid var(--border-gold);
    padding: 14px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    font-weight: 600;
}

.db-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--color-cream);
}

.db-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.email-td,
.name-td {
    font-weight: 500;
    color: var(--color-cream);
}

/* Table Empty state */
.table-empty {
    text-align: center;
    padding: 50px 20px !important;
    color: var(--color-text-muted);
}

.empty-icon {
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: 15px;
}

.table-empty p {
    font-size: 0.95rem;
    font-weight: 400;
}

/* Custom Paginator components */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 159, 55, 0.35);
    color: var(--color-gold);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--color-gold);
    color: var(--color-herbal-dark);
    box-shadow: 0 4px 15px rgba(196, 159, 55, 0.15);
}

.pagination-btn.disabled {
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(163, 176, 168, 0.25);
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */

@media (max-width: 992px) {
    .brand-title {
        font-size: 3.2rem;
        letter-spacing: 0.3em;
        text-indent: 0.3em;
    }

    .brand-tagline {
        font-size: 0.95rem;
        letter-spacing: 0.22em;
        text-indent: 0.22em;
    }

    .pillars-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .brand-title {
        font-size: 2.3rem;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        line-height: 1.2;
    }

    .brand-tagline {
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        text-indent: 0.14em;
        line-height: 1.4;
    }

    .timer-container {
        gap: 12px;
    }

    .timer-block {
        min-width: 70px;
        padding: 10px 5px;
    }

    .timer-value {
        font-size: 1.85rem;
    }

    .timer-divider {
        font-size: 1.5rem;
        margin-top: -10px;
    }

    .newsletter-card {
        padding: 24px 18px;
    }

    .form-inputs-row {
        flex-direction: column;
        gap: 12px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        text-align: center;
        padding: 12px 15px;
    }

    .btn-submit-stacked {
        width: 100%;
        border-radius: 50px;
        padding: 14px;
    }

    .pillars-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .table-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-form-db {
        width: 100%;
    }

    .search-form-db input {
        width: 100%;
    }

    .btn-export {
        width: 100%;
        justify-content: center;
    }

    .dashboard-header {
        padding: 15px 20px;
    }

    .dashboard-main {
        padding: 25px 15px;
    }
}

/* ==========================================================================
   ADMIN PORTAL LIGHT THEME OVERRIDES
   ========================================================================== */

.admin-body,
.dashboard-body {
    --bg-dark: #FAF9F6;
    /* Luxury Warm Ivory background */
    --bg-card: #FFFFFF;
    /* Pure white cards */
    --color-cream: #0A110D;
    /* Invert text to deep charcoal/herbal dark */
    --color-text-muted: #5A6F62;
    /* Soft muted charcoal-green */
    --border-gold: rgba(196, 159, 55, 0.4);
    /* Elegant gold borders */

    color: var(--color-cream);
    background-color: var(--bg-dark);
}

/* Custom Scrollbar for Light Theme */
.admin-body::-webkit-scrollbar-track,
.dashboard-body::-webkit-scrollbar-track {
    background: #FAF9F6;
}

.admin-body::-webkit-scrollbar-thumb,
.dashboard-body::-webkit-scrollbar-thumb {
    background: rgba(196, 159, 55, 0.3);
}

.admin-body::-webkit-scrollbar-thumb:hover,
.dashboard-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Background glows for Light Theme: make them subtle and beautiful */
.admin-body .bg-glow-1,
.dashboard-body .bg-glow-1 {
    background: radial-gradient(circle, rgba(31, 74, 46, 0.04) 0%, transparent 70%);
}

.admin-body .bg-glow-2,
.dashboard-body .bg-glow-2 {
    background: radial-gradient(circle, rgba(196, 159, 55, 0.05) 0%, transparent 70%);
}

/* Admin Login Page overrides */
.admin-body .admin-login-card {
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(10, 17, 13, 0.05);
    /* Premium soft shadow */
    border: 1px solid rgba(196, 159, 55, 0.3);
}

.admin-body .admin-brand {
    color: var(--color-herbal-green);
    /* Forest green brand name */
}

.admin-body .admin-login-header h2 {
    color: var(--color-gold);
}

.admin-body .admin-form-group input {
    background: #FAF9F6;
    border: 1px solid rgba(10, 17, 13, 0.12);
    color: #0A110D;
}

.admin-body .admin-form-group input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(196, 159, 55, 0.12);
    background: #FFFFFF;
}

.admin-body .admin-form-group input::placeholder {
    color: rgba(90, 111, 98, 0.4);
}

.admin-body .back-home {
    color: #5A6F62;
}

.admin-body .back-home:hover {
    color: var(--color-herbal-green);
}

/* Dashboard Page overrides */
.dashboard-body .dashboard-header {
    background: #FFFFFF;
    /* White Navbar */
    border-bottom: 1px solid rgba(196, 159, 55, 0.2);
    box-shadow: 0 2px 15px rgba(10, 17, 13, 0.01);
}

.dashboard-body .db-brand-name {
    color: var(--color-herbal-green);
}

.dashboard-body .db-brand-sub {
    color: var(--color-gold);
}

.dashboard-body .nav-btn-view {
    background: rgba(10, 17, 13, 0.03);
    border: 1px solid rgba(10, 17, 13, 0.06);
    color: #5A6F62;
}

.dashboard-body .nav-btn-view:hover {
    background: rgba(10, 17, 13, 0.05);
    color: #0A110D;
}

/* Metrics Cards overrides */
.dashboard-body .metric-card {
    background: #FFFFFF;
    border: 1px solid rgba(196, 159, 55, 0.25);
    box-shadow: 0 8px 30px rgba(10, 17, 13, 0.02);
}

.dashboard-body .metric-value {
    color: #0A110D;
}

.dashboard-body .metric-label {
    color: #5A6F62;
}

/* Table Card overrides */
.dashboard-body .table-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 17, 13, 0.05);
    box-shadow: 0 10px 40px rgba(10, 17, 13, 0.03);
}

.dashboard-body .table-card-header h3 {
    color: var(--color-herbal-green);
}

.dashboard-body .search-form-db {
    background: #FAF9F6;
    border: 1.5px solid rgba(196, 159, 55, 0.25);
}

.dashboard-body .search-form-db input {
    color: #0A110D;
}

.dashboard-body .search-form-db input::placeholder {
    color: rgba(90, 111, 98, 0.45);
}

.dashboard-body .db-table th {
    background: rgba(31, 74, 46, 0.03);
    border-bottom: 1.5px solid var(--color-gold);
    color: var(--color-herbal-green);
}

.dashboard-body .db-table td {
    border-bottom: 1px solid rgba(10, 17, 13, 0.05);
    color: #333333;
}

.dashboard-body .db-table tbody tr:hover {
    background: rgba(10, 17, 13, 0.01);
}

.dashboard-body .email-td,
.dashboard-body .name-td {
    color: #0A110D;
}

/* Custom Paginator overrides */
.dashboard-body .custom-pagination {
    border-top: 1px solid rgba(10, 17, 13, 0.05);
}

.dashboard-body .pagination-btn {
    background: #FAF9F6;
    border: 1px solid rgba(196, 159, 55, 0.25);
    color: var(--color-gold);
}

.dashboard-body .pagination-btn:hover:not(.disabled) {
    background: var(--color-gold);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(196, 159, 55, 0.15);
}

.dashboard-body .pagination-btn.disabled {
    border-color: rgba(10, 17, 13, 0.05);
    color: rgba(90, 111, 98, 0.3);
    background: rgba(10, 17, 13, 0.01);
}

.dashboard-body .pagination-info {
    color: #5A6F62;
}