/* ========================================
   PropVend - Property Vendor Platform
   Professional Real Estate Design
   ======================================== */

/* Google Fonts - Playfair Display for headings, Poppins for body */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors - Golden/Tan */
    --primary-900: #7a6b54;
    --primary-800: #8a7a62;
    --primary-700: #9E8B6E;
    --primary-600: #a89b83;
    --primary-500: #b8ac96;
    /* Accent Colors - Golden */
    --accent-500: #9E8B6E;
    --accent-400: #a89b83;
    --accent-300: #b8ac96;
    --accent-200: #c9c0ae;
    --accent-glow: rgba(158, 139, 110, 0.2);
    /* Secondary Colors - Gray */
    --secondary-500: #606060;
    --secondary-400: #707070;
    --secondary-300: #808080;
    /* Danger/Reject */
    --coral-500: #dc3545;
    --coral-400: #e04555;
    --coral-300: #e56575;
    /* Neutral Colors - Light Theme */
    --neutral-50: #ffffff;
    --neutral-100: #f8f8f8;
    --neutral-200: #f0f0f0;
    --neutral-300: #e0e0e0;
    --neutral-400: #a0a0a0;
    --neutral-500: #707070;
    --neutral-600: #505050;
    --neutral-700: #404040;
    --neutral-800: #303030;
    --neutral-900: #1a1a1a;
    /* Semantic Colors */
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --info: #17a2b8;
    /* White */
    --white-color: #ffffff;
    --golden-text: #9E8B6E;
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-700);
    background: var(--neutral-100);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-800);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--neutral-600);
    font-size: 1rem;
}

a {
    color: var(--accent-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    a:hover {
        color: var(--primary-900);
    }

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}



/* Hero Animation Styles */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f3 50%, #f5f2ed 100%);
}

/* Animated Background Container */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--accent-500);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    top: 60%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--secondary-400);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.shape-3 {
    top: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: var(--accent-400);
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape-4 {
    bottom: 10%;
    right: 25%;
    width: 150px;
    height: 150px;
    background: var(--accent-500);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) rotate(3deg) scale(1.02);
    }
}

/* Grid Pattern Overlay */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(158, 139, 110, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(158, 139, 110, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-500);
    border-radius: 50%;
    opacity: 0.2;
    animation: particleFloat 15s ease-in-out infinite;
}

    .particle:nth-child(1) {
        left: 10%;
        top: 20%;
        animation-delay: 0s;
        animation-duration: 18s;
    }

    .particle:nth-child(2) {
        left: 20%;
        top: 80%;
        animation-delay: -2s;
        animation-duration: 15s;
    }

    .particle:nth-child(3) {
        left: 35%;
        top: 30%;
        animation-delay: -4s;
        animation-duration: 20s;
    }

    .particle:nth-child(4) {
        left: 50%;
        top: 70%;
        animation-delay: -6s;
        animation-duration: 16s;
    }

    .particle:nth-child(5) {
        left: 65%;
        top: 15%;
        animation-delay: -8s;
        animation-duration: 22s;
    }

    .particle:nth-child(6) {
        left: 75%;
        top: 60%;
        animation-delay: -10s;
        animation-duration: 17s;
    }

    .particle:nth-child(7) {
        left: 85%;
        top: 35%;
        animation-delay: -12s;
        animation-duration: 19s;
    }

    .particle:nth-child(8) {
        left: 90%;
        top: 85%;
        animation-delay: -14s;
        animation-duration: 21s;
    }

    .particle:nth-child(9) {
        left: 5%;
        top: 50%;
        animation-delay: -3s;
        animation-duration: 18s;
    }

    .particle:nth-child(10) {
        left: 45%;
        top: 45%;
        animation-delay: -7s;
        animation-duration: 16s;
    }

@@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px) translateX(-15px);
        opacity: 0.15;
    }

    75% {
        transform: translateY(-60px) translateX(10px);
        opacity: 0.35;
    }
}

/* Animated Lines */
.animated-lines {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-400), transparent);
    opacity: 0.15;
    animation: lineFall 8s linear infinite;
}

    .line:nth-child(1) {
        right: 10%;
        animation-delay: 0s;
    }

    .line:nth-child(2) {
        right: 25%;
        animation-delay: -2s;
        height: 150px;
    }

    .line:nth-child(3) {
        right: 40%;
        animation-delay: -4s;
        height: 80px;
    }

    .line:nth-child(4) {
        right: 55%;
        animation-delay: -6s;
        height: 120px;
    }

    .line:nth-child(5) {
        right: 70%;
        animation-delay: -1s;
        height: 90px;
    }

