/* Sakarya Konut Borsası - Ana CSS */

/* Custom Properties (CSS Variables) */
:root {
    --primary-color: #04243c;
    --secondary-color: #000000;
    --light-color: #1aa677;
    --pale-color: #a8d4b0;
    --bg-color: #06243c05;
    
    /* Neutral Colors */
    --dark-gray: #2c3e50;
    --medium-gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --black: #1a1a1a;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e0e0e0;
    --color-gray-300: #bdbdbd;
    --color-gray-400: #9e9e9e;
    --color-gray-500: #757575;
    --color-gray-600: #616161;
    --color-gray-700: #424242;
    --color-gray-800: #212121;
    --color-gray-900: #111111;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

a{
    text-decoration: none !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--spacing-md) 0;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

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

.btn-secondary{
    background-color: var(--light-color);
    border: unset;
    color: var(--white);
}

.pointer{
    cursor: pointer;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--pale-color);
    font-weight: var(--font-weight-medium);
    background-color: #fff;
    padding: 20px;
}

/* Forms */
.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 110, 62, 0.25);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

/* Navigation */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: none !important;
    min-height: 85px;
    padding: 0;
    z-index: 1030;
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    color: var(--white) !important;
    font-size: 1.5rem;
    text-decoration: none !important;
    transition: transform var(--transition-fast);
}

.navbar-brand .logo {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--white) !important;
    transition: all var(--transition-fast);
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--radius-sm);
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-link:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Search Bar */
.search-container {
    margin: 0 auto;
}

.search-input {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-input:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.search-input::placeholder {
    color: var(--medium-gray);
    font-style: normal;
    padding: 8px 0;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-xs);
    min-width: 200px;
}

.dropdown-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: var(--font-weight-normal);
    color: var(--dark-gray);
    transition: all var(--transition-fast);
    border-radius: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-color) !important;
    color: var(--primary-color) !important;
    transform: translateX(4px);
    text-decoration: none;
}

.dropdown-item i {
    width: 16px;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

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

.dropdown-divider {
    margin: var(--spacing-sm) var(--spacing-md);
    border-color: var(--pale-color);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Button Styles in Header */
.navbar .btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-width: 100px;
    text-align: center;
}

.navbar .btn-outline-primary {
    color: var(--white);
    border-color: var(--white);
}

.navbar .btn-outline-primary:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.navbar .btn-primary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Navbar Spacer */
.navbar-spacer {
    flex-shrink: 0;
}

/* Modern Offcanvas Styles */
.modern-offcanvas {
    width: 320px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.modern-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.modern-offcanvas .btn-close {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    width: 32px;
    height: 32px;
    opacity: 1;
}

.modern-offcanvas .btn-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.search-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.modern-search-input {
    border: 1px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 50px 12px 20px;
    background: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.search-btn {
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: none;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    flex: 1;
}

.nav-section {
    padding: 16px 0;
}

.nav-item-modern {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin: 4px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: calc(100% - 16px);
}

.nav-item-modern:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    transform: translateX(4px);
    text-decoration: none;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.2s ease;
}

.nav-item-modern:hover .nav-icon {
    background: var(--primary-color);
    color: white;
}

.nav-text {
    flex: 1;
    font-weight: 500;
    font-size: 15px;
}

.nav-arrow {
    font-size: 12px;
    color: var(--medium-gray);
    transition: all 0.2s ease;
}

.nav-item-modern:hover .nav-arrow {
    color: var(--primary-color);
}

.kurumsal-arrow {
    transition: transform 0.2s ease;
}

.nav-item-modern[aria-expanded="true"] .kurumsal-arrow {
    transform: rotate(180deg);
}

.submenu {
    margin: 8px 0 16px 64px;
}

.submenu-item {
    display: block;
    padding: 12px 16px;
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.2s ease;
}

.submenu-item:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(4px);
}

.submenu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 12px 0;
}

.bottom-actions {
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    /* Mobile navbar brand centering */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
    
    /* Mobile user dropdown */
    .dropdown-menu-end {
        right: 0 !important;
        left: auto !important;
    }
    
    .navbar-collapse {
        margin-top: var(--spacing-md);
        padding: var(--spacing-md);
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-lg);
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        backdrop-filter: blur(10px);
    }
    
    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg) !important;
        margin: var(--spacing-xs) 0;
        border-radius: var(--radius-md);
    }
    
    .dropdown-menu {
        background-color: var(--white);
        margin: var(--spacing-sm) 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar .btn-sm {
        width: 100%;
        margin: var(--spacing-xs) 0;
    }
    
    .navbar-brand span:last-child {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand .logo {
        height: 36px;
    }
    
    .search-input::placeholder {
        font-size: 0.875rem;
    }
    
    .modern-offcanvas {
        width: 280px;
    }
}

@media (min-width: 1200px) {
    .navbar-brand .logo {
        height: 52px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand .logo {
        height: 56px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: url('/images/hero.png') no-repeat center center;
    background-size: cover;
}



.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, #ffffff 50%, var(--pale-color) 100%);
    z-index: -2;
}


.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(4, 36, 60, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-xxl);
    max-width: 90%;
}

/* Hero Search Form */
.hero-search-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-xxl);
}

.search-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.search-tab {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--light-gray);
    background: white;
    color: var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.search-tab.active,
.search-tab:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: var(--spacing-md);
    align-items: end;
    transition: transform 0.2s ease;
}

.search-input-group {
    display: flex;
    flex-direction: column;
}

.search-label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 0.875rem;
    z-index: 2;
}

.search-select {
    padding-left: 2.5rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    height: 48px;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.search-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.hero-search-btn {
    height: 48px;
    padding: 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(4, 36, 60, 0.3);
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 36, 60, 0.4);
}

/* Search Content Tabs */
.search-content {
    display: none;
}

.search-content.active {
    display: block;
}

/* Demand Search Inputs - Special Grid */
.demand-search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: end;
}

.demand-description-full {
    grid-column: 1 / -1;
}

.demand-submit-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
}

.demand-description-full .input-wrapper {
    position: relative;
}

.demand-description-full .input-icon {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1;
    color: var(--medium-gray);
    pointer-events: none;
}

.search-textarea {
    width: 100%;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all var(--transition-fast);
    resize: vertical;
    min-height: 90px;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

.search-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.search-textarea::placeholder {
    color: var(--medium-gray);
    font-weight: normal;
}

/* Select2 Custom Styling for Demand Districts */
.select2-container--default .select2-selection--multiple {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    min-height: 48px;
    padding: 0.25rem 0.5rem;
    background: white;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
    outline: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 0.5rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: white;
    opacity: 1;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: var(--medium-gray);
    margin: 0;
}

.select2-dropdown {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    margin-top: 0.25rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    font-size: 0.9rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary-color);
    outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary-color);
    color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #f1f5f9;
    color: var(--text-color);
}

.select2-container--default .select2-results__option {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: background-color var(--transition-fast);
}

.select2-container--default .select2-results__option:hover {
    background: #f8fafc;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--medium-gray);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    opacity: 1;
}

/* Hide original select arrow when Select2 is active */
.select2-hidden-accessible {
    display: none !important;
}

/* Select2 container positioning */
.select2-container {
    width: 100% !important;
}

/* Hide input icon when Select2 is active on demand districts */
#demandDistricts + .select2-container ~ .input-icon,
.input-wrapper:has(#demandDistricts + .select2-container) .input-icon {
    display: none;
}

/* Search field styling */
.select2-search--inline .select2-search__field {
    margin-top: 0.25rem;
    padding: 0.25rem;
    font-size: 0.9rem;
}

.select2-search--inline .select2-search__field::placeholder {
    color: var(--medium-gray);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-search-container {
        max-width: 90%;
    }
}

@media (max-width: 991px) {
    .search-inputs {
        gap: var(--spacing-md);
    }
    
    .hero-search-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .search-inputs,
    .demand-search-inputs {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .search-textarea {
        min-height: 100px;
        font-size: 0.9rem;
        padding: var(--spacing-md);
    }
    
    .demand-description-full .input-icon {
        display: none;
    }
    
    .search-input-group {
        margin-bottom: 0;
    }
    
    .hero-search-btn {
        padding: var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .demand-submit-btn {
        width: 100%;
    }
    
    /* Select2 Mobile */
    .select2-container--default .select2-selection--multiple {
        min-height: 42px;
        font-size: 0.9rem;
    }
    
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .select2-dropdown {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-search-container {
        max-width: 100%;
        padding: var(--spacing-lg);
    }
    
    .search-tabs {
        gap: var(--spacing-xxs);
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: var(--spacing-md);
    }
    
    .search-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .search-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
    
    .search-tab i {
        font-size: 0.85rem;
        margin-right: 0.25rem;
    }
    
    .search-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .search-select,
    .search-textarea {
        font-size: 0.85rem;
    }
    
    .search-inputs,
    .demand-search-inputs {
        gap: var(--spacing-xs);
    }
    
    .hero-search-btn,
    .demand-submit-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        width: 100%;
    }
    
    .btn-text {
        font-size: 0.9rem;
    }
    
    /* Select2 Mobile Adjustments */
    .select2-container--default .select2-selection--multiple {
        min-height: 38px;
        padding: 0.15rem 0.3rem;
    }
    
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        margin: 0.15rem 0.15rem 0.15rem 0;
    }
    
    .select2-search--inline .select2-search__field {
        font-size: 0.85rem;
        padding: 0.15rem;
    }
    
    .select2-results__option {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
}


/* Demand Form Modal Styling */
.demand-form-modal {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demand-form-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: var(--spacing-xl);
}

.demand-form-title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.demand-form-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demand-form-icon i {
    font-size: 1.25rem;
    color: white;
}

.demand-form-header .modal-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-gray);
}

