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

/* Force Light Mode - Override Dark Theme */
html {
    color-scheme: light;
}
html, body {
    background-color: #ffffff !important;
    color: #111827 !important;
}

:root {
    --primary: #059669;
    --primary-hover: #047857;
    --secondary: #111827;
    --background: #ffffff;
    --surface: #ffffff;
    --text-main: #111827;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-soft: #f8fafc;
    --radius-full: 100px;
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --page-padding: 4%;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff !important;
    color: var(--text-main);
    line-height: 1.6;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

/* Header - Modern Minimalist White */
header {
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff !important;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 70px;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--secondary);
    letter-spacing: -1.5px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    background: #ffffff !important;
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list li a:hover {
    color: var(--secondary);
    background: var(--bg-soft);
}

.nav-list li a.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-signup {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-signup:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: #ffffff;
    border: 1.5px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    transition: all 0.25s ease;
}

.menu-toggle:hover {
    background: var(--bg-soft);
    border-color: var(--primary);
    color: var(--primary);
}

/* Mobile Nav Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1250;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation - New Clean Design */
@media (max-width: 1024px) {
    header {
        height: 65px;
        padding: 0.75rem 5%;
        z-index: 1000;
        position: sticky;
        top: 0;
    }

    .menu-overlay {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff !important;
        border-radius: 0;
        padding: 4.5rem 1.5rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
        border: none;
        overflow-y: auto;
        min-height: 100vh;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        font-size: 1rem;
        font-weight: 600;
        padding: 1rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 14px;
        border-radius: 14px;
        border: none;
        color: var(--text-main);
        transition: all 0.2s ease;
    }

    .nav-list li a:hover {
        background: var(--bg-soft);
        color: var(--primary);
    }

    .nav-list li a.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    }

    .menu-toggle {
        display: flex;
        z-index: 10001;
    }

    .menu-toggle.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }
}

.mobile-nav-icon {
    display: none;
    width: 24px;
    text-align: center;
    color: var(--primary);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .mobile-nav-icon {
        display: inline-block;
    }
    
    .menu-toggle i.fa-xmark {
        transform: rotate(90deg);
        transition: transform 0.3s;
    }
}

/* Small Mobile - Better zoom support */
@media (max-width: 480px) {
    header {
        height: 60px;
        padding: 0.75rem 5%;
        z-index: 1000;
        position: sticky;
        top: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff !important;
        border-radius: 0;
        padding: 4rem 1.25rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
        border: none;
        overflow-y: auto;
        min-height: 100vh;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0.9rem 1.1rem;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 14px;
        border: none;
        color: var(--text-main);
        transition: all 0.2s ease;
    }

    .nav-list li a:hover {
        background: var(--bg-soft);
        color: var(--primary);
    }

    .nav-list li a.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    }

    .menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        z-index: 10001;
    }

    .menu-toggle.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item i {
        font-size: 2rem;
    }

    .stat-item h4 {
        font-size: 1rem;
    }

    .hero-card h1 {
        font-size: 2rem;
    }

    .search-float {
        padding: 1.25rem;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 1rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-price {
        font-size: 1.1rem;
    }
}

/* Hero Section */
.hero-wrapper {
    padding: 0.5rem var(--page-padding) 2rem;
}

/* Utilities */
.hide-desktop {
    display: none;
}

@media (max-width: 1024px) {
    .hide-desktop {
        display: inline-block;
        margin-left: 8px;
    }

    .btn-go {
        width: auto;
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

.hero-card {
    height: 75vh;
    min-height: 500px;
    border-radius: var(--radius-lg);
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--page-padding);
    color: white;
    overflow: visible;
}

.hero-capsule {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    width: fit-content;
}

.hero-card h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 3rem;
    max-width: 800px;
}

/* Search Bar */
.search-float {
    position: absolute;
    bottom: -40px;
    left: 4%;
    right: 4%;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 1rem;
    border-right: 1px solid #f1f5f9;
}

.input-box:last-of-type {
    border-right: none;
}

.input-box label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-muted);
}

.input-box select,
.input-box input {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    outline: none;
    width: 100%;
}