@@keyframes lineFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Decorative Circles */
.deco-circles {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.deco-circle {
    position: absolute;
    border: 1px solid var(--accent-400);
    border-radius: 50%;
    opacity: 0.2;
    animation: circleRotate 30s linear infinite;
}

    .deco-circle:nth-child(1) {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        animation-duration: 40s;
    }

    .deco-circle:nth-child(2) {
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
        animation-duration: 35s;
        animation-direction: reverse;
    }

    .deco-circle:nth-child(3) {
        width: 60%;
        height: 60%;
        top: 20%;
        left: 20%;
        animation-duration: 30s;
    }

    .deco-circle:nth-child(4) {
        width: 40%;
        height: 40%;
        top: 30%;
        left: 30%;
        animation-duration: 25s;
        animation-direction: reverse;
    }

@@keyframes circleRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* House Icon Animation */
.hero-house-icon {
    position: absolute;
    right: 21%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    z-index: 1;
}

.house-svg {
    width: 100%;
    height: 100%;
    animation: houseFloat 6s ease-in-out infinite;
}

    .house-svg path,
    .house-svg rect,
    .house-svg polygon {
        stroke: var(--accent-500);
        stroke-width: 1.5;
        fill: none;
    }

    .house-svg .house-fill {
        fill: rgba(158, 139, 110, 0.08);
    }

@@keyframes houseFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Glowing Dots */
.glow-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glow-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-500), 0 0 20px var(--accent-400);
    animation: glowPulse 3s ease-in-out infinite;
}

    .glow-dot:nth-child(1) {
        left: 15%;
        top: 25%;
        animation-delay: 0s;
    }

    .glow-dot:nth-child(2) {
        left: 25%;
        top: 65%;
        animation-delay: -1s;
    }

    .glow-dot:nth-child(3) {
        left: 70%;
        top: 20%;
        animation-delay: -2s;
    }

    .glow-dot:nth-child(4) {
        left: 80%;
        top: 75%;
        animation-delay: -0.5s;
    }

    .glow-dot:nth-child(5) {
        left: 55%;
        top: 85%;
        animation-delay: -1.5s;
    }

@@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* Hero Content Styling */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Stats Bar */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(158, 139, 110, 0.2);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-500);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

@@media (max-width: 1024px) {
    .deco-circles,
    .hero-house-icon,
    .animated-lines {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }
}

@@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }

    .stat-item {
        text-align: center;
    }
}

/* Language Button Styling */
.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent-500, #9e8b6e);
    background: var(--accent-500, #9e8b6e);
    color: var(--white-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

    .language-btn:hover {
        background: var(--primary-700, #9E8B6E);
        border-color: var(--primary-700, #9E8B6E);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(158, 139, 110, 0.3);
    }

    .language-btn:active {
        transform: translateY(0);
    }

/* Ensure the language button stands out in the nav */
.nav-actions .language-btn {
    margin-right: 0.5rem;
}

[dir="rtl"] .nav-actions .language-btn {
    margin-right: 0;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ========================================
   NAVIGATION - Golden Header
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--neutral-200);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-500);
}

.logo-block {
    display: flex;
    align-items: center;
}

    .logo-block a {
        display: flex;
        align-items: center;
        gap: var(--space-4);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .logo-block img {
        height: 85px;
        width: auto;
        max-width: 300px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-500);
    white-space: nowrap;
}

.logo-block a:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

    .nav-links a {
        color: var(--neutral-700);
        font-weight: 500;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all var(--transition-fast);
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-500);
            transition: width var(--transition-base);
        }

        .nav-links a:hover {
            color: var(--accent-500);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Language Toggle */
.lang-toggle {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-500);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

    .lang-toggle:hover {
        transform: scale(1.05);
    }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--accent-500);
        border-radius: 2px;
        transition: all var(--transition-base);
    }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-500);
    color: var(--white-color);
    box-shadow: 0 4px 15px var(--accent-glow);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background: var(--primary-900);
        color: var(--white-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px var(--accent-glow);
    }