.demand-form-header .text-muted {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.demand-form-body {
    padding: var(--spacing-xl);
    max-height: 65vh;
    overflow-y: auto;
}

.demand-form-body .form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.demand-form-body .form-control,
.demand-form-body .form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.demand-form-body .form-control:focus,
.demand-form-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.demand-form-body .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.demand-form-body .form-section {
    position: relative;
}

.demand-form-body .form-section-title {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.demand-form-body .form-section-title i {
    color: var(--primary-color);
}

.demand-form-body .form-label i {
    opacity: 0.7;
    font-size: 0.85rem;
}

.demand-form-body .alert-light {
    background: #f8fafc;
    border: 2px dashed #e5e7eb;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.demand-form-body .alert-light h6 {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: var(--spacing-lg) var(--spacing-xl);
}

.modal-footer .btn {
    padding: 0.625rem 1.5rem;
    font-weight: var(--font-weight-semibold);
}

/* Responsive Demand Form */
@media (max-width: 768px) {
    .demand-form-header {
        padding: var(--spacing-lg);
    }
    
    .demand-form-title-wrapper {
        gap: var(--spacing-sm);
    }
    
    .demand-form-icon {
        width: 40px;
        height: 40px;
    }
    
    .demand-form-icon i {
        font-size: 1rem;
    }
    
    .demand-form-header .modal-title {
        font-size: 1.1rem;
    }
    
    .demand-form-body {
        padding: var(--spacing-lg);
    }
    
    .modal-footer {
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-xxl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-xs);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), transparent);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 220px;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: 4s;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-title {
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xxl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.scroll-arrow {
    font-size: 1.25rem;
}

/* Districts Section */
.districts-section {
    padding: var(--spacing-xxxl) 0 var(--spacing-xxl);
    background: var(--white);
}

.districts-nav .districts-btn,
.districts-nav-mobile .districts-btn,
.districts-bottom-nav .districts-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
    background: var(--white);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.districts-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.districts-slider-wrapper {
    position: relative;
    margin-top: var(--spacing-lg);
}

.districts-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: 0 var(--spacing-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.districts-slider::-webkit-scrollbar { display: none; }

.districts-slider.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.districts-slider.dragging .district-card {
    pointer-events: none;
}

.districts-slider.dragging .district-image {
    transform: scale(1.02);
}

.district-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    transform: translateZ(0);
}

.district-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: saturate(1) contrast(1);
    transform: scale(1.01);
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.district-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 40%;
    background: linear-gradient(to top, rgba(4,36,60,0.85), rgba(4,36,60,0));
    opacity: 0.9;
    transition: opacity var(--transition-fast), top var(--transition-normal);
}

.district-name {
    position: absolute;
    left: 50%; bottom: var(--spacing-lg);
    transform: translateX(-50%);
    color: var(--white);
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.district-card:hover .district-image {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.05);
}

.district-card:hover .district-overlay {
    top: 30%;
    opacity: 1;
}

.districts-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-lg);
}

