@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

/* ==========================================================================
   UrbanScope Design Tokens & Global Variables
   ========================================================================== */
:root {
    /* Brand Green Color Scale */
    --green: #2d5c39;
    --dark-green: #1a3b23;
    --light-green: #eef5ef;
    --accent-green: #347c47;
    --emerald-primary: #15803d;
    --emerald-bright: #48bb78;

    /* Intentional Warm Accent Color (Rule 11) */
    --accent-warm: #d97706;
    --accent-warm-light: #fef3c7;
    --accent-warm-dark: #b45309;
    --accent-warm-border: #fde68a;

    /* High-Contrast Typography Tokens (Rule 15) */
    --text-dark: #0f1f14;
    --text-muted: #475a4d;
    --text-subtle: #64748b;
    --border-color: #d1ddd3;

    /* Consistent Spacing Scale (Rule 5 & Rule 8) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* Systematic Radius Scale (Rule 14) */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Elevation Shadow Tokens */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(26, 59, 35, 0.12);
    --shadow-xl: 0 20px 40px rgba(26, 59, 35, 0.18);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Dark Mode Design Token Adjustments */
html.dark-mode {
    --text-dark: #ecfdf5;
    --text-muted: #94a3b8;
    --text-subtle: #cbd5e1;
    --border-color: #26392c;
    --light-green: #16241b;
    --accent-warm: #f59e0b;
    --accent-warm-light: rgba(245, 158, 11, 0.16);
    --accent-warm-dark: #fde68a;
    --accent-warm-border: rgba(245, 158, 11, 0.35);
}

/* Global Typographic Polishes: Headline Balancing (Rule 16) & Tabular Numbers (Rule 18) */
h1, h2, h3, h4,
.hero-content h1,
.section-heading h2,
.faqs-heading h2,
.cta-content h2,
.topbar-title,
.page-title,
.admin-card-title,
.modal-title,
.table-title,
.section-title,
.history-header h1,
.auth-title,
.showcase-hero-content h1 {
    text-wrap: balance;
}

p.lead,
.hero-content p,
.cta-content p,
.about-text p,
.history-header p,
.modal-subtitle,
.admin-card-desc {
    text-wrap: pretty;
}

.tabular-nums,
.property-price,
.property-details span,
.spec-pill,
.tcp-subtext,
.metric-value,
.stat-number,
.stat-pill,
.stat-pill-count,
.kpi-value,
.kpi-num,
.calc-result-value,
.amort-number,
.inquiry-id,
.user-id,
.inquiry-date,
.client-phone,
.col-num,
.col-price,
.col-date,
.price-display,
.sqm-display,
.badge-count,
.counter-pill {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}
 
html {
    zoom: 1.25;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* NAVBAR */
.navbar {
    height: 90px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.Cname {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-green);
}

.brand-logo {
    width: 60px;
    height: 52px;
    object-fit: contain;
}

.Cname strong {
    display: block;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.Cname small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-green);
    margin-top: 3px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}

.navbar nav a {
    text-decoration: none;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
}

.navbar nav a.active {
    color: var(--green);
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .navbar nav a:hover {
        color: var(--green);
        font-weight: 700;
    }
}

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

.s-icon-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border-color, #d1ddd3);
    background: #ffffff;
    color: var(--dark-green, #1a3b23);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .s-icon-btn:hover {
        background-color: var(--light-green);
        border-color: var(--green);
        color: var(--green);
    }
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: var(--dark-green);
    border: 1.5px solid #a8baa9;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .login-btn:hover {
        border-color: var(--green);
        color: var(--green);
        background-color: var(--light-green);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(45, 92, 57, 0.12);
    }
}

.signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: #ffffff;
    border: 1.5px solid var(--green);
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(45, 92, 57, 0.2);
}

@media (hover: hover) and (pointer: fine) {
    .signup-btn:hover {
        background-color: var(--dark-green);
        border-color: var(--dark-green);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(45, 92, 57, 0.3);
    }
}

/* FOOTER */
.footer {
    background-color: var(--dark-green);
    color: #ffffff;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 5% 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 60px;
}

.footer h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-about p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
    .footer-links-column a:hover {
        color: #ffffff;
        text-decoration: underline;
    }
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    min-width: 0;
}

.footer-contact-item a,
.footer-contact-item p {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 5% 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    gap: 16px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

@media (hover: hover) and (pointer: fine) {
    .social-icon:hover {
        background: var(--green);
        transform: translateY(-2px);
    }
}

.legal,
.footer-legal {
    display: flex;
    gap: 20px;
}

.legal a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .legal a:hover,
    .footer-legal a:hover {
        color: #ffffff;
        text-decoration: underline;
    }
}