.btn-secondary {
    background: var(--white-color);
    color: var(--accent-500);
    border: 2px solid var(--accent-500);
}

    .btn-secondary:hover {
        background: var(--accent-500);
        color: var(--white-color);
    }

.btn-ghost {
    background: transparent;
    color: var(--white-color);
    padding: var(--space-2) var(--space-4);
}

    .btn-ghost:hover {
        opacity: 0.8;
        color: var(--white-color);
    }

.btn-success {
    background: var(--success);
    color: var(--white-color);
}

    .btn-success:hover {
        background: #218838;
        color: var(--white-color);
    }

.btn-danger {
    background: var(--error);
    color: var(--white-color);
}

    .btn-danger:hover {
        background: #c82333;
        color: var(--white-color);
    }

.btn-lg {
    padding: var(--space-4) var(--space-10);
    font-size: 0.9375rem;
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: 0.8125rem;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--neutral-700);
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-800);
    background: var(--white-color);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

    .form-input::placeholder {
        color: var(--neutral-400);
    }

    .form-input:focus {
        border-color: var(--accent-500);
        box-shadow: 0 0 0 3px var(--accent-glow);
    }

    .form-input.error {
        border-color: var(--error);
    }

    .form-input.success {
        border-color: var(--success);
    }

.form-error {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--error);
}

.form-hint {
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    pointer-events: none;
}

.input-wrapper .form-input {
    padding-left: calc(var(--space-4) + 24px + var(--space-3));
}

.password-toggle {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: var(--space-1);
    transition: color var(--transition-fast);
}

    .password-toggle:hover {
        color: var(--neutral-600);
    }

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
}

    .form-check input {
        width: 18px;
        height: 18px;
        accent-color: var(--accent-500);
        cursor: pointer;
    }

.form-check-label {
    font-size: 0.9375rem;
    color: var(--neutral-600);
}

/* Multiple Select Dropdown Styling */
select[multiple].form-control option:checked {
    background-color: var(--accent-500);
    color: var(--white-color);
}

select[multiple].form-control option {
    padding: var(--space-2) var(--space-3); /* Add some padding for better appearance */
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--white-color);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

    .card:hover {
        box-shadow: var(--shadow-lg);
    }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-16);
    position: relative;
    overflow: hidden;
    background: var(--white-color);
}

/* Decorative Shape */
/*.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 600px;
  background: 
    radial-gradient(ellipse at 30% 50%, var(--accent-400) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, var(--secondary-300) 0%, transparent 40%);
  opacity: 0.3;
  pointer-events: none;
}*/

.hero-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(158, 139, 110, 0.1);
    border: 1px solid var(--accent-300);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-500);
    margin-bottom: var(--space-6);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    margin-bottom: var(--space-6);
    color: var(--neutral-800);
}

    .hero h1 .gradient-text {
        color: var(--accent-500);
    }

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-8);
    color: var(--neutral-600);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    z-index: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: var(--space-20) 0;
    background: var(--neutral-100);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

    .section-header h2 {
        margin-bottom: var(--space-4);
        color: var(--accent-500);
    }

    .section-header p {
        font-size: 1.0625rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    padding: var(--space-8);
    text-align: center;
    background: var(--white-color);
    border: none;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-5);
    background: rgba(158, 139, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-500);
}

.feature-card h4 {
    margin-bottom: var(--space-3);
    color: var(--neutral-800);
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-4);
    background: var(--neutral-100);
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

    .auth-header .logo {
        justify-content: center;
        margin-bottom: var(--space-6);
        color: var(--accent-500);
    }

    .auth-header .logo-icon {
        background: var(--accent-500);
        color: var(--white-color);
    }

    .auth-header h1 {
        font-size: 1.75rem;
        margin-bottom: var(--space-2);
        color: var(--neutral-800);
    }

    .auth-header p {
        color: var(--neutral-500);
    }

.auth-card {
    background: var(--white-color);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease-out;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    color: var(--neutral-400);
    font-size: 0.875rem;
}

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--neutral-200);
    }

.auth-footer {
    text-align: center;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--neutral-200);
}

    .auth-footer p {
        font-size: 0.9375rem;
    }

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.forgot-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-500);
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    gap: var(--space-3);
}

