    /* Основные стили */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --primary-gradient: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0e1a;
    --card-bg: #1a1f2e;
    --text-light: #FFFFFF;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.15);
    --active-link: #f093fb;
    --hover-bg: rgba(255, 255, 255, 0.08);
    --accent-color: #f093fb;
    --accent-secondary: #f5576c;
}

/* Светлая тема */
body.theme-light {
    --dark-bg: #ffffff;
    --card-bg: #f8f9fa;
    --text-light: #232a3a;
    --text-secondary: #6c757d;
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(0, 0, 0, 0.05);
}

/* Стили для карточек Bootstrap */
body.theme-light .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.theme-light .card-header {
    background-color: var(--card-bg);
    border-bottom-color: var(--border-color);
}

body.theme-light .card-body {
    color: var(--text-light);
}

/* Темная тема для карточек */
body.theme-dark .card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.theme-dark .card-header {
    background-color: var(--card-bg);
    border-bottom-color: var(--border-color);
}

body.theme-dark .card-body {
    color: var(--text-light);
}

/* Стили для навигации Bootstrap */
body.theme-light .navbar {
    background-color: var(--card-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

body.theme-light .navbar-brand {
    color: var(--text-light) !important;
}

body.theme-light .nav-link {
    color: var(--text-light) !important;
}

body.theme-light .nav-link:hover {
    color: var(--primary-color) !important;
}

body.theme-dark .navbar {
    background-color: var(--card-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

body.theme-dark .navbar-brand {
    color: var(--text-light) !important;
}

body.theme-dark .nav-link {
    color: var(--text-light) !important;
}

body.theme-dark .nav-link:hover {
    color: var(--primary-color) !important;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
    min-height: 100vh;
    margin: 0;
}

/* Компоненты */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-success {
    background: var(--success-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

/* Карточки объектов */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.property-card {
    background: linear-gradient(145deg, var(--card-bg), #1f2937);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: rgba(240, 147, 251, 0.3);
}

.property-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    opacity: 0;
    transition: opacity 0.2s;
}

.property-card:hover::after {
    opacity: 1;
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.property-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.property-status.active {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.property-status.pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.property-status.suspended {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.property-card .property-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.property-card .property-actions .btn {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 5px 10px;
    transition: all 0.2s;
}

.property-card .property-actions .btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.property-info {
    padding: 15px;
}

.property-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.property-title small {
    font-size: 14px;
    color: var(--text-secondary);
}

.property-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-item i {
    color: #007bff;
    width: 16px;
}

.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-action-button .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Формы */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Навигация */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

body.theme-light .top-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 24px;
    background: linear-gradient(135deg, #f093fb, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 40px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: var(--hover-bg);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(240, 147, 251, 0.5);
}

.nav-link.active {
    background: var(--secondary-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 18px;
}

/* Главный экран */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f2e 30%, #2d3748 70%, var(--card-bg) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245, 87, 108, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(102, 126, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

body.theme-light .hero-section {
    background: #fff;
}

.background-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: url('../images/pattern.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.floating-pillow {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('/logs/падушка.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.85;
    z-index: 1;
    transition: all 0.3s ease;
}

.pillow-1 { top: 10%; left: 10%; animation-delay: 0s; }
.pillow-2 { top: 20%; right: 15%; animation-delay: 2s; }
.pillow-3 { bottom: 15%; left: 20%; animation-delay: 4s; }
.pillow-4 { bottom: 25%; right: 10%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-18px) rotate(2deg); }
    50% { transform: translateY(-30px) rotate(-3deg); }
    75% { transform: translateY(-12px) rotate(1deg); }
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(240, 147, 251, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* Поисковая строка */
.search-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(240, 147, 251, 0.3);
    border-radius: 50px;
    padding: 12px;
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(240, 147, 251, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.1), transparent);
    transition: left 0.6s ease;
}

.search-box:hover::before {
    left: 100%;
}

.search-box:hover,
.search-box:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(225, 0, 255, 0.1);
}

.search-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    margin-left: 10px;
    background: var(--primary-gradient);
    border-radius: 50%;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 18px;
    padding: 15px;
    outline: none;
    margin: 0 15px;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

body.theme-light .search-box {
    background: rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
}
body.theme-light .search-input {
    color: #232a3a;
}
body.theme-light .search-input::placeholder {
    color: #8E92A4;
}

/* Мобильные стили для светлой темы */
@media (max-width: 768px) {
    body.theme-light .hero-title {
        background: linear-gradient(135deg, #4c63d2 0%, #d63384 50%, #dc3545 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 10px rgba(76, 99, 210, 0.4);
        animation: titleGlowLight 2s ease-in-out infinite alternate;
        filter: brightness(0.9) contrast(1.3);
    }

    @keyframes titleGlowLight {
        from {
            filter: brightness(0.9) contrast(1.3) drop-shadow(0 0 5px rgba(76, 99, 210, 0.5));
        }
        to {
            filter: brightness(1.1) contrast(1.4) drop-shadow(0 0 12px rgba(214, 51, 132, 0.7));
        }
    }

    body.theme-light .hero-subtitle {
        background: linear-gradient(135deg, #4c63d2 0%, #d63384 50%, #dc3545 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        font-weight: 600;
        filter: brightness(0.9) contrast(1.3);
        animation: subtitleGlowLight 3s ease-in-out infinite alternate;
    }

    @keyframes subtitleGlowLight {
        from {
            filter: brightness(0.9) contrast(1.3) drop-shadow(0 0 3px rgba(76, 99, 210, 0.4));
        }
        to {
            filter: brightness(1.1) contrast(1.4) drop-shadow(0 0 6px rgba(214, 51, 132, 0.6));
        }
    }

    body.theme-light .search-box {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.8) 100%);
        border: 2px solid rgba(102, 126, 234, 0.4);
        box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3), 
                    0 8px 25px rgba(0, 0, 0, 0.1),
                    0 0 0 1px rgba(102, 126, 234, 0.2);
        animation: searchBoxFloatLight 3s ease-in-out infinite;
    }

    @keyframes searchBoxFloatLight {
        0%, 100% {
            transform: translateY(10px);
        }
        50% {
            transform: translateY(5px);
        }
    }

    body.theme-light .search-box:hover,
    body.theme-light .search-box:focus-within {
        box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), 
                    0 12px 35px rgba(0, 0, 0, 0.15),
                    0 0 0 2px rgba(102, 126, 234, 0.3);
        border-color: rgba(102, 126, 234, 0.6);
    }

    body.theme-light .search-icon {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    body.theme-light .search-icon:hover {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

    body.theme-light .search-input {
        color: #232a3a;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    body.theme-light .search-input::placeholder {
    color: rgba(35, 42, 58, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Принудительно делаем текст в поисковой строке черным для всех тем */
.search-input {
    color: #000000 !important;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* Принудительно делаем текст в поисковой строке черным для мобильной версии */
@media (max-width: 768px) {
    .search-input {
        color: #000000 !important;
    }
    
    .search-input::placeholder {
        color: rgba(0, 0, 0, 0.6) !important;
    }
}

/* Принудительно делаем текст в модальном поиске черным */
#modalSearch {
    color: #000000 !important;
}

#modalSearch::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}
}

/* Секция городов */
.cities-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.cities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    z-index: 1;
}

.cities-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cities-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cities-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 50px;
    font-weight: 400;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.city-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                0 4px 16px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(240, 147, 251, 0.1);
    border: 1px solid rgba(240, 147, 251, 0.2);
}

.city-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 
                0 12px 32px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(240, 147, 251, 0.3);
    border-color: rgba(240, 147, 251, 0.5);
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.city-card:hover::before {
    opacity: 1;
}

.city-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.city-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.city-overlay {
    padding: 20px;
    background: #ffffff;
    color: #2c3e50;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.city-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #2c3e50;
    line-height: 1.3;
}

.city-count {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.city-count i {
    color: var(--accent-color);
    font-size: 16px;
    text-shadow: 0 0 10px rgba(240, 147, 251, 0.5);
}

/* Модальное окно поиска */
.modal-content {
    background: var(--card-bg);
    color: var(--text-light);
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    border: none;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.modal-title {
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.modal-title i {
    color: var(--active-link);
}

.btn-close {
    background: none;
    opacity: 1;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.btn-close:hover {
    color: var(--text-light);
    transform: rotate(90deg);
}

.search-container {
    padding: 1.5rem;
}

#modalSearch {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s;
}

#modalSearch:focus {
    outline: none;
    border-color: var(--active-link);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(225, 0, 255, 0.1);
}

.search-suggestions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.suggestion-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.suggestion-content {
    flex: 1;
}

.suggestion-main {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.suggestion-sub {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-item.error {
    background: rgba(220, 38, 38, 0.1);
    cursor: default;
}

.suggestion-item.error:hover {
    background: rgba(220, 38, 38, 0.15);
}

.suggestion-item.error i {
    color: #dc2626;
}

.suggestion-group-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.popular-searches {
    margin-top: 2rem;
}

.popular-searches h6 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag i {
    color: var(--text-secondary);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.tag:hover i {
    color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 32px;
        text-shadow: 0 2px 10px rgba(240, 147, 251, 0.3);
        background: linear-gradient(135deg, #4c63d2 0%, #d63384 50%, #dc3545 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        letter-spacing: -0.5px;
        animation: titleGlow 2s ease-in-out infinite alternate;
        filter: brightness(0.9) contrast(1.3);
    }

    @keyframes titleGlow {
        from {
            filter: brightness(0.9) contrast(1.3) drop-shadow(0 0 5px rgba(76, 99, 210, 0.5));
        }
        to {
            filter: brightness(1.1) contrast(1.4) drop-shadow(0 0 12px rgba(214, 51, 132, 0.7));
        }
    }

    .hero-subtitle {
        font-size: 18px;
        background: linear-gradient(135deg, #4c63d2 0%, #d63384 50%, #dc3545 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        font-weight: 600;
        margin-bottom: 25px;
        filter: brightness(0.9) contrast(1.3);
        animation: subtitleGlow 3s ease-in-out infinite alternate;
    }

    @keyframes subtitleGlow {
        from {
            filter: brightness(0.9) contrast(1.3) drop-shadow(0 0 3px rgba(76, 99, 210, 0.4));
        }
        to {
            filter: brightness(1.1) contrast(1.4) drop-shadow(0 0 6px rgba(214, 51, 132, 0.6));
        }
    }

    .cities-title {
        font-size: 26px;
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .cities-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
        color: #6c757d;
    }

    .search-box {
        max-width: 100%;
        padding: 8px;
        border-radius: 35px;
        margin-top: 20px;
        margin-bottom: 20px;
        transform: translateY(10px);
        box-shadow: 0 15px 50px rgba(240, 147, 251, 0.4), 
                    0 8px 25px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(240, 147, 251, 0.2);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(240, 147, 251, 0.1) 100%);
        border: 2px solid rgba(240, 147, 251, 0.4);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        position: relative;
        z-index: 10;
        animation: searchBoxFloat 3s ease-in-out infinite;
    }

    @keyframes searchBoxFloat {
        0%, 100% {
            transform: translateY(10px);
        }
        50% {
            transform: translateY(5px);
        }
    }

    .search-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(240, 147, 251, 0.2), transparent);
        transition: left 0.8s ease;
        border-radius: 35px;
    }

    .search-box:hover::before {
        left: 100%;
    }

    .search-box:hover,
    .search-box:focus-within {
        transform: translateY(8px) scale(1.02);
        box-shadow: 0 20px 60px rgba(240, 147, 251, 0.5), 
                    0 12px 35px rgba(0, 0, 0, 0.4),
                    0 0 0 2px rgba(240, 147, 251, 0.3);
        border-color: rgba(240, 147, 251, 0.6);
    }

    .search-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-left: 8px;
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .search-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
    }

    .search-input {
        font-size: 16px;
        padding: 12px 15px;
        margin: 0 12px;
        color: #000000;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .search-input::placeholder {
        color: rgba(0, 0, 0, 0.6);
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    }

    .floating-pillow {
        width: 80px;
        height: 80px;
    }

    .background-pattern {
        width: 100%;
        height: 100%;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .city-card img {
        height: 140px;
    }

    .city-overlay {
        padding: 12px;
    }

    .city-name {
        font-size: 16px;
        margin-bottom: 6px;
        color: #2c3e50;
    }

    .city-count {
        font-size: 12px;
        color: #6c757d;
    }

    .cities-more {
        margin-top: 35px;
    }

    .btn-more-cities {
        padding: 14px 28px;
        font-size: 14px;
        border-radius: 40px;
    }

    .btn-more-cities i {
        font-size: 16px;
    }

    .cities-section {
        padding: 40px 0;
    }
    .hero-section {
        padding-top: 0;
        padding-bottom: 30px;
    }
    .hero-content {
        margin-top: 0;
        padding-top: 0;
    }

    .pillow-1 { top: 8%; left: 5%; }
    .pillow-2 { top: 18%; right: 8%; }
    .pillow-3 { bottom: 10%; left: 10%; }
    .pillow-4 { bottom: 18%; right: 5%; }
}

/* Футер */
.footer {
    background: linear-gradient(135deg, var(--card-bg) 0%, #1f2937 100%);
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245, 87, 108, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-gradient);
    transform: translateY(-3px) scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.footer-title {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-contacts a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--text-light);
}

.footer-contacts i {
    color: var(--active-link);
    font-size: 18px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-secondary);
    margin: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 24px;
}

.payment-methods img {
    filter: grayscale(1) brightness(0.8);
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    filter: none;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
}

.suggestion-item .highlight {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.suggestion-item .suggestion-sub i {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.6);
}

/* Стили для уведомлений */
.notifications-section {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notification-item.unread {
    background: var(--primary-color-light);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.notification-text {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.notification-property {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Стили для сообщений */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.message-item.unread {
    background: var(--primary-color-light);
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.message-sender {
    font-weight: 600;
    color: var(--text-color);
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.message-text {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.message-property {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Стили для модального окна */
.modal-content {
    background: var(--card-bg);
    color: var(--text-color);
}

.modal-header {
    border-bottom-color: var(--border-color);
}

.modal-footer {
    border-top-color: var(--border-color);
}

.form-control, .form-select {
    background: var(--bg-color);
    border-color: var(--border-color);
    color: var(--text-color);
}

.form-control:focus, .form-select:focus {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--text-color);
}

.cities-more {
    text-align: center;
    margin-top: 50px;
}

.btn-more-cities {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-more-cities::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-more-cities:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4),
                0 4px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.btn-more-cities:hover::before {
    left: 100%;
}

.btn-more-cities i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-more-cities:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .cities-more {
        margin-top: 30px;
    }

    .btn-more-cities {
        padding: 12px 25px;
        font-size: 14px;
    }

    .btn-more-cities i {
        font-size: 16px;
    }
}

/* Кнопка переключения темы */
.theme-toggle-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    outline: none;
    overflow: visible;
    color: white;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.theme-toggle-btn i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(180deg);
}

/* Мобильная кнопка переключения темы */
.theme-toggle-btn-mobile {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    outline: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.theme-toggle-btn-mobile:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.theme-toggle-btn-mobile i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn-mobile:hover i {
    transform: rotate(180deg);
}

/* Кастомная кнопка переключения темы для страниц с собственным header */
.theme-toggle-btn-custom {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    outline: none;
    color: white;
}

.theme-toggle-btn-custom:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.theme-toggle-btn-custom i {
    transition: transform 0.3s ease;
}

.theme-toggle-btn-custom:hover i {
    transform: rotate(180deg);
}

/* Уведомления о смене темы */
.theme-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 10000;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .theme-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 15px;
        margin-left: 8px;
    }
    
    .theme-toggle-btn-mobile {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .theme-toggle-btn-custom {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
} 

.text-muted, .footer-desc, .footer-brand p, .footer-main .footer-desc {
    color: #232a3a !important;
} 