/* MOBILE NAV TOGGLE & DRAWER */
.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle.active {
    background-color: var(--light-green);
    border-color: rgba(45, 92, 57, 0.2);
}

@media (hover: hover) and (pointer: fine) {
    .mobile-nav-toggle:hover {
        background-color: var(--light-green);
        border-color: rgba(45, 92, 57, 0.2);
    }
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--dark-green);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease,
                background-color 0.2s ease;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop,
.mobile-drawer-auth,
.mobile-drawer-user {
    display: none;
}

/* RESPONSIVE SHARED RULES */
@media (max-width: 1024px) {
    html {
        zoom: 1; /* Reset desktop 1.25x zoom on tablets and landscape phones */
    }

    .navbar {
        gap: 20px;
        padding: 0 4%;
    }

    .navbar nav {
        gap: 18px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    html {
        zoom: 1;
    }

    /* Prevent iOS browser auto-zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }

    .login-btn,
    .signup-btn {
        min-height: 40px;
    }

    .s-icon-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
    }

    .navbar {
        height: 70px;
        padding: 0 16px;
        justify-content: space-between;
        gap: 10px;
    }

    .brand-logo {
        width: 42px;
        height: 36px;
        flex-shrink: 0;
    }

    .Cname {
        gap: 10px;
        min-width: 0;
        flex: 1;
    }

    .Cname span {
        min-width: 0;
    }

    .Cname strong {
        font-size: 16.5px;
        letter-spacing: 0.8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Cname small {
        font-size: 9px;
        letter-spacing: 1.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-nav-toggle {
        display: flex;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
    }

    .nav-acts {
        gap: 8px;
        flex-shrink: 0;
    }

    /* Hide redundant top bar login/signup buttons on mobile - they are accessed cleanly via the mobile drawer */
    .nav-acts .login-btn,
    .nav-acts .signup-btn {
        display: none !important;
    }

    /* MOBILE NAVIGATION DRAWER */
    .navbar nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 16px 36px rgba(26, 59, 35, 0.15);
        border-bottom: 2px solid var(--light-green);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
        z-index: 99;
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.25s ease;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar nav.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar nav a {
        display: flex;
        align-items: center;
        padding: 13px 16px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 10px;
        color: var(--text-dark);
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }

    .navbar nav a.active {
        background-color: var(--light-green);
        color: var(--green);
        border-left-color: var(--green);
        padding-left: 20px;
    }

    @media (hover: hover) and (pointer: fine) {
        .navbar nav a:hover {
                background-color: var(--light-green);
                color: var(--green);
                border-left-color: var(--green);
                padding-left: 20px;
            }
    }

    /* Mobile drawer auth section */
    .mobile-drawer-auth {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #e5ede7;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-drawer-auth .m-login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 11px;
        border: 1.5px solid #a8baa9;
        border-radius: 10px;
        color: var(--dark-green);
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        transition: all 0.2s;
    }

    @media (hover: hover) and (pointer: fine) {
        .mobile-drawer-auth .m-login-btn:hover {
                border-color: var(--green);
                color: var(--green);
                background-color: var(--light-green);
            }
    }

    .mobile-drawer-auth .m-signup-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 11px;
        background-color: var(--green);
        border: 1.5px solid var(--green);
        border-radius: 10px;
        color: #ffffff;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        transition: background-color 0.2s;
    }

    @media (hover: hover) and (pointer: fine) {
        .mobile-drawer-auth .m-signup-btn:hover {
                background-color: var(--dark-green);
            }
    }

    /* Mobile drawer user section - removed so mobile menu displays exclusively primary nav links */
    .mobile-drawer-user {
        display: none !important;
    }

    /* Backdrop */
    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(2px);
        z-index: 98;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    body.nav-locked {
        overflow: hidden;
    }

    .footer-top {
        padding: 44px 5% 30px;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 64px;
        padding: 0 14px;
        gap: 8px;
    }

    .navbar nav {
        top: 64px;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
    }

    .mobile-nav-backdrop {
        top: 64px;
    }

    .brand-logo {
        width: 38px;
        height: 34px;
    }

    .Cname strong {
        font-size: 15px;
        letter-spacing: 0.8px;
    }

    .Cname small {
        font-size: 8.5px;
        letter-spacing: 1.2px;
    }

    .s-icon-btn {
        width: 34px;
        height: 34px;
    }

    .nav-acts {
        gap: 6px;
    }

    .nav-acts .login-btn {
        padding: 5px 11px;
        font-size: 12px;
    }

    .nav-acts .signup-btn {
        padding: 5px 11px;
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .legal,
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }
}