.btn-social {
    flex: 1;
    background: var(--white-color);
    border: 1px solid var(--neutral-300);
    color: var(--neutral-700);
    text-transform: none;
    letter-spacing: 0;
}

    .btn-social:hover {
        background: var(--neutral-100);
        color: var(--neutral-800);
        border-color: var(--neutral-400);
    }

/* ========================================
   LISTING PAGE
   ======================================== */
.listing-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--neutral-100);
}

.listing-header {
    padding: var(--space-8) 0;
    margin-bottom: var(--space-6);
}

.listing-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

    .listing-title h1 {
        color: var(--accent-500);
    }

/* Search & Filters */
.search-filters {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 280px;
    position: relative;
}

    .search-box .form-input {
        padding-left: calc(var(--space-4) + 20px + var(--space-3));
        background: var(--white-color);
    }

.search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
}

.filter-group {
    display: flex;
    gap: var(--space-2);
}

.filter-btn {
    padding: var(--space-3) var(--space-5);
    background: var(--white-color);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-full);
    color: var(--neutral-600);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

    .filter-btn:hover {
        border-color: var(--accent-500);
        color: var(--accent-500);
    }

    .filter-btn.active {
        background: var(--accent-500);
        border-color: var(--accent-500);
        color: var(--white-color);
    }

/* ========================================
   PROPERTY LISTING TABLE
   ======================================== */
.property-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white-color);
}

    .property-table thead {
        background: var(--neutral-100);
    }

    .property-table th {
        padding: var(--space-4) var(--space-5);
        text-align: left;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--accent-500);
        border-bottom: 2px solid var(--accent-300);
    }

    .property-table td {
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--neutral-200);
        vertical-align: middle;
        font-size: 0.9rem;
    }

    .property-table tbody tr {
        transition: background var(--transition-fast);
    }

        .property-table tbody tr:hover {
            background: var(--neutral-100);
        }

.property-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.property-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--neutral-200);
}

    .property-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.property-details h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-1);
}

.property-details p {
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

.property-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-500);
}

.property-type {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(158, 139, 110, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .property-status.pending {
        background: rgba(255, 193, 7, 0.15);
        color: #b38600;
    }

    .property-status.approved {
        background: rgba(40, 167, 69, 0.15);
        color: var(--success);
    }

    .property-status.rejected {
        background: rgba(220, 53, 69, 0.15);
        color: var(--error);
    }

.property-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.property-actions {
    display: flex;
    gap: var(--space-2);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .action-btn.approve {
        background: rgba(40, 167, 69, 0.1);
        color: var(--success);
        border: 1px solid rgba(40, 167, 69, 0.3);
    }

        .action-btn.approve:hover {
            background: var(--success);
            color: var(--white-color);
        }

    .action-btn.reject {
        background: rgba(220, 53, 69, 0.1);
        color: var(--error);
        border: 1px solid rgba(220, 53, 69, 0.3);
    }

        .action-btn.reject:hover {
            background: var(--error);
            color: var(--white-color);
        }

    .action-btn.view {
        background: rgba(158, 139, 110, 0.1);
        color: var(--accent-500);
        border: 1px solid rgba(158, 139, 110, 0.3);
    }

        .action-btn.view:hover {
            background: var(--accent-500);
            color: var(--white-color);
        }

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--white-color);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(158, 139, 110, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-500);
}

    .stat-icon.success {
        background: rgba(40, 167, 69, 0.1);
        color: var(--success);
    }

    .stat-icon.warning {
        background: rgba(255, 193, 7, 0.15);
        color: #b38600;
    }

    .stat-icon.danger {
        background: rgba(220, 53, 69, 0.1);
        color: var(--error);
    }

.stat-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0;
    line-height: 1;
}

.stat-content p {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: var(--space-1);
}

/* Responsive Table */
@media (max-width: 1024px) {
    .property-table-wrapper {
        overflow-x: auto;
    }

    .property-table {
        min-width: 900px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-8) 0;
}