/* Mobile: 2.5 kart görünümü ve 3:4 oranı */
@media (max-width: 576px) {
    .districts-slider {
        gap: var(--spacing-sm);
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    .districts-slider .district-card {
        width: 41vw;
    }
    .district-card {
        aspect-ratio: 4 / 4;
        border-radius: 16px;
    }
    .district-name {
        bottom: var(--spacing-md);
        font-size: 1rem;
    }
    .districts-section .section-header { text-align: center; }
    .districts-bottom-nav { padding-top: var(--spacing-md); }
}

/* Tablet: 3-4 kart */
@media (min-width: 577px) and (max-width: 991px) {
    .districts-slider { gap: var(--spacing-md); }
    .district-card { aspect-ratio: 1 / 1; }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xxl) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-badge {
        display: flex;
        justify-content: center;
        margin: 0 auto var(--spacing-lg);
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .search-inputs.talep-mode {
        grid-template-columns: 1fr 1fr auto;
    }
    
    .hero-search-btn {
        width: 100%;
        justify-self: stretch;
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: space-around;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-xxl);
        padding: var(--spacing-lg);
        background: rgba(255, 255, 255, 0.8);
        border-radius: var(--radius-xl);
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: var(--spacing-xxl);
        order: -1;
    }
    
    .hero-main-image {
        width: 250px;
        height: 300px;
    }
    
    .floating-card {
        padding: var(--spacing-md);
        max-width: 160px;
    }
    
    .card-title {
        font-size: 0.75rem;
    }
    
    .card-subtitle {
        font-size: 0.625rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: var(--spacing-lg) 0;

    height: 70vh;
    }
    
    .hero-content {
        padding: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-md);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-search-container {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm) var(--spacing-lg);
        width: 90%;
    }
    
    .search-tabs {
        gap: var(--spacing-xs);
    }
    
    .search-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .search-tab i {
        display: none;
    }
    
    .hero-search-btn {
        padding: var(--spacing-md);
        font-size: 1rem;
        border-radius: var(--radius-lg);
    }
    
    .hero-search-btn .btn-text {
        margin-left: var(--spacing-xs);
    }
    
    .hero-stats {
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        margin: var(--spacing-lg) var(--spacing-sm) 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-visual {
        height: 280px;
        margin-top: var(--spacing-lg);
    }
    
    .hero-main-image {
        width: 180px;
        height: 220px;
    }
    
    .floating-card {
        padding: var(--spacing-sm);
        max-width: 120px;
        gap: var(--spacing-sm);
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .card-title {
        font-size: 0.65rem;
        margin-bottom: 1px;
    }
    
    .card-subtitle {
        font-size: 0.55rem;
    }
    
    .card-1 {
        top: 5%;
        left: 5%;
    }
    
    .card-2 {
        top: 15%;
        right: 2%;
    }
    
    .card-3 {
        bottom: 10%;
        left: 2%;
    }
    
    .scroll-indicator {
        bottom: var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .scroll-arrow {
        font-size: 1rem;
    }
}

  /* Services Section */
  .services-section {
      padding: var(--spacing-xxxl) 0;
  }

.section-header {
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card .btn-outline-primary{
    color: var(--primary-color)!important;
    font-weight: var(--font-weight-medium)!important;
    border-color: var(--primary-color)!important;
    border-radius: var(--radius-md)!important;
    transition: all var(--transition-fast)!important;
}

.feature-card.compact {
    padding: var(--spacing-lg);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card.featured {
    border: 2px solid var(--light-color);
    box-shadow: 0 10px 30px rgba(26, 166, 119, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--primary-color);
    font-size: 2rem;
    transition: all var(--transition-normal);
}

.feature-card.compact .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-icon.large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    background: var(--pale-color);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-card.compact .feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.feature-description {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.feature-card.compact .feature-description {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.process-steps {
    margin-bottom: var(--spacing-xl);
}

.feature-card.compact .process-steps {
    margin-bottom: var(--spacing-md);
}

.step {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: var(--spacing-sm);
    padding: 0;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.feature-card.compact .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    margin-right: var(--spacing-sm);
}

.step-text {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.feature-card.compact .step-text {
    font-size: 0.875rem;
}

/* Desktop mobile-header styles */
.mobile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-card.compact .mobile-header .feature-icon {
    margin: 0 0 var(--spacing-sm) 0;
}

.feature-card.compact .mobile-header .feature-title {
    margin-bottom: 0;
}

.feature-card.compact .mobile-header .feature-right {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.feature-button {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    min-width: 200px;
}

.feature-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design for Services Section */
@media (max-width: 991px) {
    .services-section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 var(--spacing-md);
    }
    
    .feature-card.compact {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .services-section .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    
    
    .services-section .row {
        margin: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 var(--spacing-md);
        gap: var(--spacing-xs);
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        touch-action: pan-x;
        padding-bottom: 50px;
    }
    
    .services-section .row::-webkit-scrollbar {
        display: none;
    }
    
    .services-section .row .col-12 {
        flex: 0 0 320px;
        max-width: 320px;
        margin-bottom: 0;
        scroll-snap-align: start;
    }
    
    /* Mobile Card Layout */
    .feature-card.compact {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
        min-height: 280px;
        margin-right: 0;
    }
    
    /* Icon + Title Row */
    .mobile-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: var(--spacing-sm);
    }

    .feature-card.compact .mobile-header .feature-right {
        margin-left: 15px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    
    .feature-card.compact .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0 var(--spacing-sm) 0 0;
        flex-shrink: 0;
    }
    
    .feature-card.compact .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0;
        text-align: left;
    }
    
    /* Description Row */
    .feature-card.compact .feature-description {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.4;
        text-align: left;
    }
    
    /* Steps Row */
    .feature-card.compact .process-steps {
        margin-bottom: var(--spacing-md);
        text-align: left;
    }
    
    .feature-card.compact .step {
        margin-bottom: var(--spacing-xs);
    }
    
    .feature-card.compact .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
        margin-right: var(--spacing-xs);
    }
    
    .feature-card.compact .step-text {
        font-size: 0.85rem;
    }
    
    /* Button Row */
    .feature-button {
        width: 100%;
        min-width: auto;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.85rem;
        margin-top: auto;
    }
    
    /* Background Colors */
    .feature-card.compact:nth-child(1) {
        background: var(--white);
        color: var(--dark-gray);
        border: 1px solid var(--light-gray);
    }
    
    .feature-card.compact:nth-child(1) .feature-icon {
        background: var(--bg-color);
        color: var(--primary-color);
    }
    
    .feature-card.compact:nth-child(1) .feature-title {
        color: var(--primary-color);
    }
    
    .feature-card.compact:nth-child(1) .step-text {
        color: var(--dark-gray);
    }
    
    .feature-card.compact:nth-child(1) .feature-description {
        color: var(--medium-gray);
    }
    
    .feature-card.compact:nth-child(1) .step-number {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(2) {
        background: linear-gradient(135deg, var(--primary-color), #032332);
        color: var(--white);
        border: none;
    }
    
    .feature-card.compact:nth-child(2) .feature-icon {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(2) .feature-title,
    .feature-card.compact:nth-child(2) .step-text {
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(2) .feature-description {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .feature-card.compact:nth-child(2) .step-number {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(3) {
        background: linear-gradient(135deg, var(--secondary-color), #1a1a1a);
        color: var(--white);
        border: none;
    }
    
    .feature-card.compact:nth-child(3) .feature-icon {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(3) .feature-title,
    .feature-card.compact:nth-child(3) .step-text {
        color: var(--white);
    }
    
    .feature-card.compact:nth-child(3) .feature-description {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .feature-card.compact:nth-child(3) .step-number {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
    }
}

@media (max-width: 576px) {
    .section-header {
        margin-bottom: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-section .row .col-12 {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .feature-card.compact {
        padding: var(--spacing-md);
        min-height: 220px;
    }
    
    .mobile-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: var(--spacing-md);
    }
    
    .feature-card.compact .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
        margin: 0 var(--spacing-sm) 0 0;
    }
    
    .feature-card.compact .feature-title {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .feature-card.compact .feature-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
        line-height: 1.3;
    }
    
    .feature-card.compact .process-steps {
        margin-bottom: var(--spacing-sm);
    }
    
    .feature-card.compact .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-right: var(--spacing-md);
    }
    
    .feature-card.compact .step-text {
        font-size: 1rem;
    }
    
    .feature-button {
        width: 100%;
        min-width: auto;
        padding: var(--spacing-md) var(--spacing-md);
        font-size: 1rem;
    }
}

/* Mobile Slider Scroll Indicator */
@media (max-width: 768px) {
   
    .services-section {
        position: relative;
    }
}

@media (max-width: 576px) {
    .services-section::after {
        bottom: var(--spacing-md);
        width: 50px;
        height: 2px;
    }
}

/* Sell Section */
.sell-section {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(0deg, #ffffff 0%, #f8f8f8 100%);
}

.sell-visual {
    position: relative;
    min-height: 440px;
}

.sell-hero-image {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(4, 36, 60, 0.15);
}

.sell-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sell-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(4, 36, 60, 0.3), rgba(26, 166, 119, 0.25));
}

.sell-floating-card {
    position: absolute;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    animation: float 6s ease-in-out infinite;
}

.sell-floating-card .sell-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sell-card-title {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    font-size: 0.95rem;
}

.sell-card-subtitle {
    color: var(--medium-gray);
    font-size: 0.8rem;
}

.sell-floating-card.card-a { top: 10%; left: -10%; animation-delay: 0s; }
.sell-floating-card.card-b { bottom: 8%; left: -6%; animation-delay: 2s; }
.sell-floating-card.card-c { top: 22%; right: -3%; animation-delay: 4s; }

@media (max-width: 1200px) {
    .sell-floating-card.card-a { left: -6%; }
    .sell-floating-card.card-b { left: -2%; }
    .sell-floating-card.card-c { right: -4%; }
}

@media (max-width: 991px) {
    .sell-visual { min-height: 360px; }
    .sell-hero-image { height: 360px; }
    .sell-floating-card { padding: var(--spacing-sm) var(--spacing-md); }
    .sell-floating-card.card-a { top: 6%; left: 2%; }
    .sell-floating-card.card-b { bottom: -6%; left: 8%; }
    .sell-floating-card.card-c { top: auto; bottom: 14%; right: 4%; }
}

@media (max-width: 576px) {
    .sell-section { padding: var(--spacing-xxl) 0 var(--spacing-xxl); }
    .sell-visual { min-height: 280px; }
    .sell-hero-image { height: 260px; }
    .sell-floating-card { transform: scale(0.95); }
}

.sell-content .sell-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

.sell-benefits {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm) var(--spacing-lg);
}

.sell-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
}

.sell-benefits i {
    color: var(--light-color);
}

@media (max-width: 576px) {
    .sell-benefits { grid-template-columns: 1fr; }
}

.sell-cta-group { display: flex; gap: var(--spacing-md); flex-wrap: wrap; }
.sell-cta-group .btn-lg { padding: 12px 18px; border-radius: var(--radius-lg); }

.sell-stats { display: flex; gap: var(--spacing-xl); margin-top: var(--spacing-xl); flex-wrap: wrap; }
.sell-stat { display: flex; flex-direction: column; }
.sell-stat strong { font-size: 1.5rem; color: var(--primary-color); }
.sell-stat span { font-size: 0.85rem; color: var(--medium-gray); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sell-floating-card { animation: none; }
}

/* Buy in 3 Steps Section - Enhanced */
.buy-section {
    padding: var(--spacing-xxxl) 0 var(--spacing-xxl);
    background: linear-gradient(180deg, var(--white) 0%, #f8f8f8 100%);
}

.buy-section .section-header {
    margin-bottom: var(--spacing-xxl);
}

.buy-step-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
    border: none;
    border-radius: var(--radius-xl);
    padding: calc(var(--spacing-xl) + 10px) var(--spacing-xl) var(--spacing-xl);
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 24px rgba(4,36,60,0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-fast);
    overflow: hidden;
    will-change: transform, box-shadow;
    cursor: pointer;
}

.buy-step-card::before {
    /* Üstte ince gradient şerit */
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.85;
}

.buy-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(4,36,60,0.14);
    filter: saturate(1.02);
}

.buy-step-number {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 6px 20px rgba(4,36,60,0.25);
}

.buy-step-icon {
    position: relative;
    width: 82px; height: 82px;
    border-radius: 20px;
    margin: 0 auto var(--spacing-lg);
    display: flex; align-items:center; justify-content:center;
    font-size: 1.6rem;
    color: var(--primary-color);
    background: var(--bg-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.buy-step-icon::after {
    /* Yumuşak parıltı */
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 24px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(26,166,119,0.15), transparent 70%);
    z-index: -1;
}

.buy-step-card:hover .buy-step-icon {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 10px 30px rgba(4,36,60,0.12);
}

.buy-step-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.buy-step-text {
    color: var(--medium-gray);
}

/* Desktop: kartlar arası zarif bağlam */
@media (min-width: 992px) {
    .buy-section .row.g-4 { position: relative; }
    .buy-section .row.g-4::before {
        content: "";
        position: absolute;
        left: 10%; right: 10%; top: 84px; /* ikon hizası */
        height: 2px;
        background: linear-gradient(90deg, rgba(4,36,60,0.08), rgba(26,166,119,0.15), rgba(4,36,60,0.08));
        pointer-events: none;
    }
}

/* Responsive ayarlar */
@media (max-width: 991px) {
    .buy-section { padding: var(--spacing-xxl) 0 var(--spacing-xl); }
}

@media (max-width: 576px) {
    .buy-step-card { padding: var(--spacing-xl) var(--spacing-lg); }
    .buy-step-number { width: 34px; height: 34px; font-size: 0.95rem; }
    .buy-step-icon { width: 70px; height: 70px; border-radius: 18px; font-size: 1.4rem; }
}

/* Hareket tercihi */
@media (prefers-reduced-motion: reduce) {
    .buy-step-card, .buy-step-icon { transition: none; }
}

/* Accent utility for colored keyword in titles */
.accent { color: var(--light-color); }

/* FAQ Section */
.faq-section { padding: var(--spacing-xxxl) 0; background: var(--white); }
.faq-accordion { max-width: 900px; margin: 0 auto; }
.faq-accordion .accordion-item {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-item + .accordion-item { margin-top: var(--spacing-md); }
.faq-accordion .accordion-button {
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-lg) var(--spacing-xl);
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(4,36,60,0.08); }
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-color);
    color: var(--primary-color);
}
.faq-accordion .accordion-body { color: var(--dark-gray); padding: var(--spacing-lg) var(--spacing-xl); }


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    margin-top: auto;
}

.footer a {
    color: var(--pale-color);
}

.footer a:hover {
    color: var(--white);
}

/* Minimalist footer additions */
.footer-brand { color: var(--white); text-decoration: none; font-weight: var(--font-weight-semibold); }
.footer-logo { height: 50px; object-fit: contain; }
.footer-nav { display: flex; gap: var(--spacing-lg); justify-content: center; }
.footer-link { text-decoration: none; color: var(--pale-color); transition: color var(--transition-fast); }
.footer-link:hover { color: var(--white); text-decoration: none; }
.footer-meta { color: var(--pale-color); }

@media (max-width: 576px) {
  .footer { padding: var(--spacing-xl) 0; }
  .footer-nav { flex-wrap: wrap; gap: var(--spacing-md); }
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light-color {
    background-color: var(--bg-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Mobile First - Responsive Design */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .card {
        margin-bottom: var(--spacing-lg);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid var(--light-gray);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Demands Section - Modern Card Design */
.demands-section {
    background: var(--white);
}

.demand-card-modern {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.demand-card-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(4, 36, 60, 0.12);
    transform: translateY(-2px);
}

/* Demand Card Header */
.demand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.demand-user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.user-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name-text {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.demand-time-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.demand-time-text i {
    font-size: 0.75rem;
}

.demand-badges {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.urgent-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
}

.pending-badge {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
}

.own-demand {
    border-color: #dbeafe !important;
    background: linear-gradient(to bottom, #f0f9ff, white);
}

/* Demand Card Content */
.demand-card-content {
    flex: 1;
}

.demand-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Demand Card Info */
.demand-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid #f3f4f6;
}

.demand-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 8px;
    background: #f9fafb;
    border-radius: var(--radius-sm);
}

.demand-info-item i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.demand-budget {
    background: #ecfdf5;
    color: #047857;
    font-weight: var(--font-weight-semibold);
}

.demand-budget i {
    color: #047857;
}

/* Demand Card Footer */
.demand-card-footer {
    margin-top: var(--spacing-sm);
}

.demand-contact-btn {
    width: 100%;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demand-contact-btn:hover {
    background: var(--dark-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(4, 36, 60, 0.15);
}

.demand-contact-btn i {
    font-size: 0.85rem;
}

.demand-edit-btn {
    width: 100%;
    padding: 10px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demand-edit-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25);
}

.demand-edit-btn i {
    font-size: 0.85rem;
}

/* Responsive Demand Cards */
@media (max-width: 768px) {
    .demand-card-modern {
        padding: var(--spacing-md);
    }
    
    .user-avatar-sm {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .demand-description {
        font-size: 0.9rem;
    }
    
    .demand-info-item {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}

@media (max-width: 576px) {
    .demand-card-modern {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .user-name-text {
        font-size: 0.9rem;
    }
    
    .demand-time-text {
        font-size: 0.75rem;
    }
    
    .urgent-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .demand-contact-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Üst Başlık - Profil ve Zaman */
.demand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demand-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
}

.user-name {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.demand-time {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

/* Talep Metni */
.demand-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--dark-gray);
    padding: var(--spacing-sm) 0;
}

/* Alt Aksiyonlar */
.demand-actions {
    display: flex;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--light-gray);
}

.demand-actions .btn {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-md);
}

.demand-actions .btn i {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .demand-card {
        padding: var(--spacing-md);
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .demand-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .demand-card {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .demand-actions .btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* View All Button - Minimal Design */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.view-all-btn:hover {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom-color: var(--secondary-color);
}

.view-all-btn i {
    font-size: 0.875rem;
    transition: transform var(--transition-fast);
}

.view-all-btn:hover i {
    transform: translateX(4px);
}

/* Focus Indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Auth Page Styles */
.auth-body-wrapper {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--white) 50%, var(--pale-color) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
}

/* User Menu Styles */
.user-avatar {
    position: relative;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
}

.avatar-placeholder.large {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.user-info {
    text-align: left;
}

.user-greeting {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.user-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--white);
    line-height: 1.2;
}

.dropdown-header {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-color);
    border-bottom: 1px solid var(--light-gray);
}

/* User Menu Dropdown Fixes */
.user-menu .dropdown-menu {
    min-width: 280px;
}

.user-menu .dropdown-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.user-menu .dropdown-item:hover {
    background-color: var(--bg-color) !important;
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

.user-menu .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.user-menu .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    transform: translateX(4px);
}

.user-menu .dropdown-item i {
    width: 16px;
    color: inherit;
}

/* Bootstrap Dropdown Override for User Menu */
.user-menu .dropdown-item:hover,
.user-menu .dropdown-item:focus,
.user-menu .dropdown-item:active {
    background-color: var(--bg-color) !important;
    color: var(--primary-color) !important;
}

.user-menu .dropdown-item.text-danger:hover,
.user-menu .dropdown-item.text-danger:focus,
.user-menu .dropdown-item.text-danger:active {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* User Menu Button Styles */
.user-menu .dropdown-toggle {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.user-menu .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.user-menu .dropdown-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Already Logged In Styles */
.auth-logged-in {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logged-in-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(4, 36, 60, 0.15);
    padding: var(--spacing-xxl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logged-in-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--light-color);
    margin: 0 auto var(--spacing-lg);
}

.logged-in-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.logged-in-subtitle {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xl);
}

.logged-in-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}



.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(4, 36, 60, 0.15);
    padding: var(--spacing-xxl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.auth-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
    background: var(--light-gray);
    padding: var(--spacing-xs);
    border-radius: var(--radius-lg);
}

.auth-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border: none;
    background: transparent;
    color: var(--medium-gray);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.auth-tab i {
    font-size: 1.25rem;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
}

.auth-content {
    position: relative;
    min-height: 200px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.auth-form .form-control {
    padding: var(--spacing-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.input-group-text {
    background: var(--light-gray);
    border: 2px solid var(--light-gray);
    border-right: none;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: none;
}

.auth-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.google-auth-btn {
    border: 2px solid var(--light-gray);
    color: var(--dark-gray);
}

.google-auth-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Verification Form Styles */
.verification-form {
    text-align: center;
}

.verification-header {
    margin-bottom: var(--spacing-xl);
}

.verification-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-lg);
}

.verification-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.verification-subtitle {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.verification-code-inputs {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.verification-input {
    width: 50px;
    height: 60px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.verification-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
    outline: none;
}

.verification-input.filled {
    background: var(--bg-color);
    border-color: var(--primary-color);
}

.verification-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Registration Form Styles */
.registration-form {
    text-align: left;
}

.registration-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.registration-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-lg);
}

.registration-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.registration-subtitle {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* Auth Page Checkbox Styles */
.auth-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.auth-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    border: 2px solid var(--light-gray);
    transition: all var(--transition-fast);
}

.auth-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-form .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.auth-form .form-check-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.4;
    cursor: pointer;
}

.terms-link,
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.terms-link:hover,
.privacy-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--light-gray);
}

.auth-footer-text {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.back-home:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(-2px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-content {
    text-align: center;
}

.loading-text {
    margin-top: var(--spacing-lg);
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.verification-input.error {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-body-wrapper {
        padding: 0;
        background: var(--white);
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    .auth-container {
        max-width: none;
        width: 100%;
        min-height: calc(100vh - 85px);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: var(--spacing-xl) var(--spacing-lg);
        margin-top: 85px;
        flex: 1;
    }
    
    .auth-logged-in {
        max-width: none;
        width: 100%;
        min-height: calc(100vh - 85px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-lg);
        margin-top: 85px;
    }
    
    .auth-card {
        width: 100%;
        max-width: none;
        padding: var(--spacing-xl) var(--spacing-lg);
        margin: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--white);
        min-height: auto;
    }
    
    .logged-in-card {
        width: 100%;
        max-width: 400px;
        padding: var(--spacing-xl);
        margin: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }
    
    /* Mobile auth tabs */
    .auth-tabs {
        margin-bottom: var(--spacing-lg);
        gap: var(--spacing-xs);
    }
    
    .auth-tab {
        padding: var(--spacing-md) var(--spacing-sm);
        flex-direction: row;
        gap: var(--spacing-xs);
    }
    
    .auth-tab i {
        font-size: 1.1rem;
    }
    
    .auth-tab span {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .auth-body-wrapper {
        padding: 0;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-tabs {
        flex-direction: row;
        gap: var(--spacing-xs);
    }
    
    .auth-tab {
        padding: var(--spacing-sm);
        font-size: 0.75rem;
    }
    
    .auth-tab i {
        font-size: 1rem;
    }
    
    .auth-tab span {
        font-size: 0.75rem;
    }
    
    .verification-code-inputs {
        gap: var(--spacing-xs);
    }
    
    .verification-input {
        width: 40px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .verification-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .registration-form .row {
        margin: 0;
    }
    
    .registration-form .col-md-6 {
        padding: 0;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 400px) {
    .verification-code-inputs {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .verification-input {
        width: 35px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .auth-form,
    .auth-tab,
    .auth-btn,
    .verification-input,
    .back-home {
        transition: none;
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .auth-card {
        border: 2px solid var(--primary-color);
    }
    
    .auth-tab.active {
        border: 2px solid var(--primary-color);
    }
    
    .verification-input:focus {
        border-width: 3px;
    }
}

/* Profile Page Styles */
.profile-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 85px;
}

/* Mobile Profile Navigation */
.mobile-profile-nav {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 85px;
    z-index: 100;
}

.profile-nav-tabs {
    display: flex;
    gap: var(--spacing-xs);
    overflow-x: auto;
    padding: 0 var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
}

.profile-nav-tabs::-webkit-scrollbar {
    display: none;
}

.profile-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: 80px;
    color: var(--medium-gray);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.profile-nav-tab:hover,
.profile-nav-tab.active {
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
}

.profile-nav-tab i {
    font-size: 1.1rem;
}

.profile-nav-tab span {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

/* Desktop Sidebar */
.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: sticky;
    top: calc(85px + var(--spacing-lg));
    height: fit-content;
}

.sidebar-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: var(--spacing-lg);
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    position: relative;
    cursor: pointer;
}

.avatar-placeholder-large {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 2rem;
}

.avatar-placeholder-xl {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 2rem;
    margin: 0;
}

.user-name-sidebar {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.user-email-sidebar {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-md);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xs);
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.sidebar-item:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.sidebar-item i {
    width: 20px;
    font-size: 1rem;
}

.sidebar-divider {
    border-color: var(--light-gray);
    margin: var(--spacing-md) 0;
}

.logout-btn {
    color: #dc3545;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Profile Content */
.profile-content {
    padding: var(--spacing-lg);
}

/* Avatar Section */
.avatar-section {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--light-gray);
}

.avatar-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.avatar-description {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.avatar-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.mobile-user-header {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.user-avatar-mobile {
    width: 60px;
    height: 60px;
}

.user-name-mobile {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.user-email-mobile {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Profile Completion Card */
.profile-completion-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.completion-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0;
}

.completion-percentage {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.progress {
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.progress-bar {
    background: var(--white);
    height: 100%;
    border-radius: 4px;
    transition: width var(--transition-normal);
}

.percentage-text {
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
}

.completion-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.completion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.completion-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.completion-item-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.completion-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.completion-item-text h6 {
    color: var(--white);
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.completion-item-text small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.completion-item-action {
    color: var(--white);
    font-size: 1.1rem;
}

/* Avatar Upload */
.avatar-upload-container {
    position: relative;
    display: inline-block;
}

.current-avatar {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 80px;
    height: 80px;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    color: var(--white);
    font-size: 1.5rem;
}

.current-avatar:hover .avatar-overlay {
    opacity: 1;
}

/* Verification Status */
.verification-status {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
}

.verification-status.verified {
    color: var(--light-color);
}

.verification-status.not-verified {
    color: #dc3545;
}

/* Profile Form Card */
.profile-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.profile-form-card .card-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--light-gray);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.profile-form-card .card-body {
    padding: var(--spacing-xl);
}

.form-actions {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--light-gray);
    text-align: right;
}



/* Mobile Responsive */
@media (max-width: 991px) {
    .profile-page {
        padding-top: 0;
    }
    
    .profile-content {
        padding: var(--spacing-md);
    }
    
    .profile-completion-card {
        padding: var(--spacing-lg);
    }
    
    .completion-header {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .completion-items {
        grid-template-columns: 1fr;
    }
    
    .profile-form-card .card-body {
        padding: var(--spacing-lg);
    }
    
    .avatar-section {
        padding: var(--spacing-lg);
    }
    
    .avatar-actions {
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .mobile-user-header {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .completion-percentage {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .progress {
        width: 200px;
    }
    
    .form-actions {
        text-align: center;
    }
    
    .avatar-section {
        padding: var(--spacing-md);
    }
    
    .avatar-section .row {
        text-align: center;
    }
    
    .avatar-section .col {
        margin-top: var(--spacing-md);
    }
}

/* Modal Verification Input Styles */
.verification-code-inputs {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.verification-input-modal {
    width: 45px;
    height: 55px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.verification-input-modal:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
    outline: none;
}

.verification-input-modal.filled {
    background: var(--bg-color);
    border-color: var(--primary-color);
}

.verification-input-modal.error {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

/* Referrals Page Styles */
.page-header {
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 0;
}

.referral-link-card,
.referral-info-card,
.referral-members-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.referral-link-card .card-header,
.referral-info-card .card-header,
.referral-members-card .card-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--light-gray);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.referral-link-card .card-body,
.referral-info-card .card-body,
.referral-members-card .card-body {
    padding: var(--spacing-xl);
}

/* Referral Link Section */
.referral-link-section .input-group {
    margin-bottom: var(--spacing-sm);
}

.referral-link-section input {
    font-family: monospace;
    font-size: 0.875rem;
    background: var(--light-gray);
}

/* Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text h6 {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.info-text p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Member Avatar */
.member-avatar {
    width: 40px;
    height: 40px;
}

.avatar-placeholder-small {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
}

.member-name {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.date-info {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-lg);
}

.empty-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.empty-description {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-lg);
}

/* Share Options */
.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    color: var(--dark-gray);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    background: none;
}

.share-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.share-option.whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.share-option.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.share-option.email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.share-option i {
    font-size: 1.5rem;
}

.share-option span {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .share-option {
        padding: var(--spacing-md);
    }
    
    .share-option i {
        font-size: 1.25rem;
    }
    
    .share-option span {
        font-size: 0.75rem;
    }
    
    .info-item {
        margin-bottom: var(--spacing-md);
    }
    
    .referral-link-card .card-body,
    .referral-info-card .card-body,
    .referral-members-card .card-body {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .verification-input-modal {
        width: 35px;
        height: 45px;
        font-size: 1rem;
        margin: 0 2px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .member-avatar {
        width: 35px;
        height: 35px;
    }
    
    .avatar-placeholder-small {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

/* Settings Page Styles */
.settings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.settings-card .card-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--light-gray);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.settings-card .card-body {
    padding: var(--spacing-xl);
}

.setting-section {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--light-gray);
}

.setting-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.setting-info {
    flex: 1;
}

.setting-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.setting-description {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Security Info Styles */
.security-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Form Switches */
.form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 1rem;
    transition: all var(--transition-fast);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 36, 60, 0.25);
}

.form-check-label {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .settings-card .card-body {
        padding: var(--spacing-lg);
    }
    
    .setting-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .setting-section {
        padding: var(--spacing-md) 0;
    }
    
    .form-check {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .form-check-input {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .setting-header {
        gap: var(--spacing-sm);
    }
    
    .setting-title {
        font-size: 1rem;
    }
    
    .setting-description {
        font-size: 0.8rem;
    }
}

/* ==============================================
   LISTINGS PAGE STYLES
   ============================================== */

/* Listings Page Layout */
.listings-page {
    background-color: var(--bg-color);
    min-height: calc(100vh - 85px);
    padding-top: var(--spacing-lg);
}

/* Filters Sidebar */
.filters-sidebar {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0 var(--spacing-md);
    position: sticky;
    top: var(--spacing-lg);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filters-header {

    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.filters-title {
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    font-size: 1.125rem;
}

.filters-body {
    padding: var(--spacing-lg);
}
.filter-group {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label small {
    font-weight: 400;
    font-size: 0.75rem;
}

.filter-label .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    border-radius: 12px;
}

.filter-label i {
    color: var(--primary-color);
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.quick-filter-btn {
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.quick-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Modern Search Input */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input{
    padding: var(--spacing-md) var(--spacing-xl) var(--spacing-md) var(--spacing-xl);
}
.quick-filters .modern-input {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-color);
}

.quick-filters.modern-input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.quick-filters .input-icon {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    pointer-events: none;
}

/* Modern Select */
.select-wrapper {
    position: relative;
}

.modern-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    background-color: var(--bg-color);
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modern-select:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(4, 36, 60, 0.1);
}

.select-icon {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    pointer-events: none;
    font-size: 0.8rem;
}

/* Property Type Grid */
.property-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.property-type-card {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.property-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.property-type-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.property-type-input:checked + .property-type-content {
    color: var(--white);
}

.property-type-card:has(.property-type-input:checked) {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.property-type-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.property-type-content i {
    font-size: 1.2rem;
}

.property-type-content span {
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

/* Room Grid */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
}

.room-option {
    position: relative;
    cursor: pointer;
}

.room-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.room-badge {
    display: block;
    padding: var(--spacing-sm);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    background-color: var(--bg-color);
    transition: all var(--transition-fast);
}

.room-option:hover .room-badge {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.room-option input:checked + .room-badge {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Range Inputs */
.range-inputs {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.range-input-wrapper {
    flex: 1;
}

.range-separator {
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    padding: 0 var(--spacing-xs);
}

/* Price Suggestions */
.price-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.price-suggestion {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    background-color: var(--bg-color);
    color: var(--dark-gray);
    transition: all var(--transition-fast);
}

.price-suggestion:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.price-suggestion.active {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--white);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-sm);
}

.feature-card {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.feature-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feature-input:checked + .feature-content {
    color: var(--white);
}

.feature-card:has(.feature-input:checked) {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.feature-content i {
    font-size: 1rem;
}

.feature-content span {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

.room-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.room-options .form-check-inline {
    margin: 0;
}

.room-options .form-check-label {
    font-size: 0.875rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.room-options .form-check-input:checked + .form-check-label {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.price-suggestions .btn {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

/* Listings Content */
.listings-content {
    padding: 0 var(--spacing-lg);
}

.listings-header {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.listings-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.listings-subtitle {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.listings-controls {
    gap: var(--spacing-md);
}

.view-toggle .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

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

.sort-options .form-select {
    min-width: 180px;
    font-size: 0.875rem;
}

.mobile-filter-toggle {
    margin-top: var(--spacing-md);
}

/* Listings Container */
.listings-container {
    margin-bottom: var(--spacing-xl);
}

/* Grid View */
.listings-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.listing-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.listing-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.listing-card:hover .listing-card-image img {
    transform: scale(1.05);
}

.listing-card-badges {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.listing-card-location {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* Favorite Button */
.listing-favorite-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 10;
}

.favorite-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #6b7280;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #ef4444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-btn:active {
    transform: scale(0.95);
}

.favorite-btn.favorited {
    color: #ef4444;
}

.favorite-btn.favorited i {
    font-weight: 900;
}

.favorite-btn i {
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.favorite-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Listing Status Badges */
.listing-status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-status-badge.sold {
    background-color: #dc3545;
    color: var(--white);
}

.listing-status-badge.reserved {
    background-color: #fd7e14;
    color: var(--white);
}

/* Listing Time Info */
.listing-time {
    font-size: 0.75rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.listing-time i {
    font-size: 0.7rem;
}

/* Listing Status Overlays */
.listing-card.sold .listing-card-image,
.listing-card.reserved .listing-card-image {
    position: relative;
}

.listing-card.sold .listing-card-image img,
.listing-row.sold .listing-row-image img {
    filter: grayscale(50%) brightness(0.9);
    transition: all var(--transition-normal);
}

.listing-card.reserved .listing-card-image img,
.listing-row.reserved .listing-row-image img {
    filter: grayscale(50%) brightness(0.8);
    transition: all var(--transition-normal);
}

.listing-card.sold .listing-card-image::after,
.listing-card.reserved .listing-card-image::after,
.listing-row.sold .listing-row-image::after,
.listing-row.reserved .listing-row-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: all var(--transition-normal);
}

.listing-card.sold .listing-card-image::after,
.listing-row.sold .listing-row-image::after {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
}

.listing-card.reserved .listing-card-image::after,
.listing-row.reserved .listing-row-image::after {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
}

/* Status Overlay Text */
.listing-status-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    min-width: 120px;
   
}

.listing-status-overlay.reserved {
    width: 80%;
    font-size: 1.2rem;
}

/* Disabled Actions for Sold/Reserved */
.listing-card.sold .listing-card-actions,
.listing-card.reserved .listing-card-actions,
.listing-row.sold .listing-card-actions,
.listing-row.reserved .listing-card-actions {
    opacity: 0.5;
    pointer-events: none;
}

.listing-card.sold .listing-card-title,
.listing-card.reserved .listing-card-title,
.listing-row.sold .listing-row-title,
.listing-row.reserved .listing-row-title {
    opacity: 0.7;
}

.listing-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-title-link {
    text-decoration: none;
    display: block;
    transition: all var(--transition-normal);
}

.listing-card-title-link:hover {
    opacity: 0.8;
}

.listing-card-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.listing-card-details {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.listing-card-details i {
  
    text-align: center;
}

.listing-card-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.listing-price {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-size: 1.125rem;
}

.listing-card-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.listing-card-actions .btn {
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

/* List View */
.listings-container.list-view {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.listing-row {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.listing-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.listing-row-image {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
}

.listing-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.listing-row:hover .listing-row-image img {
    transform: scale(1.05);
}

.listing-row-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.listing-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.listing-row-title-link {
    text-decoration: none;
    display: block;
    transition: all var(--transition-normal);
}

.listing-row-title-link:hover {
    opacity: 0.8;
}

.listing-row-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.3;
}

.listing-row-badges {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.listing-row-details {
    color: var(--medium-gray);
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.listing-row-details span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.listing-row-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-row-price {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* States */
.loading-state,
.empty-state {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.empty-icon {
    color: var(--medium-gray);
}

/* Pagination */
.listings-pagination {
    margin-top: var(--spacing-xl);
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--light-gray);
    padding: var(--spacing-sm) var(--spacing-md);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
}

/* Mobile Controls */
.mobile-controls .dropdown-menu {
    min-width: 200px;
    right: 0;
    left: auto;
}

.mobile-sort-option {
    cursor: pointer;
}

.mobile-sort-option:hover {
    background-color: var(--bg-color);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        z-index: 1050;
        margin: 0;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        max-height: 100vh;
        box-shadow: var(--shadow-lg);
    }
    
    .filters-sidebar.show {
        transform: translateX(0);
    }
    
    .listings-page {
        padding-top: var(--spacing-md);
    }
    
    .listings-content {
        padding: 0 var(--spacing-md);
    }
    
    .listings-header {
        padding: var(--spacing-md);
    }
    
    .listings-controls {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .listings-controls > div {
        width: 100%;
    }
    
    .sort-options .form-select {
        width: 100%;
        min-width: auto;
    }

    /* Force mobile view to always use single column grid */
    .listings-container.grid-view {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Overlay */
.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-filter-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .listings-container.grid-view {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }
    
    .listing-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .listing-row-image {
        width: 100%;
        height: 180px;
    }
    
    .listing-row-content {
        min-height: auto;
    }
    
    .listing-row-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .listing-row-footer {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .listing-card-body {
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .listings-container.grid-view {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .listing-row-details {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .filters-body {
        padding: var(--spacing-md);
    }
    
    .room-options {
        justify-content: space-between;
    }
    
    .room-options .form-check-label {
        flex: 1;
        text-align: center;
        min-width: 50px;
    }
}

/* Dynamic Filters Styles */
.dynamic-filters-container {
    position: relative;
}

.loading-filters {
    opacity: 0.7;
    color: var(--text-muted);
}

/* Checkbox List Filter */
.checkbox-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
}

.checkbox-list::-webkit-scrollbar {
    width: 8px;
}

.checkbox-list::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.checkbox-list::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 10px;
    transition: background 0.2s;
}

.checkbox-list::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

.checkbox-list .form-check {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-list .form-check:not(:last-child) {
    margin-bottom: 0.25rem;
}

.checkbox-list .form-check:hover {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkbox-list .form-check-input {
    cursor: pointer;
    border: 2px solid #d1d5db;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.checkbox-list .form-check-input:hover {
    border-color: var(--primary-color);
}

.checkbox-list .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-list .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.checkbox-list .form-check-label {
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #374151;
    margin: 0;
    padding: 0;
    font-weight: 500;
    line-height: 1.4;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    cursor: pointer;
    margin: 0;
}

.checkbox-item:hover {
    background: var(--bg-light);
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label {
    flex-grow: 1;
    user-select: none;
    font-size: 0.9rem;
}

/* Radio List Filter */
.radio-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
}

.radio-list::-webkit-scrollbar {
    width: 8px;
}

.radio-list::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.radio-list::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 10px;
    transition: background 0.2s;
}

.radio-list::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

.radio-list .form-check {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-list .form-check:not(:last-child) {
    margin-bottom: 0.25rem;
}

.radio-list .form-check:hover {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radio-list .form-check-input {
    cursor: pointer;
    border: 2px solid #d1d5db;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.radio-list .form-check-input:hover {
    border-color: var(--primary-color);
}

.radio-list .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-list .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.radio-list .form-check-label {
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #374151;
    margin: 0;
    padding: 0;
    font-weight: 500;
    line-height: 1.4;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    cursor: pointer;
    margin: 0;
}

.radio-item:hover {
    background: var(--bg-light);
}

.radio-item input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
}

.radio-label {
    flex-grow: 1;
    user-select: none;
    font-size: 0.9rem;
}

/* Number Range Filter */
.number-range .input-group {
    gap: 0;
}

.number-range .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-left: 0;
    border-right: 0;
    color: #6b7280;
    min-width: 40px;
    justify-content: center;
    font-weight: 600;
}

.number-range input {
    border-radius: 0;
    border: 2px solid #e5e7eb;
    padding: 8px 12px;
    transition: all var(--transition-fast);
}

.number-range input:first-child {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.number-range input:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.number-range input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
    z-index: 2;
}

/* Enhanced Property Type Grid for Dynamic Rendering */
.property-type-grid[data-filter] .property-type-card {
    transition: var(--transition-base);
}

.property-type-grid[data-filter] .property-type-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Filter Groups Spacing */
.dynamic-filters-container .filter-group {
    margin-bottom: var(--spacing-lg);
}

.dynamic-filters-container .filter-group:last-child {
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .checkbox-list,
    .radio-list {
        max-height: 150px;
    }
    
    .checkbox-item,
    .radio-item {
        padding: var(--spacing-xs);
    }
    
    .checkbox-label,
    .radio-label {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    * {
        color: black !important;
        background: white !important;
    }
    
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
}


/* ==============================================
   İlan Detay Sayfası Stilleri 
   ============================================== */

/* Ana Container */
.listing-detail-page {
    background: var(--white);
    min-height: 100vh;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xxxl);
}

/* Galeri Stilleri */
.listing-gallery-section {
    padding: 0;
}

.main-gallery {
    margin-bottom: var(--spacing-xl);
}

.gallery-main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-main-image:hover img {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-main-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.gallery-thumbnails {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: var(--spacing-sm) 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

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

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--light-color);
}

/* İlan Bilgileri (Ana) */
.listing-info-main {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
}

.listing-header {
    margin-bottom: var(--spacing-lg);
}

.listing-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.listing-location {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.listing-location i {
    color: var(--light-color);
}

.listing-info-desktop .listing-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--light-color);
}

.listing-quick-stats {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--light-gray);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--dark-gray);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Sidebar */
.listing-sidebar {
    padding-left: var(--spacing-lg);
}

.listing-info-main .listing-title {
    font-size: 1.5rem;
}

.listing-info-main .listing-price {
    font-size: 1.75rem;
}

/* Ana Aksiyonlar */
.listing-actions {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.action-divider {
    text-align: center;
    margin: var(--spacing-sm) 0;
    position: relative;
    color: var(--medium-gray);
}

.action-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light-gray);
    z-index: 1;
}

.action-divider span {
    background: var(--white);
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

/* Widget Stilleri */
.credit-calculator-widget,
.financing-ad-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.widget-header {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg);
    margin: -1px -1px 0 -1px;
}

.widget-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    display: flex;
    align-items: center;
}

.widget-content {
    padding: var(--spacing-xl);
}

.credit-result {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.result-value {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* Finansman Reklamı */
.financing-ad-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ad-content {
    padding: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.ad-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.ad-text h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.ad-text p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.ad-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ad-text li {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: var(--spacing-md);
}

.ad-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-color);
    font-weight: var(--font-weight-bold);
}

.financing-ad-widget .btn {
    margin: 0 var(--spacing-xl) var(--spacing-xl);
}

/* Özellikler Grid */
.listing-features-section,
.listing-description-section,
.listing-location-section {
    margin-bottom: var(--spacing-xxxl);
}

.listing-description-section {
    background: transparent;
}

/* SKB Custom Icon System */
.skb-icon-check:before { content: "✓"; color: var(--color-success); font-weight: 900; font-size: 14px; }
.skb-icon-circle:before { content: "○"; color: var(--color-gray-300); font-weight: 400; font-size: 12px; }
.skb-icon-bus:before { content: "🚌"; }
.skb-icon-book:before { content: "📚"; }
.skb-icon-heartbeat:before { content: "🏥"; }
.skb-icon-shopping:before { content: "🛒"; }
.skb-icon-map:before { content: "🗺️"; }

/* SKB Features Container */
.skb-features-container {
    background: var(--white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.skb-features-container h4 {
    color: var(--color-gray-800);
    font-size: 1rem;
    font-weight: 600;
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: var(--spacing-sm);
}

.skb-features-container h4:first-child {
    margin-top: 0;
}

.skb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.skb-feature, .skb-feature-checked {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
    font-size: 14px;
}

.skb-feature {
    color: var(--color-gray-500);
}

.skb-feature-checked {
    color: var(--color-gray-800);
}

.skb-feature i, .skb-feature-checked i {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Mobile Responsive for SKB Features */
@media (max-width: 991px) {
    .skb-features-container {
        padding: var(--spacing-lg);
    }
    
    .skb-features-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: var(--spacing-xs);
    }
}

@media (max-width: 767px) {
    .skb-features-container {
        padding: var(--spacing-md);
    }
    
    .skb-features-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .skb-feature, .skb-feature-checked {
        font-size: 13px;
        padding: var(--spacing-xs) 0;
    }
}

@media (max-width: 576px) {
    .skb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SKB Environment Section */
.skb-environment-section {
    margin-bottom: var(--spacing-xxxl);
}

.skb-environment-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-color);
}

.skb-environment-container {
    background: var(--white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.skb-environment-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: var(--spacing-lg);
}

.skb-tab, .skb-tab-active {
    background: var(--white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--color-gray-600);
    font-weight: 500;
    font-size: 14px;
    min-width: 140px;
    justify-content: center;
}

.skb-tab:hover {
    background: var(--color-gray-50);
    border-color: var(--primary-color);
}

.skb-tab-active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.skb-environment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--spacing-sm);
}

.skb-environment-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--color-gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-200);
    font-size: 14px;
    color: var(--color-gray-800);
}

.skb-environment-list li span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
}

/* SKB Maps Container */
.skb-map-container {
    margin-top: var(--spacing-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.skb-map {
    width: 100%;
    height: 300px;
    position: relative;
    background: var(--color-gray-50);
}

.skb-map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-gray-500);
    gap: var(--spacing-md);
}

.skb-map-loading i {
    font-size: 2rem;
}

/* Mobile Responsive for SKB Environment */
@media (max-width: 991px) {
    .skb-environment-container {
        padding: var(--spacing-lg);
    }
    
    .skb-environment-tabs {
        gap: var(--spacing-xs);
    }
    
    .skb-tab, .skb-tab-active {
        min-width: 120px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .skb-environment-container {
        padding: var(--spacing-md);
    }
    
    .skb-environment-tabs {
        flex-direction: column;
    }
    
    .skb-tab, .skb-tab-active {
        min-width: unset;
        justify-content: flex-start;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .skb-environment-list li {
        padding: var(--spacing-sm);
        font-size: 13px;
    }
    
    .skb-map {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .skb-tab, .skb-tab-active {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 12px;
    }
    
    .skb-environment-list li {
        font-size: 12px;
    }
    
    .skb-environment-list li span {
        font-size: 11px;
    }
    
    .skb-map {
        height: 200px;
    }
}

.listing-features-section h3,
.listing-description-section h3,
.listing-location-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.feature-value {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

/* Açıklama */
.description-content {
    background: var(--bg-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    line-height: 1.7;
}

/* Konum */
.location-info {
    background: var(--bg-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.address-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
}

.address-info i {
    color: var(--light-color);
    font-size: 1.2rem;
}

.map-placeholder {
    height: 200px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
}

.map-placeholder-content {
    text-align: center;
}

.map-placeholder-content i {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

/* ===========================================
   BOOKING MODAL STYLES
   =========================================== */

/* Booking Modal Container */
.booking-modal-dialog {
    max-width: 640px;
    margin: 1.75rem auto;
}

.booking-modal-content {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: none;
}

.booking-modal-header {
    border-bottom: 1px solid var(--light-gray);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3a5a 100%);
    color: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.booking-modal-header .modal-title {
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 1.25rem;
}

.booking-modal-header .btn-close {
    filter: invert(1);
    opacity: 0.9;
}

.booking-modal-header .btn-close:hover {
    opacity: 1;
}

.booking-modal-body {
    padding: var(--spacing-xl);
}

.booking-modal-footer {
    border-top: 1px solid var(--light-gray);
    padding: var(--spacing-lg);
    background: var(--color-gray-50);
}

/* Booking Sections */
.booking-section {
    margin-bottom: var(--spacing-xl);
}

.booking-section:last-of-type {
    margin-bottom: 0;
}

.booking-section .row > [class*="col-"] {
    box-sizing: border-box;
    max-width: 100%;
}

.booking-section-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--bg-color);
    display: flex;
    align-items: center;
}

.booking-section-title i {
    color: var(--light-color);
}

/* Calendar Wrapper */
.booking-calendar-wrapper {
    background: var(--color-gray-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-xs);
    width: 100%;
    box-sizing: border-box;
}

.calendar-header {
    font-weight: var(--font-weight-semibold);
    text-align: center;
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.calendar-day {
    padding: var(--spacing-sm);
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--white);
    font-size: 0.875rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-medium);
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.calendar-day:hover:not(.disabled) {
    background: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.calendar-day.disabled {
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.disabled:hover {
    background: var(--color-gray-100);
    border-color: var(--light-gray);
    transform: none;
}

/* Time Slots Wrapper */
.booking-time-wrapper {
    background: var(--color-gray-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    min-height: 180px;
}

.booking-time-wrapper:has(.time-slots-placeholder) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: var(--spacing-sm);
    width: 100%;
}

.time-slots-placeholder {
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.time-slots-placeholder i {
    font-size: 1.5rem;
    color: var(--color-gray-400);
}

.time-slot {
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--white);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.time-slot:hover:not(.unavailable) {
    background: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.time-slot.unavailable {
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    cursor: not-allowed;
    position: relative;
    opacity: 0.6;
}

.time-slot.unavailable::after {
    content: '✗';
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.7rem;
    color: #dc3545;
}

.time-slot.unavailable:hover {
    background: var(--color-gray-100);
    border-color: var(--light-gray);
    transform: none;
}

/* Form Inputs */
.booking-section .form-label {
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.booking-section .form-control {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
}

.booking-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 36, 60, 0.1);
}

/* Old date-picker class for backward compatibility */
.date-picker {
    margin-bottom: var(--spacing-lg);
}

/* =================================
   LISTING DETAIL MAP STYLES
   ================================= */

.listing-map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.listing-map {
    width: 100%;
    height: 400px;
    min-height: 300px;
}

/* Leaflet customization for detail page */
.listing-map .leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
}

.listing-map .leaflet-popup-content {
    margin: var(--spacing-md);
    font-family: var(--font-family);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .listing-map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .listing-map {
        height: 250px;
    }
}

.payment-details {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
    padding-top: var(--spacing-sm);
    font-size: 1.1rem;
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .listing-sidebar {
        padding-left: 0;
        padding-top: var(--spacing-xl);
    }
    
    .gallery-main-image {
        height: 300px;
    }
    
    .listing-actions {
        position: sticky;
        bottom: 0;
        z-index: 100;
        border-radius: 0;
        margin-bottom: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .listing-detail-page {
        padding-top: var(--spacing-md);
    }
    
    /* Mobilde galeri ve ilan bilgileri alt alta */
    .row .col-md-7,
    .row .col-md-5 {
        margin-bottom: var(--spacing-lg);
    }
    
    .gallery-main-image {
        height: 250px;
        border-radius: var(--radius-md);
    }
    
    .listing-title {
        font-size: 1.5rem !important;
    }
    
    .listing-price {
        font-size: 1.5rem !important;
    }
    
    .listing-quick-stats {
        gap: var(--spacing-md);
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    /* Booking Modal Mobile */
    .booking-modal-dialog {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .booking-modal-body {
        padding: var(--spacing-lg);
    }
    
    .booking-section {
        margin-bottom: var(--spacing-lg);
    }
    
    .calendar-grid {
        font-size: 0.85rem;
        gap: 3px;
    }
    
    .calendar-day {
        padding: var(--spacing-xs);
        font-size: 0.8rem;
    }
    
    .calendar-header {
        font-size: 0.75rem;
        padding: var(--spacing-xs);
    }
    
    .booking-calendar-wrapper,
    .booking-time-wrapper {
        padding: var(--spacing-sm);
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }
    
    .time-slot {
        padding: var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ad-icon {
        align-self: center;
    }
    
    /* Mobilde sticky butonlar */
    .listing-actions {
        position: sticky;
        bottom: 0;
        z-index: 100;
        border-radius: 0;
        margin: 0 -15px;
    }
}

@media (max-width: 576px) {
    .gallery-main-image {
        height: 200px;
    }
    
    .listing-info-main {
        padding: var(--spacing-md);
    }
    
    .widget-content {
        padding: var(--spacing-lg);
    }
    
    .ad-content {
        padding: var(--spacing-lg);
    }
    
    .financing-ad-widget .btn {
        margin: 0 var(--spacing-lg) var(--spacing-lg);
    }
    
    .booking-modal-body {
        padding: var(--spacing-md);
    }
    
    .booking-section-title {
        font-size: 0.9rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-modal-footer {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .booking-modal-footer .btn {
        width: 100%;
    }
}

/* ===========================================
   LISTING DETAIL PAGE - NEW COMPONENTS
   =========================================== */

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--color-gray-50);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #e6e6e6;
}

.breadcrumb {
    margin-bottom: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--color-gray-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--color-gray-800);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--color-gray-400);
}

/* Listing Title Bar */
.listing-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid #e6e6e6;
    gap: var(--spacing-md);
}

.listing-main-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-gray-900);
    line-height: 1.3;
}

.action-section {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Summary Table */
.listing-summary-table {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.table-title {
    background: var(--color-gray-50);
    padding: var(--spacing-md);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gray-800);
    border-bottom: 1px solid var(--color-gray-200);
}

.summary-table {
    width: 100%;
    margin: 0;
}

.summary-table tbody tr {
    border-bottom: 1px solid var(--color-gray-200);
}

.summary-table td {
    padding: var(--spacing-md);
    font-size: 14px;
    vertical-align: middle;
}

.summary-table td:first-child {
    font-weight: 500;
    color: var(--color-gray-700);
    background: var(--color-gray-25);
    width: 45%;
}

.summary-table td:last-child {
    color: var(--color-gray-900);
}

.status-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

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

.status-badge.inactive {
    background-color: var(--color-gray-200);
    color: var(--color-gray-600);
}

/* Sidebar Location Links */
.listing-location .location-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.listing-location .location-link:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.location-separator {
    margin: 0 var(--spacing-xs);
    color: var(--color-gray-400);
    font-weight: normal;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .listing-title-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .listing-main-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .action-section {
        width: 100%;
        justify-content: flex-start;
    }
    
    .breadcrumb-item span,
    .breadcrumb-item a {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: var(--spacing-xs) 0;
    }
    
    .listing-title-bar {
        padding: var(--spacing-md) 0;
    }
    
    .listing-main-title {
        font-size: 1.25rem;
    }
    
    .action-section .btn {
        font-size: 12px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .action-section .d-none.d-sm-inline {
        display: none !important;
    }
}

/* Listing Info Card (Combined Price + Actions) */
.listing-info-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.listing-info-card .listing-header {
    margin-bottom: var(--spacing-md);
}

.listing-info-card .listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.listing-info-card .listing-location {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
}

/* Quick stats kısmı kaldırıldı, boş CSS silinebilir */

.listing-info-card .action-divider {
    text-align: center;
    margin: var(--spacing-md) 0;
    position: relative;
}

.listing-info-card .action-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gray-200);
}

.listing-info-card .action-divider span {
    background: white;
    padding: 0 var(--spacing-md);
    color: var(--color-gray-500);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Mobile adjustments for info card */
@media (max-width: 576px) {
    .listing-info-card {
        padding: var(--spacing-md);
    }
    
    .listing-info-card .listing-price {
        font-size: 1.25rem;
    }
}

/* ================================
   ADMIN PANEL STYLES - Modern Clean Design
   ================================ */

/* === Admin Header === */
.admin-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-quick-actions .btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
    border-width: 1px;
}

.admin-quick-actions .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.admin-quick-actions .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.admin-quick-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.admin-quick-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

@media (max-width: 991.98px) {
    .admin-quick-actions {
        display: none;
    }
}

/* Admin Dashboard Page */
.admin-dashboard-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Admin Welcome Card */
.admin-welcome-card {
    background: linear-gradient(135deg, #195e92 0%, #06243c 100%);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.admin-welcome-card .card-body {
    padding: var(--spacing-xl)!important;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.welcome-date {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Admin Layout */
.admin-layout {
    min-height: 100vh;
}

.admin-sidebar {
    background: transparent;
    color: #111827;
    min-height: auto;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.admin-content {
    background: transparent;
}

/* Admin Card Styles */
.admin-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: inherit;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(205, 168, 107, 0.3), rgba(230, 198, 130, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-card:hover::before {
    opacity: 1;
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(205, 168, 107, 0.3);
    text-decoration: none;
    color: inherit;
}

.admin-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border: none;
    flex-shrink: 0;
}

.admin-card-body {
    display: flex;
    flex-direction: column;
}

.admin-card-title {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.admin-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

/* Bootstrap Subtle Background Classes */
.admin-dashboard-page .bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.admin-dashboard-page .bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.admin-dashboard-page .bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.admin-dashboard-page .bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.admin-dashboard-page .text-primary {
    color: #0d6efd !important;
}

.admin-dashboard-page .text-success {
    color: #198754 !important;
}

.admin-dashboard-page .text-warning {
    color: #ffc107 !important;
}

.admin-dashboard-page .text-info {
    color: #0dcaf0 !important;
}

/* Admin Table Styles */
.admin-dashboard-page .admin-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.admin-dashboard-page .admin-table-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(205, 168, 107, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-dashboard-page .admin-table-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(205, 168, 107, 0.3);
}

.admin-dashboard-page .admin-table-card:hover::before {
    opacity: 1;
}

.admin-dashboard-page .admin-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.admin-dashboard-page .admin-table-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.admin-dashboard-page .admin-table-title i {
    color: #cda86b;
    opacity: 0.8;
}

.admin-dashboard-page .admin-table-action {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.admin-dashboard-page .admin-table-action:hover {
    color: #cda86b;
    text-decoration: none;
    transform: translateX(2px);
}

.admin-dashboard-page .admin-table-action i {
    transition: transform 0.2s ease;
}

.admin-dashboard-page .admin-table-action:hover i {
    transform: translateX(2px);
}

.admin-dashboard-page .admin-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
}

.admin-dashboard-page .admin-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.admin-dashboard-page .admin-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.admin-dashboard-page .admin-table thead th:first-child {
    padding-left: 24px;
}

.admin-dashboard-page .admin-table thead th:last-child {
    padding-right: 24px;
    text-align: center;
}

.admin-dashboard-page .admin-table tbody td {
    padding: 16px 10px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.admin-dashboard-page .admin-table tbody td:first-child {
    padding-left: 24px;
}

.admin-dashboard-page .admin-table tbody td:last-child {
    padding-right: 24px;
    text-align: center;
}

.admin-dashboard-page .admin-table tbody tr {
    transition: all 0.2s ease;
}

.admin-dashboard-page .admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-dashboard-page .admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-dashboard-page .admin-table-listing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-dashboard-page .admin-table-listing-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #3b82f6;
    flex-shrink: 0;
}

.admin-dashboard-page .admin-table-listing-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.admin-dashboard-page .admin-table-listing-info small {
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
}

.admin-dashboard-page .admin-table-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.admin-dashboard-page .admin-table-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.admin-dashboard-page .admin-table-badge.danger {
    background: #fee2e2;
    color: #dc2626;
}

.admin-dashboard-page .admin-table-badge.info {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-dashboard-page .admin-table-badge.secondary {
    background: #f1f5f9;
    color: #475569;
}

.admin-dashboard-page .admin-table-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.admin-dashboard-page .admin-table-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.admin-dashboard-page .admin-table-btn:hover {
    transform: translateY(-1px);
}

.admin-dashboard-page .admin-table-btn.view {
    background: #dbeafe;
    color: #3b82f6;
}

.admin-dashboard-page .admin-table-btn.view:hover {
    background: #bfdbfe;
    color: #2563eb;
}

.admin-dashboard-page .admin-table-btn.edit {
    background: #fef3c7;
    color: #d97706;
}

.admin-dashboard-page .admin-table-btn.edit:hover {
    background: #fde68a;
    color: #b45309;
}

.admin-dashboard-page .admin-table-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.admin-dashboard-page .admin-table-btn.delete:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* System Status */
.admin-dashboard-page .system-status {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.admin-dashboard-page .status-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-gray-100);
    transition: all 0.2s ease;
}

.admin-dashboard-page .status-item:hover {
    background-color: var(--color-gray-50);
}

.admin-dashboard-page .status-item:last-child {
    border-bottom: none;
}

.admin-dashboard-page .status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.admin-dashboard-page .status-indicator.bg-success {
    background-color: #10b981;
}

.admin-dashboard-page .status-indicator.bg-warning {
    background-color: #f59e0b;
}

.admin-dashboard-page .status-indicator.bg-danger {
    background-color: #ef4444;
}

.admin-dashboard-page .status-content {
    flex: 1;
    min-width: 0;
}

.admin-dashboard-page .status-content h6 {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
    color: var(--color-gray-900);
}

.admin-dashboard-page .status-content small {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

.admin-dashboard-page .status-content .text-success {
    color: #059669;
}

.admin-dashboard-page .status-content .text-warning {
    color: #d97706;
}

.admin-dashboard-page .status-content .text-danger {
    color: #dc2626;
}

/* Admin Profile Header Mobile Tab */
.admin-dashboard-page .profile-nav-tab.admin-only {
    background: linear-gradient(135deg, #ffc107, #d39e00);
    color: white;
    border: 2px solid #ffc107;
}

.admin-dashboard-page .profile-nav-tab.admin-only:hover {
    background: linear-gradient(135deg, #d39e00, #b8860b);
    color: white;
}

.admin-dashboard-page .profile-nav-tab.admin-only.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-dashboard-page .admin-card {
        padding: 16px;
        gap: 12px;
    }
    
    .admin-dashboard-page .admin-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .admin-dashboard-page .admin-card-value {
        font-size: 20px;
    }
    
    .admin-dashboard-page .admin-table-header {
        padding: 16px 20px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-dashboard-page .admin-table-title {
        font-size: 15px;
    }
    
    .admin-dashboard-page .admin-table thead th,
    .admin-table tbody td {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .admin-table thead th:first-child,
    .admin-dashboard-page .admin-table tbody td:first-child {
        padding-left: 20px;
    }
    
    .admin-table thead th:last-child,
    .admin-dashboard-page .admin-table tbody td:last-child {
        padding-right: 20px;
    }
    
    .admin-dashboard-page .admin-table-listing-icon {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .admin-dashboard-page .admin-table-actions {
        gap: 4px;
    }
    
    .admin-dashboard-page .admin-table-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .admin-dashboard-page .admin-welcome-card .card-body {
        padding: var(--spacing-lg);
    }
    
    .admin-dashboard-page .welcome-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .admin-dashboard-page .admin-card {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .admin-dashboard-page .admin-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        align-self: center;
    }
    
    .admin-dashboard-page .admin-card-value {
        font-size: 18px;
    }
}

.admin-dashboard-page .user-avatar-large img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-dashboard-page .user-avatar-mobile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   EDIT MODE COMPONENTS
   ================================ */

/* Status Overview Card */
.status-overview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.status-overview .d-flex {
    padding: 0.25rem 0;
}

/* Status Actions */
.status-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.status-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Price History Timeline */
.price-timeline {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.price-entry {
    position: relative;
    padding: 0.75rem 0;
    border-left: 3px solid #e9ecef;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.price-entry.latest {
    border-left-color: #185c91;
}

.price-entry::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 1rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e9ecef;
    border: 2px solid white;
}

.price-entry.latest::before {
    background: #185c91;
}

.price-amount {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.price-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.price-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Quick Action Buttons Enhanced */
.quick-action-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.5rem;
}

.quick-action-btn:hover {
    border-color: #185c91;
    background: #f8f9fa;
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    background: #f8f9fa;
}

.quick-action-text {
    flex: 1;
}

.quick-action-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.quick-action-subtitle {
    font-size: 0.85rem;
    color: #666;
}

/* Edit Mode Responsive */
@media (max-width: 768px) {
    .price-timeline {
        max-height: 200px;
    }
    
    .action-btn {
        padding: 0.75rem;
    }
    
    .quick-action-btn {
        padding: 0.5rem;
    }
    
    .quick-action-icon {
        width: 32px;
        height: 32px;
    }
    
    .status-overview {
        padding: 0.75rem;
    }
}

/* =================================================================
   ADMIN LISTINGS PAGE STYLES
   ================================================================= */

.admin-listings-page {
    min-height: 100vh;
    background-color: var(--color-gray-50);
}

/* Page Header */
.admin-page-header {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
}

.admin-page-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin: 0;
}

.admin-page-subtitle {
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Filters Card */
.admin-filters-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    overflow: hidden;
}

.admin-filters-header {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-filters-title {
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    font-size: 0.95rem;
}

.admin-filters-body {
    padding: var(--spacing-lg);
}

.admin-filters-body .form-label {
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.admin-filters-body .form-control,
.admin-filters-body .form-select {
    font-size: 0.875rem;
    border-color: var(--color-gray-200);
}

.admin-filters-body .form-control:focus,
.admin-filters-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

/* Table Enhancements */
.admin-table-listing,
.admin-table-listing-enhanced {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.admin-table-listing-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.admin-table-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.admin-table-listing-image:hover img {
    transform: scale(1.05);
}

.admin-table-listing-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    font-size: 1.2rem;
}

.admin-table-listing-info,
.admin-table-listing-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.admin-table-listing-info h6,
.listing-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-table-listing-info small,
.listing-id {
    color: var(--color-gray-500);
    font-size: 0.75rem;
    font-family: var(--font-mono, monospace);
}

/* Enhanced listing details */
.listing-type-badge {
    margin-bottom: var(--spacing-xs);
}

.listing-location {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    line-height: 1.2;
}

.listing-location i {
    color: var(--color-gray-400);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.listing-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Table Loading and Empty States */
.admin-table-loading {
    padding: var(--spacing-xl) 0;
}

.admin-table-empty {
    padding: var(--spacing-xl) 0;
}

.admin-table-empty i {
    font-size: 3rem;
    color: var(--color-gray-300);
}

.admin-table-empty h5 {
    color: var(--color-gray-600);
    margin-top: var(--spacing-md);
    font-weight: var(--font-weight-medium);
}

.admin-table-empty p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
}

/* Badge Variations */
.admin-table-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

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

.admin-table-badge.warning {
    background-color: #fef3c7;
    color: #92400e;
}

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

.admin-table-badge.secondary {
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
}

/* Pagination Enhancement */
.admin-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.admin-pagination-wrapper .pagination {
    margin: 0;
}

.admin-pagination-wrapper .page-link {
    color: var(--color-gray-700);
    border-color: var(--color-gray-200);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.admin-pagination-wrapper .page-link:hover {
    color: var(--primary-color);
    background-color: var(--color-gray-50);
    border-color: var(--color-gray-300);
}

.admin-pagination-wrapper .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.admin-pagination-wrapper .page-item.disabled .page-link {
    color: var(--color-gray-400);
    background-color: transparent;
    border-color: var(--color-gray-200);
}

/* Table Info */
.admin-table-info {
    color: var(--color-gray-600);
    font-size: 0.875rem;
}

/* Mobile Responsive for Listings Page */
@media (max-width: 768px) {
    .admin-page-header {
        padding: var(--spacing-md);
    }
    
    .admin-page-header .row {
        align-items: flex-start !important;
    }
    
    .admin-page-header .col-auto {
        margin-top: var(--spacing-sm);
        width: 100%;
    }
    
    .admin-page-header .btn {
        width: 100%;
        justify-content: center;
    }
    
    .admin-filters-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .admin-filters-body {
        padding: var(--spacing-md);
    }
    
    .admin-filters-body .row {
        --bs-gutter-x: 1rem;
    }
    
    .admin-table-listing,
    .admin-table-listing-enhanced {
        gap: var(--spacing-xs);
    }
    
    .admin-table-listing-image {
        width: 50px;
        height: 50px;
    }
    
    .admin-table-listing-info h6,
    .listing-title {
        font-size: 0.8rem;
    }
    
    .admin-table-listing-info small,
    .listing-id {
        font-size: 0.7rem;
    }
    
    .listing-location {
        font-size: 0.7rem;
    }
    
    .listing-location i {
        font-size: 0.65rem;
    }
    
    .admin-table-actions {
        gap: 0.25rem;
    }
    
    .admin-table-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .admin-table-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ===========================================
   LIGHTBOX MODAL - GALLERY FULLSCREEN
   =========================================== */

.gallery-fullscreen-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
}

.gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 95%;
    height: 95%;
    max-width: 1200px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox-counter {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
}

.lightbox-controls {
    display: flex;
    gap: var(--spacing-sm);
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.lightbox-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: move;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
    user-select: none;
    pointer-events: none;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-prev {
    left: var(--spacing-lg);
}

.lightbox-next {
    right: var(--spacing-lg);
}

.lightbox-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lightbox-nav-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
}

/* Zoom states */
.lightbox-image.zoomed {
    cursor: grab;
    pointer-events: all;
}

.lightbox-image.zoomed:active {
    cursor: grabbing;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox-container {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
    }
    
    .lightbox-header {
        padding: var(--spacing-sm);
        border-radius: 0;
    }
    
    .lightbox-content {
        border-radius: 0;
    }
    
    .lightbox-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: var(--spacing-sm);
    }
    
    .lightbox-next {
        right: var(--spacing-sm);
    }
    
    .lightbox-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .lightbox-controls {
        gap: var(--spacing-xs);
    }
}

/* Animation */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-modal.active .lightbox-container {
    animation: lightboxFadeIn 0.3s ease-out;
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-md);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 120px;
}

.lightbox-thumbnails-container {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xs) 0;
}

.lightbox-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    opacity: 0.7;
}

.lightbox-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.3);
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.lightbox-thumbnail:hover img {
    transform: scale(1.1);
}

/* Thumbnail scrollbar styling */
.lightbox-thumbnails-container::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Mobile adjustments for thumbnails */
@media (max-width: 768px) {
    .lightbox-thumbnails {
        padding: var(--spacing-sm);
        max-height: 100px;
        border-radius: 0;
    }
    
    .lightbox-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .lightbox-thumbnails-container {
        gap: var(--spacing-xs);
    }
}

/* ========================================
   Demand Modal Styles
   ======================================== */

/* Detail Modal */
.demand-detail-modal {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demand-detail-modal .modal-header {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.user-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-lg .user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.user-avatar-lg .user-avatar-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.property-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: #f8f9fa;
    border-radius: var(--radius-lg);
}

.property-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.property-info-item i {
    font-size: 20px;
    margin-top: 2px;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.demand-description-section {
    padding: var(--spacing-lg);
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
}

.demand-detail-modal .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: var(--spacing-md);
}

.demand-description-text {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
    white-space: pre-wrap;
}

.modal-actions {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e9ecef;
}

/* Edit Modal */
.demand-edit-modal {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demand-edit-modal .modal-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: var(--spacing-xl);
}

.demand-form-title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.demand-form-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 20px;
}

.form-section {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .property-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .user-avatar-lg {
        width: 48px;
        height: 48px;
    }
    
    .user-avatar-lg .user-avatar-text {
        font-size: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}