/* ==========================================================================
   FIRSTDREAM PARTNER PORTAL - DESIGN SYSTEM (RAZORPAY MATCHED)
   ========================================================================== */

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

:root {
    --primary-color: #0d2b5e;       /* Deep Navy */
    --primary-hover: #163d7a;
    --primary-light: rgba(13, 43, 94, 0.08);
    --primary-light-solid: #f1f5f9;
    --accent-color: #FFC107;        /* Warm Gold */
    --accent-hover: #ffb300;
    --accent-light: #fffbeb;
    --bg-body: #f4f6f9;             /* Razorpay light background */
    --bg-white: #ffffff;
    --bg-dark: #0a0e17;             /* Razorpay dark top bar */
    --border-color: #e2e8f0;        /* Subtle divider */
    --text-primary: #1e293b;        /* Slate dark text */
    --text-secondary: #475569;      /* Slate medium text */
    --text-muted: #94a3b8;          /* Slate light text */
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --sidebar-width: 250px;
    --header-height: 56px;
    --radius-sm: 4px;
    --radius-md: 8px;               /* Exact card rounded corners */
    --radius-lg: 12px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

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

.btn-accent {
    background-color: var(--accent-color);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    color: var(--text-primary);
}

.btn-hero-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--bg-white);
}

.btn-hero-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color) !important;
    border-color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-success {
    background-color: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background-color: var(--danger-light);
    color: var(--danger);
}