.page-btn {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-color);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    color: var(--neutral-600);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

    .page-btn:hover:not(:disabled) {
        border-color: var(--accent-500);
        color: var(--accent-500);
    }

    .page-btn.active {
        background: var(--accent-500);
        border-color: var(--accent-500);
        color: var(--white-color);
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.page-ellipsis {
    color: var(--neutral-400);
    padding: 0 var(--space-2);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-6) 0;
    background: var(--neutral-800);
    color: var(--neutral-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    color: var(--white-color);
    margin-bottom: var(--space-4);
}

.footer-brand .logo-icon {
    background: var(--accent-500);
    color: var(--white-color);
}

.footer-brand p {
    margin-bottom: var(--space-6);
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--neutral-400);
    transition: all var(--transition-base);
}

    .social-link:hover {
        background: var(--accent-500);
        border-color: var(--accent-500);
        color: var(--white-color);
    }

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-5);
    color: var(--white-color);
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: var(--space-3);
    }

    .footer-links a {
        color: var(--neutral-400);
        font-size: 0.9375rem;
        transition: color var(--transition-fast);
    }

        .footer-links a:hover {
            color: var(--accent-400);
        }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

    .footer-bottom p {
        font-size: 0.875rem;
        color: var(--neutral-500);
    }

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

    .footer-legal a {
        font-size: 0.875rem;
        color: var(--neutral-500);
    }

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-500);
}

.text-muted {
    color: var(--neutral-500);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        background: var(--accent-500);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

        .nav-links.active {
            opacity: 1;
            visibility: visible;
        }

        .nav-links a {
            font-size: 1.25rem;
        }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-actions {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: var(--space-6);
    }

    .search-filters {
        flex-direction: column;
    }

 

    .filter-group {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .social-auth {
        flex-direction: column;
    }

    .listing-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* Print Styles */
@media print {
    .nav,
    .footer {
        display: none;
    }
}

/* ========================================
   VENDOR REGISTRATION PAGE
   ======================================== */
.vendor-registration-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 20px 30px 20px;
    /*background-color: var(--white-color);*/
}

.vendor-header {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 0;
}

    .vendor-header h1 {
        color: var(--neutral-800);
        font-size: 28px;
        font-weight: 600;
        margin: 0;
    }

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 30px 0 20px 0;
    padding-bottom: 0;
    padding: 10px 15px;
    background: #f5f2ed;
    border-radius: 10px;
}

.field-validation-error {
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.text-danger-required {
    color: var(--error);
    margin-left: 2px;
}

#venderRegisterForm {
    border: #eee solid 1px;
    border-radius: 15px;
    background: var(--white-color);
    padding: 0px 20px 30px 20px;
}

.form-control-file {
    width: 100%;
    display: block;
    width: 100%;
    padding: 0.375rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: var(--radius-md);
}

.file-info {
    font-size: 12px;
    color: var(--neutral-500);
    margin-top: 5px;
    display: inline-block;
}

.hijri-date-group {
    display: flex;
    gap: 10px;
}

    .hijri-date-group .form-control {
        flex: 1;
    }

.btn-submit {
    background-color: var(--accent-500);
    color: var(--white-color);
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-top: 30px;
    transition: all var(--transition-base);
}

    .btn-submit:hover {
        background-color: var(--primary-900);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px var(--accent-glow);
    }

.documents-section {
    margin-top: 20px;
}

    .documents-section h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--neutral-800);
    }

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    margin-bottom: 15px;
}

    .document-item strong {
        display: block;
        margin-bottom: 8px;
        color: var(--neutral-800);
        font-size: 1rem;
    }

.legal-document-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background-color: var(--white-color);
}

    .legal-document-item .form-group {
        margin-bottom: 0;
    }

/* Multi-select styling for category-specific fields */
select[multiple] {
    min-height: 120px;
    padding: 8px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background-color: var(--white-color);
}

    select[multiple]:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    select[multiple] option {
        padding: 5px;
        margin: 2px 0;
    }

        select[multiple] option:checked {
            background-color: var(--primary-color);
            color: var(--white-color);
        }