@media (max-width: 360px) {
    .nav-acts .signup-btn {
        display: none;
    }
}

/* ==========================================================================
   Scroll-Driven Reveal System & Micro-Interactions
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Floating Back-to-Top Button with Radial Scroll Progress
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(45, 92, 57, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, visibility 0.3s ease;
}

.back-to-top-btn.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    cursor: pointer;
    transform: translateY(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .back-to-top-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 24px rgba(45, 92, 57, 0.24);
    }
}

.btt-progress-ring {
    position: absolute;
    top: 1px;
    left: 1px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.btt-progress-track {
    stroke: rgba(45, 92, 57, 0.14);
}

.btt-progress-fill {
    stroke: var(--green, #2d5c39);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease-out;
}

.btt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green, #2d5c39);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .back-to-top-btn:hover .btt-icon {
        transform: translateY(-2px);
        color: var(--dark-green, #1a3b23);
    }
}

/* Dark Mode Support */
html.dark-mode .back-to-top-btn,
html[data-theme="dark"] .back-to-top-btn {
    background: #17241a;
    border-color: rgba(72, 187, 120, 0.32);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

html.dark-mode .btt-progress-track,
html[data-theme="dark"] .btt-progress-track {
    stroke: rgba(255, 255, 255, 0.1);
}

html.dark-mode .btt-progress-fill,
html[data-theme="dark"] .btt-progress-fill {
    stroke: #48bb78;
}

html.dark-mode .btt-icon,
html[data-theme="dark"] .btt-icon {
    color: #48bb78;
}

@media (hover: hover) and (pointer: fine) {
    html.dark-mode .back-to-top-btn:hover .btt-icon,
    html[data-theme="dark"] .back-to-top-btn:hover .btt-icon {
        color: #68d391;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        right: 20px;
        width: 44px;
        height: 44px;
    }
    .btt-progress-ring {
        width: 42px;
        height: 42px;
        top: 0;
        left: 0;
    }
}

/* ============================================================
   UNIVERSAL DESIGN SYSTEM EXTENSIONS (RULES 10, 11, 14, 19, 20)
   ============================================================ */

/* Universal Non-blocking Feedback Toast (Rule 20) */
#urbanFeedbackToast,
.urban-feedback-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full, 9999px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#urbanFeedbackToast.show,
.urban-feedback-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

#urbanFeedbackToast .toast-icon-success {
    color: #4ade80;
    font-weight: 800;
}

#urbanFeedbackToast .toast-icon-error {
    color: #f87171;
    font-weight: 800;
}

#urbanFeedbackToast .toast-icon-info {
    color: #60a5fa;
    font-weight: 800;
}

#urbanFeedbackToast .toast-icon-warn {
    color: #fbbf24;
    font-weight: 800;
}

html.dark-mode #urbanFeedbackToast,
html[data-theme="dark"] #urbanFeedbackToast {
    background: rgba(20, 34, 25, 0.96);
    border: 1px solid rgba(72, 187, 120, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Universal Loading Skeleton Shimmer (Rule 19) */
@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.6s ease-in-out infinite;
    border-radius: var(--radius-sm, 6px);
}

html.dark-mode .skeleton-shimmer,
html[data-theme="dark"] .skeleton-shimmer {
    background: linear-gradient(90deg, #1c2b20 25%, #25392a 50%, #1c2b20 75%);
    background-size: 200% 100%;
}

/* Universal CTA Button Emphasis (Rule 10) */
.btn-cta-emerald,
.btn-submit-primary,
.action-btn-primary {
    background: linear-gradient(135deg, var(--green, #1f4928) 0%, var(--forest, #2e7d32) 100%);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(31, 73, 40, 0.28);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-cta-emerald:hover,
    .btn-submit-primary:hover,
    .action-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(31, 73, 40, 0.38);
        filter: brightness(1.05);
    }
}

.btn-cta-emerald:active,
.btn-submit-primary:active,
.action-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 73, 40, 0.25);
}

/* Universal Warm Accent Pills & Status (Rule 11) */
.status-pill-warm,
.badge-status-pending,
.badge-status-review {
    background: var(--accent-warm-light, #fef3c7);
    color: var(--accent-warm-dark, #b45309);
    border: 1px solid var(--accent-warm-border, #fde68a);
    font-weight: 600;
    border-radius: var(--radius-full, 9999px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

html.dark-mode .status-pill-warm,
html.dark-mode .badge-status-pending,
html.dark-mode .badge-status-review {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.35);
}