.badge-primary {
    background-color: #e2e8f0;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 80px;
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */
.land-header {
    background-color: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.land-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.land-logo {
    display: flex;
    align-items: center;
}

.land-logo img {
    height: 32px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

.land-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.land-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.land-nav-links a:hover {
    color: var(--accent-color);
}

.land-nav-links a.btn-secondary {
    color: var(--text-secondary) !important;
}

.land-nav-links a.btn-secondary:hover {
    color: var(--text-primary) !important;
}

.land-nav-links a.btn-accent {
    color: var(--bg-dark) !important;
}

.land-nav-links a.btn-accent:hover {
    color: var(--bg-dark) !important;
}

/* Hero Section */
.land-hero {
    background: radial-gradient(circle at 50% 50%, rgba(30, 144, 255, 0.08) 0%, transparent 80%),
                linear-gradient(135deg, var(--bg-dark) 0%, #0d223f 100%);
    color: var(--bg-white);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.land-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.land-hero-tag {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.land-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.land-hero-title span {
    background: linear-gradient(120deg, #ffc107 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.land-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.land-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Feature Roles Grid */
.land-roles {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.role-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.role-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 43, 94, 0.15);
    box-shadow: 0 12px 24px -10px rgba(13, 43, 94, 0.12), 0 4px 8px -2px rgba(13, 43, 94, 0.04);
}

.role-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
}

.role-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.role-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.role-features {
    list-style: none;
}

.role-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-features li i {
    color: var(--success);
}

/* Key Benefits Section */
.land-benefits {
    background-color: #f1f5f9;
    padding: 80px 20px;
}

.land-benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background-color: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border-color: rgba(13, 43, 94, 0.1);
}

.benefit-num {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--bg-white);
    font-size: 1.25rem;
    font-weight: 800;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(13, 43, 94, 0.2);
}

.benefit-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Pricing Grid */
.land-pricing {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 12px 30px rgba(13, 43, 94, 0.12);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 40px rgba(13, 43, 94, 0.18);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--bg-white);
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(13, 43, 94, 0.35);
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.4;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li i.fa-check-circle {
    color: var(--success);
}

.plan-features li i.fa-times-circle {
    color: var(--danger);
    opacity: 0.5;
}

.plan-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Responsive Landing Page Styles */
@media (max-width: 992px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-grid > .pricing-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .land-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .land-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        align-items: stretch;
    }

    .land-nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .land-nav-links a {
        text-align: center;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .land-nav-links a:last-child,
    .land-nav-links a.btn {
        border-bottom: none;
    }

    .land-nav-links .btn {
        width: 100%;
        margin-top: 4px;
    }

    .land-hero {
        padding: 80px 16px 65px;
    }

    .land-hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .land-hero-desc {
        font-size: 0.98rem;
        margin-bottom: 28px;
    }

    .land-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .land-hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .roles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 450px;
        margin: 40px auto 0;
    }

    .pricing-grid > .pricing-card:last-child {
        grid-column: auto;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   AUTH PAGE STYLES (LOGIN / REGISTER)
   ========================================================================== */
.auth-page {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-body);
}

.auth-split-visual {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, #081d3f 100%);
    color: var(--bg-white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.auth-nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.auth-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.auth-nav-links a:hover {
    color: var(--accent-color);
}

.auth-nav-links a.btn-secondary {
    color: var(--text-secondary) !important;
}

.auth-nav-links a.btn-secondary:hover {
    color: var(--text-primary) !important;
}

.auth-nav-links a.btn-accent {
    color: var(--bg-dark) !important;
}

.auth-nav-links a.btn-accent:hover {
    color: var(--bg-dark) !important;
}

.auth-visual-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.auth-visual-content h2 span {
    color: var(--accent-color);
}

.auth-visual-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.auth-split-form {
    flex: 1;
    background-color: var(--bg-white);
    margin: 24px;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 16px 36px rgba(13, 43, 94, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-container {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.auth-header {
    margin-bottom: 24px;
}

.auth-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-secondary);
}

.auth-submit-btn {
    width: 100%;
    padding: 10px;
}

/* ==========================================================================
   DASHBOARD PORTAL WRAPPER (RAZORPAY STYLE LAYOUT)
   ========================================================================== */
.dash-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark); /* Dark background frame */
}

/* Global Top Header Bar (Razorpay style) */
.dash-top-header {
    height: var(--header-height);
    background-color: var(--bg-dark);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 50;
    flex-shrink: 0;
}

.dash-logo-sec {
    display: flex;
    align-items: center;
}

.dash-logo-sec a {
    display: flex;
    align-items: center;
}

.dash-logo-sec img {
    height: 36px;
    max-height: 40px;
    object-fit: contain;
}

.dash-top-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.dash-top-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 100%;
    transition: all var(--transition-fast);
    position: relative;
}

.dash-top-link:hover {
    color: var(--bg-white);
}

/* Selected top link glowing highlight */
.dash-top-link.active {
    color: var(--bg-white);
    background: radial-gradient(circle at bottom, rgba(30,144,255,0.15) 0%, rgba(30,144,255,0) 70%);
}

.dash-top-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #3b82f6;
    box-shadow: 0 -2px 10px rgba(59, 130, 246, 0.8);
}

.dash-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search bar pill-shaped */
.dash-search-box {
    position: relative;
    width: 280px;
}

.dash-search-box input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 6px 12px 6px 36px;
    color: var(--bg-white);
    font-size: 0.82rem;
    width: 100%;
    outline: none;
    transition: all var(--transition-fast);
}

.dash-search-box input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.dash-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.dash-icon-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    cursor: pointer;
    background: none;
    border: none;
}

.dash-icon-btn:hover {
    color: var(--bg-white);
}

.dash-user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dash-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.dash-username {
    margin-left: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.dash-user-profile:hover .dash-username {
    opacity: 1;
    max-width: 150px;
}

/* Dashboard Body Wrapper */
.dash-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    background-color: var(--bg-white);
    border-radius: 20px;
    margin: 0 12px 12px 12px;
    box-shadow: var(--shadow-sm);
}

/* Left Sidebar Navigation (Razorpay matched) */
.dash-sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-menu {
    padding: 12px 0;
    list-style: none;
}

.sidebar-category {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 16px 24px 6px;
    letter-spacing: 0.8px;
}

.sidebar-item {
    padding: 2px 16px;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.sidebar-item a:hover {
    color: var(--text-primary);
    background-color: #f1f5f9;
}

/* Selected sidebar item light grey pill */
.sidebar-item.active a {
    color: var(--text-primary);
    background-color: #e2e8f0;
    font-weight: 600;
}

.sidebar-item a i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sidebar-item.active a i {
    color: var(--text-primary);
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.sidebar-profile-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card-details h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-card-details p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Main Dashboard Panel */
.dash-main-panel {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-body);
}

/* Main Content Wrapper */
.dash-content {
    padding: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Page Header Panel */
.dash-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title-sec h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.page-title-sec p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.page-actions-sec {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Banner Alert Section */
.info-banner {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.info-banner-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-banner-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.info-banner-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 1px;
}

/* Metrics Section (Razorpay style card rows) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Span first metrics card full width like Collected Amount */
.metrics-grid.has-main .metric-card:first-child {
    grid-column: 1 / -1;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.metric-icon {
    font-size: 0.9rem;
    color: #3b82f6; /* Accent color chevrons/links */
    cursor: pointer;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.metric-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trend-up {
    color: var(--success);
}

/* Dashboard Split Grid (Charts + Feeds) */
.dash-split-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.panel-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.panel-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.panel-body {
    padding: 16px 20px;
}

/* Segmented Tab Controller */
.segmented-tabs {
    display: flex;
    background-color: #f1f5f9;
    padding: 3px;
    border-radius: 6px;
}

.seg-tab {
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: none;
    background: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.seg-tab.active {
    background-color: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* Table tabs matching Payments, Orders, Upload Invoices in screenshot */
.table-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    padding: 0 4px;
}

.table-tab {
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.table-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

/* Table Design */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

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

.custom-table th {
    background-color: #f8fafc;
    padding: 10px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.5px;
}

.custom-table td {
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: normal;
    word-break: break-word;
}

.custom-table td:last-child,
.custom-table td.actions-cell,
.custom-table td .btn,
.custom-table td .actions-group,
.custom-table td span.badge,
.custom-table td a.btn {
    white-space: nowrap !important;
}

.custom-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Property Item Cell */
.prop-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prop-cell-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.prop-cell-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
}

.prop-cell-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* User Lead Cell */
.lead-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lead-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-light-solid);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
}

.lead-name h4 {
    font-size: 0.8rem;
    font-weight: 700;
}

.lead-name p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Status Pipeline Dropdown */
.status-select {
    padding: 3px 6px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background-color: var(--bg-white);
}

/* Modern Mock Chart Visual */
.mock-chart {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.chart-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 6px;
}

.chart-bar {
    width: 50%;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transition: height 0.5s ease;
    position: relative;
}

.chart-bar:hover {
    background-color: var(--primary-hover);
}

.chart-bar-tooltip {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-dark);
    color: var(--bg-white);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}

.chart-bar:hover .chart-bar-tooltip {
    opacity: 1;
}

.chart-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Recent Feed styling */
.feed-list {
    list-style: none;
}

.feed-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feed-info p {
    font-size: 0.78rem;
}

.feed-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1px;
}

/* Floating Help Support Badge */
.support-badge-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(13, 43, 94, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1000;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.support-badge-float:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Bottom Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    gap: 2px;
    flex: 1;
    height: 100%;
}

.mobile-nav-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

.mobile-nav-item i {
    font-size: 1.05rem;
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 500px;
    transform: scale(0.97);
    transition: transform var(--transition-normal);
    overflow: hidden;
}

.modal-overlay.show .modal-card {
    transform: scale(1);
}

.modal-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-card-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background-color: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   PAGE SPECIFIC CARDS (LISTING GRID)
   ========================================================================== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.listing-card-dash {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.card-img-sec {
    height: 140px;
    position: relative;
}

.card-img-sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.listing-card-body {
    padding: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.listing-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-card-loc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.listing-card-specs {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-bottom: 10px;
}

.listing-spec {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 2px;
}

.listing-spec i {
    color: var(--accent-color);
}

.listing-card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    background-color: #f8fafc;
    padding: 6px 10px;
    border-radius: 4px;
    margin-top: auto;
}

.listing-card-footer-btns {
    padding: 10px 14px;
    border-top: 1px solid var(--border-color);
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.listing-card-footer-btns .btn {
    flex: 1;
}

/* ==========================================================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .roles-grid, .pricing-grid, .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-split-grid {
        grid-template-columns: 1fr;
    }
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .roles-grid, .pricing-grid, .metrics-grid, .listings-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    .auth-page {
        flex-direction: column;
        min-height: 100vh;
    }
    .auth-split-visual {
        flex: none;
        padding: 20px 24px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #081d3f 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .auth-split-visual .auth-visual-content,
    .auth-split-visual .auth-visual-footer {
        display: none !important;
    }
    .auth-visual-header .mobile-menu-toggle {
        display: block;
    }
    .auth-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        align-items: stretch;
        z-index: 100;
    }
    .auth-nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .auth-nav-links a {
        text-align: center;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .auth-nav-links a:last-child {
        border-bottom: none;
    }
    .auth-split-form {
        flex: 1;
        margin: 16px !important;
        padding: 32px 20px !important;
        border-radius: var(--radius-md) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        background-color: var(--bg-white) !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .auth-form-container {
        width: 100%;
        max-width: 100% !important;
    }
    
    /* Layout structural shifts for mobile bottom menu */
    .mobile-nav {
        display: flex;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        border-radius: 16px;
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .dash-sidebar {
        display: none !important;
    }
    .dash-body {
        margin: 0 12px 80px 12px !important;
        border-radius: 20px !important;
    }
    .dash-main-panel {
        padding-bottom: 16px !important;
    }
    .dash-top-menu {
        display: none;
    }
    .logo-partner-tag {
        display: none !important;
    }
    .dash-search-box {
        width: auto;
    }
    .dash-search-box input {
        display: none !important;
    }
    .dash-search-box i {
        position: static;
        transform: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.05rem;
        cursor: pointer;
        display: inline-block;
    }
    .dash-search-box i:hover {
        color: var(--bg-white);
    }
    .dash-username {
        display: none !important;
    }
    .dash-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
    .dash-content {
        padding: 16px;
    }
    .dash-page-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .page-title-sec {
        width: 100% !important;
    }
    .page-actions-sec {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
    .page-actions-sec .form-control, 
    .page-actions-sec select {
        flex: 1 !important;
        width: 100% !important;
        min-width: 120px !important;
        max-width: none !important;
    }
    .page-actions-sec .btn,
    .page-actions-sec button {
        flex: 1 !important;
        width: 100% !important;
        justify-content: center !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Hide floating support button to prevent overlapping with bottom navigation */
    .support-badge-float {
        display: none;
    }

    /* Custom thin scrollbar for mobile */
    ::-webkit-scrollbar {
        width: 6px !important;
        height: 6px !important;
    }
    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.02) !important;
        border-radius: 10px !important;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(13, 43, 94, 0.15) !important;
        border-radius: 10px !important;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(13, 43, 94, 0.3) !important;
    }

    .dash-main-panel::-webkit-scrollbar {
        width: 6px !important;
        height: 6px !important;
        display: block !important;
    }
    .dash-main-panel::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.03) !important;
        border-radius: 10px !important;
    }
    .dash-main-panel::-webkit-scrollbar-thumb {
        background: rgba(13, 43, 94, 0.2) !important;
        border-radius: 10px !important;
    }
    .dash-main-panel::-webkit-scrollbar-thumb:hover {
        background: rgba(13, 43, 94, 0.4) !important;
    }

    /* Responsive Table to Cards for Mobile */
    .table-responsive {
        overflow-x: visible !important;
    }
    .custom-table {
        display: block !important;
        width: 100% !important;
        border: 0;
    }
    .custom-table thead {
        display: none !important;
    }
    .custom-table tbody {
        display: block !important;
    }
    .custom-table tr {
        display: flex !important;
        flex-direction: column !important;
        background-color: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: var(--shadow-sm);
    }
    .custom-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border: none !important;
        padding: 8px 0 !important;
        white-space: normal !important;
        text-align: right !important;
    }
    .custom-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.75rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        float: left;
        margin-right: 15px;
    }
    .custom-table td:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 12px !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }
    .custom-table td:first-child::before {
        margin-bottom: 6px;
        float: none;
    }
    .custom-table td:last-child {
        justify-content: flex-end !important;
        gap: 8px;
        border-top: 1px solid #f1f5f9 !important;
        padding-top: 12px !important;
        margin-top: 8px !important;
    }
    .custom-table td:last-child::before {
        display: none !important;
    }
}