/* ========================================
   RTL (Right-to-Left) Support for Arabic
   ======================================== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

    [dir="rtl"] .nav-links {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .nav-actions {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .hero-actions {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .hero-stats {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .form-group {
        text-align: right;
    }

    [dir="rtl"] .form-label {
        text-align: right;
    }

    [dir="rtl"] .input-wrapper {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .input-icon {
        margin-right: 0;
        margin-left: 12px;
    }

    [dir="rtl"] .text-right {
        text-align: left !important;
    }

    [dir="rtl"] .text-left {
        text-align: right !important;
    }

    [dir="rtl"] .btn {
        direction: rtl;
    }

    [dir="rtl"] .auth-footer {
        text-align: right;
    }

    [dir="rtl"] .footer-grid {
        direction: rtl;
    }

    [dir="rtl"] .footer-links {
        text-align: right;
    }

    [dir="rtl"] .vendor-registration-container {
        direction: rtl;
    }

    [dir="rtl"] .section-title {
        text-align: right;
    }

    [dir="rtl"] .vendor-header {
        text-align: center;
    }

    [dir="rtl"] .form-control {
        text-align: right;
    }

    [dir="rtl"] .hijri-date-group {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .file-preview-container {
        direction: rtl;
    }

    [dir="rtl"] .detail-value {
        text-align: right;
    }

    [dir="rtl"] .listing-title {
        text-align: right;
    }

    [dir="rtl"] .search-box {
        direction: rtl;
    }

        [dir="rtl"] .search-box input {
            padding-right: 40px;
            padding-left: 12px;
        }

        [dir="rtl"] .search-box svg {
            right: 12px;
            left: auto;
        }

    [dir="rtl"] .property-table {
        direction: rtl;
    }

        [dir="rtl"] .property-table th,
        [dir="rtl"] .property-table td {
            text-align: right;
        }

    [dir="rtl"] .property-actions {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .pagination {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .stat-item {
        text-align: right;
    }

    [dir="rtl"] .hero-house-icon {
        right: auto;
        left: 12%;
    }

    [dir="rtl"] .animated-lines {
        right: auto;
        left: 0;
    }

    [dir="rtl"] .deco-circles {
        right: auto;
        left: 5%;
    }

/* ========================================
   VENDOR DETAIL PAGE - CLEAN DESIGN
   ======================================== */
.detail-container {
    max-width: 1280px;
    margin: 120px auto 40px;
    padding: 0 20px;
}

.detail-header {
    margin-bottom: 30px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--neutral-800);
    margin-bottom: 20px;
    font-weight: 600;
}

.detail-list {
    background: var(--white-color);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    padding: 18px 24px;
    border-bottom: 1px solid var(--neutral-200);
    transition: background-color 0.2s ease;
}

    .detail-item:last-child {
        border-bottom: none;
    }

    .detail-item:hover {
        background-color: var(--neutral-100);
    }

.detail-label {
    flex: 0 0 280px;
    font-weight: 500;
    color: var(--accent-500);
    font-size: 0.95rem;
    padding-right: 20px;
}

.detail-value {
    flex: 1;
    color: var(--neutral-700);
    font-size: 0.9rem;
    word-break: break-word;
}

.detail-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--accent-500);
    color: var(--white-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: 44px;
    white-space: nowrap;
}

    .detail-back-btn:hover {
        background: var(--primary-700);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(158, 139, 110, 0.3);
        color: var(--white-color);
        text-decoration: none;
    }

    .detail-back-btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.action-btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    height: 44px;
    white-space: nowrap;
}

    .action-btn-detail svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .action-btn-detail.btn-success {
        background: var(--success);
        color: var(--white-color);
    }

    .action-btn-detail.btn-success:hover {
        background: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

    .action-btn-detail.btn-danger {
        background: var(--error);
        color: var(--white-color);
    }

    .action-btn-detail.btn-danger:hover {
        background: #c82333;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }

/* Detail page header alignment */
.vendor-header .detail-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--neutral-800);
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments for detail page header */
@media (max-width: 768px) {
    .detail-back-btn,
    .action-btn-detail {
        padding: 10px 18px;
        font-size: 0.85rem;
        height: 40px;
    }
    
    .vendor-header .detail-title {
        font-size: 1.5rem;
    }
}

.detail-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-500);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-500);
    font-weight: 600;
}