.btn-go {
    background: var(--secondary);
    color: white;
    width: 50px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-go:hover {
    transform: scale(1.05);
    background: var(--primary);
}

/* Listing Grid */
.section-main {
    padding: 4rem var(--page-padding) 2rem;
}

.grid-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.grid-title h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -1px;
    margin: 0;
    line-height: 1.2;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Page Wrappers */
.page-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.about-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.quote-box {
    position: absolute;
    right: -20px;
    bottom: 20px;
    background: var(--secondary);
    color: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    max-width: 280px;
    z-index: 2;
}

@media (max-width: 768px) {
    .page-wrap {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .quote-box {
        right: 10px;
        bottom: -20px;
        max-width: 90%;
    }
}

/* Auth Pages */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: #ffffff;
}

.auth-card {
    background: white;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
    width: 100%;
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    font-size: 2.2rem;
    color: var(--secondary);
    letter-spacing: -1px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    padding: 1.1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.btn-auth {
    width: 100%;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    background: var(--secondary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-auth:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 3rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.8rem;
    }
}

/* Property Card */
.property-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.property-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.property-card:hover img {
    transform: scale(1.04);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: var(--primary);
    border: 1px solid #bbf7d0;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.card-meta i {
    color: var(--primary);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.card-location {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-action {
    width: 38px;
    height: 38px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid #bbf7d0;
    transition: all 0.3s;
    color: var(--primary);
}

.property-card:hover .card-action {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-direction: column;
    padding: 3rem 5% 2rem;
    gap: 1.5rem;
}

.stat-item {
    text-decoration: none;
    color: inherit;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.stat-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-item.dark {
    background: #ffffff;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.stat-item.dark p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-banner {
    padding: 3rem 5%;
    background: #ffffff;
    color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 40px;
    margin: 4rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
}

.cta-banner h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-banner p {
    opacity: 0.7;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
}

/* ============================================================
   FOOTER – Premium Dark Centered Design
   ============================================================ */
.site-footer {
    background: #ffffff;
    color: var(--text-main);
    padding: 3rem var(--page-padding) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

/* Subtle background glow accent */
.site-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Brand Row – fully centered */
.footer-brand {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-decoration: none;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 3.5rem;
}

/* Links Grid – centered columns */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.footer-col-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s;
}

.footer-col ul li a i {
    font-size: 0.75rem;
    color: var(--primary);
    width: 16px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

/* Newsletter */
.footer-newsletter-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-subscribe-box {
    display: flex;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    max-width: 280px;
    margin: 0 auto;
}

.footer-subscribe-box input {
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    outline: none;
    font-family: inherit;
    width: 100%;
    color: var(--text-main);
}

.footer-subscribe-box input {
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    min-width: 0;
}

.footer-subscribe-box input::placeholder {
    color: #64748b;
}

.footer-subscribe-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    flex-shrink: 0;
}

.footer-subscribe-box button:hover {
    background: #047857;
}

/* ============================================================
   DASHBOARD UI – Unified Admin + Agent Theme
   ============================================================ */
.dashboard-shell-body {
    background: #f8fafc;
    color: var(--secondary);
}

.dashboard-layout-base {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.dashboard-sidebar-base {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 2.5rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.dash-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-nav-base {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 3rem;
    flex-grow: 1;
}

.dashboard-nav-base a {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-nav-base a.active,
.dashboard-nav-base a:hover {
    background: #f0fdf4;
    color: var(--primary);
}

.dashboard-topbar {
    padding: 1.5rem 3rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-content-base {
    padding: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dashboard-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dashboard-data-card {
    background: white;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-data-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.dashboard-data-card th {
    text-align: left;
    padding: 1.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1.5px solid #f1f5f9;
}

.dashboard-data-card td {
    padding: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
}

.dashboard-data-card tr:hover td {
    background: #fcfdfd;
}

.dashboard-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 800;
}

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

.dashboard-badge-warning {
    background: #fef9c3;
    color: #854d0e;
}

.dashboard-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.dashboard-form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: inherit;
}

.dashboard-action-link {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-block;
    margin-right: 5px;
}

.dashboard-footer {
    margin-top: auto;
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.dashboard-footer-note {
    color: #64748b;
}

.dashboard-split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}

.dashboard-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-upload-subgrid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-upload-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-upload-field label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}

.dashboard-upload-field input,
.dashboard-upload-field select,
.dashboard-upload-field textarea {
    padding: 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
}

.dashboard-upload-field.full {
    grid-column: span 2;
}

.dashboard-profile-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    background: #ffffff;
}

.activity-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.activity-content {
    min-width: 0;
    flex: 1;
}

.activity-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.15rem;
}

.activity-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-time {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
}

.activity-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.activity-filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 150px;
}

.activity-filter-item label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.activity-filter-item select {
    border: 1px solid #dbe2ea;
    background: white;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
}

.activity-filter-btn {
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.activity-filter-reset {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 0.8rem;
}

.page-content-card {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.content-narrow {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card-link {
    text-decoration: none;
    padding: 3rem 2rem;
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s;
    display: block;
}

.contact-card-link:hover {
    transform: translateY(-4px);
}

.about-hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.about-feature-grid {
    padding: 5rem 3rem;
    background: #f8fafc;
    border-radius: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    border: 1px solid #e2e8f0;
}

.legal-page-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    letter-spacing: -2px;
    margin-bottom: 2.5rem;
    color: var(--secondary);
}

.legal-content {
    line-height: 1.8;
    color: var(--text-main);
    font-size: 1.05rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Keep old names working for any inline refs */
.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-bottom {
    padding: 1.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

/* Responsive Queries */
@media (max-width: 1024px) {
    :root {
        --page-padding: 5%;
    }

    .header-right .btn-signup {
        display: none;
    }

    .hero-card {
        height: auto;
        min-height: 450px;
        padding: 8rem 5% 12rem;
        border-radius: 24px;
    }

    .hero-card h1 {
        font-size: 2.8rem;
    }

    .search-float {
        position: static;
        margin-top: -60px;
        z-index: 10;
        padding: 1.5rem;
        border-radius: 24px;
    }

    .search-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .btn-go {
        grid-column: span 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: 800;
        font-size: 1rem;
        width: auto !important;
        height: 55px;
        border-radius: 12px;
        justify-self: stretch;
        margin-top: 10px;
    }

    .listing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1.5rem;
        margin: 2rem 5%;
    }

    .cta-banner h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 1025px) {
    .menu-overlay {
        display: none !important;
    }
}

@media (max-width: 900px) {

    /* Footer: 2 columns on tablet */
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .dashboard-layout-base {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar-base {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
        position: static;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .dash-logo {
        margin-bottom: 0;
    }

    .dashboard-nav-base {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        width: 100%;
        white-space: nowrap;
        padding-bottom: 5px;
        margin-top: 0;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-split-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-upload-grid,
    .dashboard-upload-subgrid {
        grid-template-columns: 1fr;
    }

    .dashboard-upload-subgrid,
    .dashboard-upload-field.full {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --page-padding: 1.25rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero-card h1 {
        font-size: 2.5rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .btn-go {
        grid-column: span 1;
        width: auto !important;
        justify-self: stretch;
        display: flex !important;
    }

    .input-box {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 0 0 1rem 0;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .auth-wrapper {
        padding: 2rem var(--page-padding);
    }

    .auth-card {
        padding: 2.5rem;
        border-radius: 24px;
    }

    /* New footer responsive */
    .site-footer {
        padding: 4rem var(--page-padding) 0;
    }

    .footer-brand {
        margin-bottom: 2rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    :root {
        --page-padding: 1rem;
    }

    header {
        height: 65px;
        padding: 0.75rem var(--page-padding);
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero-card h1 {
        font-size: 2rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        padding: 2rem var(--page-padding);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item i {
        font-size: 2rem;
    }

    .stat-item h4 {
        font-size: 1rem;
    }

    .search-float {
        padding: 1.25rem;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 1rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-price {
        font-size: 1.1rem;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .header-right {
        gap: 0.8rem;
    }

    .auth-wrapper {
        padding: 1.5rem var(--page-padding);
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.6rem;
    }

    /* Footer: single column on phones */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-socials {
        gap: 0.75rem;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-subscribe-box {
        max-width: 100%;
    }

    .dashboard-content-base {
        padding: 1.2rem;
    }

    .dashboard-topbar {
        padding: 1rem 1.25rem;
    }

    .dashboard-data-card {
        padding: 1.25rem;
    }

    .dashboard-profile-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .activity-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .activity-time {
        margin-left: 42px;
    }

    .page-content-card {
        margin-top: 2.5rem;
        padding: 1.5rem 1rem;
    }

    .contact-card-link {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .about-feature-grid {
        padding: 2rem 1.25rem;
        border-radius: 24px;
        gap: 2rem;
    }

    .legal-content {
        font-size: 0.96rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .dashboard-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   DARK MODE DISABLED - Fully White Theme Enforced
   ============================================================ */