.logo-partner-tag {
    background-color: #f97316; /* Bright orange highlight */
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 10px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: inline-block;
}

/* Floating Go to Top Button */
.go-to-top-btn {
    position: fixed;
    bottom: 84px; /* Positioned directly above the Help & Support button */
    right: 24px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(13, 43, 94, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 999;
}

.go-to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.go-to-top-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* Dashboard Footer Copyright */
.dash-footer {
    text-align: center;
    padding: 24px 0 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .go-to-top-btn {
        bottom: 88px; /* Stand above bottom floating mobile nav */
        right: 16px;
    }
}

/* Terms Page Styles */
.terms-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.terms-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .terms-section {
        padding: 30px 12px;
    }
    .terms-container {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   DROPDOWN NAVIGATION MENU
   ========================================================================== */
.land-nav-dropdown {
    position: relative;
    display: inline-block;
}

.land-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 190px;
    z-index: 1000;
    padding: 8px 0;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.land-nav-dropdown:hover .land-dropdown-menu,
.land-dropdown-menu.show {
    display: block;
}

.land-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-primary) !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-align: left;
    white-space: nowrap;
}

.land-dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.land-dropdown-item:hover {
    background-color: var(--primary-light-solid);
    color: var(--primary-color) !important;
}

.land-dropdown-item:hover i {
    color: var(--primary-color);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for mobile dropdown */
@media (max-width: 768px) {
    .land-nav-dropdown {
        display: block;
        width: 100%;
    }
    .land-dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.03);
        margin-top: 4px;
        padding: 0;
        width: 100%;
    }
    .land-dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .land-dropdown-item i {
        color: rgba(255, 255, 255, 0.6);
    }
    .land-dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--accent-color) !important;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ==========================================================================
   BLOG CARDS STYLES
   ========================================================================== */
.blog-card-dash {
    background-color: var(--bg-white, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-dash:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-card-img-sec {
    height: 160px;
    position: relative;
    background-color: #f1f5f9;
}

.blog-card-img-sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-card-category-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted, #64748b);
}

.blog-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary, #475569);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.blog-card-author-sec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    padding-top: 8px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    margin-top: auto;
}

.blog-card-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--text-primary, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.blog-card-author-info {
    display: flex;
    flex-direction: column;
}

.blog-card-author-name {
    font-weight: 600;
    color: var(--text-primary, #0f172a);
}

.blog-card-author-writtenby {
    font-size: 0.68rem;
    color: var(--text-muted, #64748b);
}

.blog-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background-color: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    text-align: center;
    font-weight: 600;
}

.blog-card-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-card-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
    text-transform: uppercase;
}

.blog-card-stat-value {
    color: var(--text-primary, #0f172a);
}

.blog-card-actions {
    padding: 12px 16px;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
}

.blog-card-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