.detail-file-link {
    color: var(--accent-500);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .detail-file-link:hover {
        color: var(--primary-700);
        text-decoration: underline;
    }

/* RTL Support */
[dir="rtl"] .detail-label {
    padding-right: 0;
    padding-left: 20px;
    text-align: right;
}

[dir="rtl"] .detail-value {
    text-align: right;
}

@media (max-width: 768px) {
    .detail-item {
        flex-direction: column;
        gap: 8px;
    }

    .detail-label {
        flex: none;
        padding-right: 0;
    }

    .detail-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   Toast Notification Styles
   ======================================== */

.toast-container {
    z-index: 9999 !important;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    animation: slideInRight 0.3s ease-out;
}

.toast-body {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

    .toast-body i {
        font-size: 1.25rem;
    }

.toast.bg-success {
    background-color: #28a745 !important;
}

.toast.bg-danger {
    background-color: #dc3545 !important;
}

.toast.bg-info {
    background-color: #17a2b8 !important;
}

.toast.bg-warning {
    background-color: #ffc107 !important;
}

/* Toast Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* RTL Support for Toast */
[dir="rtl"] .toast-container {
    left: 0 !important;
    right: auto !important;
}

[dir="rtl"] .toast {
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Toast */
@media (max-width: 576px) {
    .toast-container {
        width: 100%;
        padding: 0.75rem !important;
    }

    .toast {
        min-width: 100%;
        max-width: 100%;
    }
}

}



.property-table-wrapper .property-table tr td {
    font-size: 12px !important;
}

.property-table-wrapper .property-table .property-details {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.custom-select-field {
    position: relative;
    width: 100%;
}

    .custom-select-field::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 14px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #333;
        transform: translateY(-50%);
        pointer-events: none;
    }

@media(max-width:1440px) {
    .deco-circles {
        right: 13%;
        top: 55%;
    }
}




/* Hero Animation Styles */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f3 50%, #f5f2ed 100%);
}

/* Animated Background Container */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--accent-500);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    top: 60%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--secondary-400);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.shape-3 {
    top: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: var(--accent-400);
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape-4 {
    bottom: 10%;
    right: 25%;
    width: 150px;
    height: 150px;
    background: var(--accent-500);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) rotate(3deg) scale(1.02);
    }
}

/* Grid Pattern Overlay */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(158, 139, 110, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(158, 139, 110, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-500);
    border-radius: 50%;
    opacity: 0.2;
    animation: particleFloat 15s ease-in-out infinite;
}

    .particle:nth-child(1) {
        left: 10%;
        top: 20%;
        animation-delay: 0s;
        animation-duration: 18s;
    }

    .particle:nth-child(2) {
        left: 20%;
        top: 80%;
        animation-delay: -2s;
        animation-duration: 15s;
    }

    .particle:nth-child(3) {
        left: 35%;
        top: 30%;
        animation-delay: -4s;
        animation-duration: 20s;
    }

    .particle:nth-child(4) {
        left: 50%;
        top: 70%;
        animation-delay: -6s;
        animation-duration: 16s;
    }

    .particle:nth-child(5) {
        left: 65%;
        top: 15%;
        animation-delay: -8s;
        animation-duration: 22s;
    }

    .particle:nth-child(6) {
        left: 75%;
        top: 60%;
        animation-delay: -10s;
        animation-duration: 17s;
    }

    .particle:nth-child(7) {
        left: 85%;
        top: 35%;
        animation-delay: -12s;
        animation-duration: 19s;
    }

    .particle:nth-child(8) {
        left: 90%;
        top: 85%;
        animation-delay: -14s;
        animation-duration: 21s;
    }

    .particle:nth-child(9) {
        left: 5%;
        top: 50%;
        animation-delay: -3s;
        animation-duration: 18s;
    }

    .particle:nth-child(10) {
        left: 45%;
        top: 45%;
        animation-delay: -7s;
        animation-duration: 16s;
    }

@@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px) translateX(-15px);
        opacity: 0.15;
    }

    75% {
        transform: translateY(-60px) translateX(10px);
        opacity: 0.35;
    }
}

/* Animated Lines */
.animated-lines {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-400), transparent);
    opacity: 0.15;
    animation: lineFall 8s linear infinite;
}

    .line:nth-child(1) {
        right: 10%;
        animation-delay: 0s;
    }

    .line:nth-child(2) {
        right: 25%;
        animation-delay: -2s;
        height: 150px;
    }

    .line:nth-child(3) {
        right: 40%;
        animation-delay: -4s;
        height: 80px;
    }

    .line:nth-child(4) {
        right: 55%;
        animation-delay: -6s;
        height: 120px;
    }

    .line:nth-child(5) {
        right: 70%;
        animation-delay: -1s;
        height: 90px;
    }

@@keyframes lineFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Decorative Circles */
.deco-circles {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.deco-circle {
    position: absolute;
    border: 1px solid var(--accent-400);
    border-radius: 50%;
    opacity: 0.2;
    animation: circleRotate 30s linear infinite;
}

    .deco-circle:nth-child(1) {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        animation-duration: 40s;
    }

    .deco-circle:nth-child(2) {
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
        animation-duration: 35s;
        animation-direction: reverse;
    }

    .deco-circle:nth-child(3) {
        width: 60%;
        height: 60%;
        top: 20%;
        left: 20%;
        animation-duration: 30s;
    }

    .deco-circle:nth-child(4) {
        width: 40%;
        height: 40%;
        top: 30%;
        left: 30%;
        animation-duration: 25s;
        animation-direction: reverse;
    }

@@keyframes circleRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* House Icon Animation */
.hero-house-icon {
    position: absolute;
    right: 21%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    z-index: 1;
}

.house-svg {
    width: 100%;
    height: 100%;
    animation: houseFloat 6s ease-in-out infinite;
}

    .house-svg path,
    .house-svg rect,
    .house-svg polygon {
        stroke: var(--accent-500);
        stroke-width: 1.5;
        fill: none;
    }

    .house-svg .house-fill {
        fill: rgba(158, 139, 110, 0.08);
    }

@@keyframes houseFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Glowing Dots */
.glow-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glow-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-500), 0 0 20px var(--accent-400);
    animation: glowPulse 3s ease-in-out infinite;
}

    .glow-dot:nth-child(1) {
        left: 15%;
        top: 25%;
        animation-delay: 0s;
    }

    .glow-dot:nth-child(2) {
        left: 25%;
        top: 65%;
        animation-delay: -1s;
    }

    .glow-dot:nth-child(3) {
        left: 70%;
        top: 20%;
        animation-delay: -2s;
    }

    .glow-dot:nth-child(4) {
        left: 80%;
        top: 75%;
        animation-delay: -0.5s;
    }

    .glow-dot:nth-child(5) {
        left: 55%;
        top: 85%;
        animation-delay: -1.5s;
    }

@@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* Hero Content Styling */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Stats Bar */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(158, 139, 110, 0.2);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-500);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

@@media (max-width: 1024px) {
    .deco-circles,
    .hero-house-icon,
    .animated-lines {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }
}

@@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }

    .stat-item {
        text-align: center;
    }
}

/* Language Button Styling */
.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent-500, #9e8b6e);
    background: var(--accent-500, #9e8b6e);
    color: var(--white-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

    .language-btn:hover {
        background: var(--primary-700, #9E8B6E);
        border-color: var(--primary-700, #9E8B6E);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(158, 139, 110, 0.3);
    }

    .language-btn:active {
        transform: translateY(0);
    }

/* Ensure the language button stands out in the nav */
.nav-actions .language-btn {
    margin-right: 0.5rem;
}

[dir="rtl"] .nav-actions .language-btn {
    margin-right: 0;
    margin-left: 0.5rem;
}
.property-table{font-size:14px;}
    .property-table .property-details {
        display: -webkit-box;
        -webkit-line-clamp: 2; /* number of lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }

/* ========================================
   Global Loader Styles
   ======================================== */

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.loader-container {
    text-align: center;
    animation: slideUp 0.5s ease-out;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.loader-logo-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 100px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(158, 139, 110, 0.3));
}

.loader-spinner {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 4px solid transparent;
    border-top-color: var(--accent-500);
    border-right-color: var(--accent-400);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-spinner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-bottom-color: var(--accent-300);
    border-left-color: var(--accent-200);
    border-radius: 50%;
    animation: spinReverse 1.5s linear infinite;
}

.loader-text {
    margin-top: 1rem;
}

.loader-message {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-500);
    display: block;
    margin-bottom: 0.5rem;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loader-dots .dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-500);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.loader-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* RTL Support */
[dir="rtl"] .loader-spinner {
    animation: spinReverse 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

[dir="rtl"] .loader-spinner::before {
    animation: spin 1.5s linear infinite;
}

/* Responsive */
@media (max-width: 576px) {
    .loader-container {
        padding: 2rem 2.5rem;
        margin: 0 1rem;
    }
    
    .loader-logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .loader-logo {
        width: 80px;
    }
    
    .loader-spinner {
        width: 110px;
        height: 110px;
    }
    
    .loader-message {
        font-size: 1.1rem;
    }
}
