       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        

        
        /* НОВЫЙ СТИЛЬ: Автоматический перенос строк в описании */
        .description-text {
            word-wrap: break-word;
            overflow-wrap: break-word;
            white-space: pre-wrap;
            line-height: 1.6;
            max-width: 100%;
            font-size: 16px;
            color: #4a5568;
        }
        
        /* СТИЛЬ ДЛЯ ТЕКСТА, КОТОРЫЙ ПЕРЕНОСИТСЯ КАЖДЫЕ 15 СИМВОЛОВ */
        .auto-line-break {
            word-break: break-word;
            white-space: normal;
            line-height: 1.6;
            max-width: 100%;
            display: block;
        }
        
        /* Исправление: высота потолков и год постройки не слипаются */
        #apartmentCharacteristics .area-input-group {
            margin-bottom: 15px;
        }
        
        #houseCharacteristics .area-input-group {
            margin-bottom: 15px;
        }
        
        /* Исправление: кнопки слайдера скрываются при 3 или менее объявлениях */
        .slider-btn-hidden {
            display: none !important;
        }
        
        /* НОВЫЙ СТИЛЬ: слайдер листается по 2 объявления на десктопе */
        @media (min-width: 769px) {
            .properties-slider .property-card {
                flex: 0 0 calc(50% - 12.5px) !important;
                min-width: calc(50% - 12.5px) !important;
                max-width: calc(50% - 12.5px) !important;
                width: calc(50% - 12.5px) !important;
            }
            
            /* На мобильных устройствах 1 объявление */
            @media (max-width: 768px) {
                .properties-slider .property-card {
                    flex: 0 0 100% !important;
                    min-width: 100% !important;
                    max-width: 100% !important;
                    width: 100% !important;
                }
            }
        }
        
        /* НОВЫЙ СТИЛЬ: черновики без золотой обводки и смайликов */
        .draft-card-grid {
            border: 2px solid #e2e8f0 !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
        }
        
        .draft-card-grid:hover {
            border-color: #6c757d !important;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
        }
        
        .btn-draft-edit i,
        .btn-draft-publish i,
        .btn-draft-delete i {
            /* Убираем смайлики/иконки около текста */
        }
        
        /* Исправление: после выбора расположения и нажатия "продолжить" - переходить в начало характеристик */
        #step3Modal .modal-body {
            max-height: 80vh;
            overflow-y: auto;
            padding-top: 0;
        }
        
        /* Исправление: высота потолков и год постройки не слипаются */
        #apartmentCharacteristics .custom-dropdown-container,
        #houseCharacteristics .custom-dropdown-container {
            margin-bottom: 15px;
        }
        
        .property-detail-right {
            border: 2px solid #e2e8f0 !important; /* Убираем оранжевую обводку */
        }
        
        /* Остальные стили остаются без изменений */
        ::selection {
            background-color: rgba(108, 117, 125, 0.2);
            color: inherit;
        }
        
        ::-moz-selection {
            background-color: rgba(108, 117, 125, 0.2);
            color: inherit;
        }
        
        * {
            user-select: text;
        }
        
        .tab-content.active {
            scroll-margin-top: 100px;
        }
        
        .property-detail-page {
            scroll-margin-top: 100px;
        }
        
        .navbar {
            background: linear-gradient(135deg, #6c757d 0%, #8e9aa5 100%);
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            height: 80px;
        }
        
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            height: 50px;
        }
        
        .logo-image {
            width: 150px;
            height: 50px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px;
        }
        
        .logo-avatar {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            margin-right: 10px;
            overflow: hidden;
            padding: 3px;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-title {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 32px;
            font-weight: 800;
            color: white;
            letter-spacing: 1px;
            height: 50px;
            line-height: 50px;
            margin-right: 40px;
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
            align-items: center;
            margin-left: -20px;
        }
        
        .nav-link {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            padding: 8px 0;
            position: relative;
        }
        
        .nav-link:hover {
            opacity: 0.9;
        }
        
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #ff9800;
            border-radius: 2px;
        }
        
        .auth-container {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .user-info {
            display: none;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 16px;
            border-radius: 50px;
            color: white;
        }
        
        .user-role {
            background: linear-gradient(135deg, #ff9800, #ffb300);
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
        }
        
        .btn-nav {
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            gap: 8px;
        }
        
        .btn-login {
            background: #ff9800;
            color: white;
            box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
        }
        
        .btn-add {
            background: #ff9800;
            color: white;
            box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
            display: none;
        }
        
        .btn-logout {
            background: transparent;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 6px 12px;
            font-size: 13px;
        }
        
        .main-content {
            max-width: 1200px;
            margin: 120px auto 30px;
            padding: 0 20px;
        }
        
        .hero-section {
            background: linear-gradient(135deg, #6c757d 0%, #8e9aa5 100%);
            border-radius: 20px;
            padding: 40px;
            color: white;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(108, 117, 125, 0.2);
        }
        
        .hero-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 18px;
            opacity: 0.9;
            max-width: 600px;
            line-height: 1.6;
            margin-bottom: 30px;
        }
        
        .hero-actions {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }
        
        .btn-hero {
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .btn-primary {
            background: #ff9800;
            color: white;
            box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
        }
        
        .btn-secondary {
            background: white;
            color: #6c757d;
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
        }
        
        .section {
            background: white;
            border-radius: 16px;
            padding: 35px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        
        .section-title {
            font-size: 22px;
            font-weight: 700;
            color: #6c757d;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .section-title::before {
            content: '';
            width: 6px;
            height: 24px;
            background: #ff9800;
            border-radius: 3px;
        }
        
        .properties-slider-container {
            position: relative;
            margin-top: 20px;
            overflow: hidden;
            padding: 0 50px;
        }
        
        .properties-slider {
            display: flex;
            gap: 25px;
            transition: transform 0.5s ease-in-out;
            padding: 10px 0;
        }
        
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(108, 117, 125, 0.9);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
            opacity: 0.9;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .slider-btn:hover {
            background: #6c757d;
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }
        
        .slider-btn-left {
            left: 0;
        }
        
        .slider-btn-right {
            right: 0;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .service-card {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            border-left: 4px solid #6c757d;
            transition: all 0.3s ease;
        }
        
        .service-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(108, 117, 125, 0.1);
        }
        
        .service-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #6c757d, #8e9aa5);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            margin-bottom: 20px;
        }
        
        .service-name {
            font-size: 18px;
            font-weight: 700;
            color: #6c757d;
            margin-bottom: 15px;
        }
        /* Стили для inline PNG иконок */
.inline-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.inline-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff9800;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.inline-social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.inline-social-icon:hover img {
    filter: brightness(1.3);
}

/* Эффект свечения при наведении */
@keyframes glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7); }
    100% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
}

.inline-social-icon:hover {
    animation: glow 1.5s infinite;
}
        .service-description {
            color: #4a5568;
            line-height: 1.6;
            font-size: 14px;
        }
        
        .realtor-panel {
            background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
            border: 2px solid #ffb300;
            display: none;
        }
        
        .panel-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }
        
        .panel-icon {
            width: 50px;
            height: 50px;
            background: #ff9800;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }
        
        .panel-title {
            font-size: 22px;
            font-weight: 700;
            color: #1a202c;
        }
        
        .properties-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 20px;
        }
        
        .property-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
            width: 100%;
            flex-shrink: 0;
        }
        
        .properties-slider .property-card {
            flex: 0 0 320px !important;
            min-width: 320px !important;
            max-width: 320px !important;
            width: 320px !important;
            min-height: 420px;
        }
        
        .property-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }
        
        .property-image {
            height: 180px;
            background: linear-gradient(135deg, #6c757d, #8e9aa5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            position: relative;
            overflow: hidden;
        }
        
        .property-image-slider {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .property-image-slider img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .property-image-slider img.active {
            opacity: 1;
        }
        
        .property-slider-buttons {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .property-card:hover .property-slider-buttons {
            opacity: 1;
        }
        
        .property-slider-btn {
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s ease;
            z-index: 2;
        }
        
        .property-slider-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: scale(1.1);
        }
        
        .property-slider-counter {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
            z-index: 2;
        }
        
        .price-container {
            display: flex;
            flex-direction: column;
            margin: 15px 0;
        }
        
        .price-with-discount {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: nowrap;
            margin-bottom: 5px;
            justify-content: space-between;
        }
        
        .original-price {
            font-size: 16px;
            color: #718096;
            text-decoration: line-through;
            font-weight: 500;
            white-space: nowrap;
        }
        
        .discount-price {
            font-size: 20px;
            font-weight: 700;
            color: #ff9800;
            white-space: nowrap;
        }
        
        .discount-price .ruble-symbol {
            margin-left: 2px;
            font-weight: 600;
        }
        
        .discount-percent {
            background: #ff9800;
            color: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }
        
        .property-price {
            font-size: 20px;
            font-weight: 700;
            color: #ff9800;
            margin: 15px 0;
            white-space: nowrap;
        }
        
        .property-price .ruble-symbol {
            margin-left: 2px;
            font-weight: 600;
        }
        
        .property-info {
            padding: 15px;
        }
        
        .property-address {
            font-size: 14px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 12px;
            line-height: 1.4;
        }
        
        .property-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            color: #4a5568;
            font-size: 12px;
        }
        
        .property-card[data-type="house"] .property-details .fa-door-closed,
        .property-card[data-type="house"] .property-details span:nth-child(2):contains("?") {
            display: none;
        }
        
        .property-card[data-type="house"] .property-details span:nth-child(2) {
            visibility: hidden;
            width: 0;
            margin: 0;
            padding: 0;
        }
        
        .property-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 12px;
            border-top: 1px solid #e2e8f0;
            font-size: 11px;
            color: #718096;
        }
        
        .property-realtor {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .property-id {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }
        
        .property-actions {
            display: flex;
            gap: 8px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
            align-items: center;
            min-height: 40px;
        }
        
        .btn-delete {
            flex: 1;
            background: #dc3545;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            height: 35px;
            min-width: 80px;
        }
        
        .btn-delete:hover {
            background: #c82333;
            transform: translateY(-2px);
        }
        
        .btn-view {
            flex: 1;
            background: #6c757d;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            text-decoration: none;
            height: 35px;
            min-width: 80px;
        }
        
        .btn-view:hover {
            background: #8e9aa5;
            transform: translateY(-2px);
        }
        
        .property-link {
            font-size: 11px;
            color: #6c757d;
            background: #f8f9fa;
            padding: 4px 8px;
            border-radius: 4px;
            margin-top: 10px;
            word-break: break-all;
            border: 1px dashed #dee2e6;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1001;
        }
        
/* Увеличиваем размер модальных окон */
.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px; /* Увеличен с 600px */
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
    background: linear-gradient(135deg, #6c757d 0%, #8e9aa5 100%);
    color: white;
    padding: 25px 30px;
    font-size: 20px;
    font-weight: 700;
}

.modal-body {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Увеличиваем размер вкладок редактирования */
.edit-modal-body {
    max-height: 80vh; /* Увеличен с 70vh */
    overflow-y: auto;
    padding: 30px;
}

/* Увеличиваем размер кнопок выбора типа недвижимости */
.property-type-btn {
    padding: 20px; /* Увеличен с 15px */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px; /* Увеличен с 10px */
    font-size: 16px; /* Увеличен с 14px */
    color: #4a5568;
    position: relative;
    min-height: 140px; /* Увеличен с 120px */
}

/* Увеличиваем иконки в кнопках выбора типа */
.property-type-btn .type-png-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px; /* Увеличен с 80px */
    height: 100px; /* Увеличен с 80px */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Увеличиваем шрифт в названии типа */
.property-type-btn span {
    font-weight: 600;
    font-size: 15px; /* Увеличен с 13px */
    text-align: left;
}

/* Увеличиваем иконку внутри кнопки */
.type-icon {
    width: 40px; /* Увеличен с 32px */
    height: 40px; /* Увеличен с 32px */
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 10px; /* Увеличен с 8px */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Увеличен с 14px */
    color: #6c757d;
}

/* Увеличиваем поля ввода */
.input-field {
    width: 100%;
    padding: 12px 16px; /* Увеличен с 10px 12px */
    border: 2px solid #e2e8f0;
    border-radius: 10px; /* Увеличен с 8px */
    font-size: 14px; /* Увеличен с 13px */
    transition: all 0.3s ease;
}

/* Увеличиваем текстовые области */
.description-textarea {
    width: 100%;
    min-height: 120px; /* Увеличен с 100px */
    padding: 16px; /* Увеличен с 12px */
    border: 2px solid #e2e8f0;
    border-radius: 12px; /* Увеличен с 10px */
    font-size: 14px; /* Увеличен с 13px */
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: vertical;
}

/* Увеличиваем кнопки в модальных окнах */
.btn-modal-primary,
.btn-modal-secondary {
    flex: 1;
    padding: 14px; /* Увеличен с 12px */
    border-radius: 10px; /* Увеличен с 8px */
    font-weight: 600;
    font-size: 14px; /* Увеличен с 13px */
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-buttons {
    display: flex;
    gap: 15px; /* Увеличен с 12px */
    margin-top: 25px; /* Увеличен с 20px */
}

/* Увеличиваем области ввода координат */
.coordinate-input {
    width: 100%;
    padding: 14px; /* Увеличен с 12px */
    border: 2px solid #e2e8f0;
    border-radius: 10px; /* Увеличен с 8px */
    font-size: 16px; /* Увеличен с 14px */
}

/* Увеличиваем подсказку кадастрового номера */
.cadastral-hint {
    font-size: 12px; /* Увеличен с 11px */
    color: #a0aec0;
    margin-top: 5px; /* Увеличен с 4px */
    font-style: italic;
}

/* Увеличиваем поля ввода площади */
.area-input {
    width: 100%;
    padding: 16px; /* Оставляем как есть, уже большой */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Увеличиваем поля ввода цены */
.price-input {
    width: 100%;
    padding: 16px;
    padding-right: 60px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 20px; /* Оставляем большой шрифт */
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Увеличиваем контейнеры для выпадающих списков */
.custom-dropdown-select {
    width: 100%;
    padding: 16px 20px; /* Увеличен с 14px 16px */
    border: 2px solid #e2e8f0;
    border-radius: 12px; /* Увеличен с 10px */
    font-size: 16px; /* Увеличен с 14px */
    background: white;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Увеличиваем опции в выпадающих списках */
.custom-dropdown-option {
    padding: 16px 20px; /* Увеличен с 14px 16px */
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f7fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px; /* Увеличен с 14px */
}

/* Увеличиваем поля ввода телефона */
.phone-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}
        
.modal-header {
    background: linear-gradient(135deg, #6c757d 0%, #8e9aa5 100%);
    color: white;
    padding: 20px 25px; /* Уменьшено с 25px 30px */
    font-size: 18px; /* Уменьшено с 20px */
    font-weight: 700;
}

.modal-body {
    padding: 25px; /* Уменьшено с 30px */
    max-height: 70vh; /* Уменьшено с 80vh */
    overflow-y: auto;
}
        
.input-group {
    margin-bottom: 15px; /* Уменьшено с 20px */
}

.input-label {
    display: block;
    margin-bottom: 8px; /* Уменьшено с 10px */
    font-weight: 600;
    color: #1a202c;
    font-size: 13px; /* Уменьшено с 14px */
}

.input-field {
    width: 100%;
    padding: 10px 12px; /* Уменьшено с 12px */
    border: 2px solid #e2e8f0;
    border-radius: 8px; /* Уменьшено с 10px */
    font-size: 13px; /* Уменьшено с 14px */
    transition: all 0.3s ease;
}
        
        .input-field:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .modal-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        .btn-modal-primary {
            flex: 1;
            background: #6c757d;
            color: white;
            padding: 14px;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-modal-primary:hover {
            background: #8e9aa5;
        }
        
        .btn-modal-secondary {
            flex: 1;
            background: #e2e8f0;
            color: #4a5568;
            padding: 14px;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-modal-secondary:hover {
            background: #d0d7e0;
        }
        
        .message {
            padding: 12px;
            border-radius: 8px;
            margin-top: 15px;
            font-size: 13px;
            display: none;
        }
        
        .success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .footer {
            background: #1a202c;
            color: white;
            padding: 40px 20px;
            margin-top: 60px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
        }
        
        .footer-section h3 {
            font-size: 16px;
            margin-bottom: 20px;
            color: white;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #a0aec0;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #2d3748;
            color: #a0aec0;
            font-size: 13px;
        }
        
        @media (max-width: 1024px) {
            .navbar {
                padding: 15px 25px;
            }
            
            .nav-links {
                gap: 20px;
            }
            
            .hero-title {
                font-size: 30px;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .properties-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .property-detail-split {
                flex-direction: column;
            }
            
            .property-detail-right {
                width: 100%;
                position: static;
                margin-top: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
                height: auto;
                min-height: 80px;
            }
            
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            
            .auth-container {
                width: 100%;
                justify-content: center;
                gap: 15px;
            }
            
            .main-content {
                margin-top: 160px;
            }
            
            .hero-section {
                padding: 25px;
            }
            
            .hero-title {
                font-size: 24px;
            }
            
            .hero-subtitle {
                font-size: 16px;
                line-height: 1.5;
            }
            
            .hero-actions {
                flex-direction: column;
                gap: 10px;
            }
            
            .section {
                padding: 20px;
            }
            
            .services-grid,
            .properties-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .property-card {
                max-width: 400px;
                margin: 0 auto;
            }
            
            .modal-content {
                width: 95%;
                margin: 10px;
            }
            
            .properties-slider-container {
                padding: 0 10px;
            }
            
            .slider-btn {
                display: none;
            }
            
            .properties-slider .property-card {
                flex: 0 0 280px !important;
                min-width: 280px !important;
                max-width: 280px !important;
                width: 280px !important;
            }
            
            .price-with-discount {
                flex-wrap: wrap;
                gap: 5px;
            }
        }
        
        .property-types {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
        }
        
        .property-type-btn {
    padding: 15px; /* Уменьшено с 25px */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px; /* Уменьшено с 15px */
    font-size: 14px; /* Уменьшено с 16px */
    color: #4a5568;
    position: relative;
    min-height: 120px; /* Уменьшено с 160px */
}

/* Уменьшаем иконки внутри кнопок */
.property-type-btn .type-png-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 80px; /* Уменьшено с 110px */
    height: 80px; /* Уменьшено с 110px */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Уменьшаем шрифт в названии типа */
.property-type-btn span {
    font-weight: 600;
    font-size: 13px; /* Уменьшено с 15px */
    text-align: left;
}

/* Также уменьшаем иконку внутри кнопки */
.type-icon {
    width: 32px; /* Уменьшено с 40px */
    height: 32px; /* Уменьшено с 40px */
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 8px; /* Уменьшено с 10px */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Уменьшено с 18px */
    color: #6c757d;
}

.property-type-btn.active .type-icon {
    background: linear-gradient(135deg, #6c757d, #8e9aa5);
    color: white;
}
        
        .type-png-icon {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 110px;
            height: 110px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: right bottom;
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .property-type-btn:hover .type-png-icon {
            opacity: 1;
            transform: scale(1.05);
        }

        .property-type-btn.active .type-png-icon {
            opacity: 1;
        }
        
        .area-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 25px 0;
        }
        
        .area-input-group {
            position: relative;
        }
        
        .area-input {
            width: 100%;
            padding: 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            -moz-appearance: textfield;
        }
        
        .area-input::-webkit-outer-spin-button,
        .area-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        
        .area-input:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .area-label {
            position: absolute;
            top: -10px;
            left: 12px;
            background: white;
            padding: 0 8px;
            font-size: 12px;
            color: #718096;
            font-weight: 600;
        }
        
        .price-input-group {
            position: relative;
            margin: 25px 0;
        }
        
        .price-input {
            width: 100%;
            padding: 16px;
            padding-right: 60px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 20px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .price-input:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .price-suffix {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #718096;
            font-size: 16px;
        }
        
        .photos-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin: 25px 0;
        }
        
        .photo-upload-btn {
            aspect-ratio: 1;
            border: 2px dashed #e2e8f0;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #fafbfc;
            color: #718096;
        }
        
        .photo-upload-btn:hover {
            border-color: #6c757d;
            background: #f8f9fa;
        }
        
        .photo-item {
            position: relative;
            aspect-ratio: 1;
            border-radius: 12px;
            overflow: hidden;
            background: #f7fafc;
        }
        
        .delete-photo {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(0,0,0,0.7);
            color: white;
            border: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 12px;
        }
        /* Черная обводка для активной кнопки выбора типа недвижимости */
.property-type-btn.active {
    border: 2px solid #000 !important;
    background-color: #f8f9fa !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Убедимся, что при наведении сохраняется черная обводка */
.property-type-btn.active:hover {
    border: 2px solid #000 !important;
    background-color: #f0f0f0 !important;
}
        .contacts-form {
            margin-top: 25px;
        }
        
        .phone-input-group {
            position: relative;
            margin-bottom: 20px;
        }
        
        .phone-input {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .phone-input:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .phone-prefix {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-weight: 600;
            color: #4a5568;
        }
        
        .tab-content {
            display: none;
        }
        /* Добавьте в секцию стилей */
.description-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.6;
    max-width: 100%;
    font-size: 16px;
    color: #4a5568;
}

/* Стиль для скрытого текста (после 6 строк) */
.description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 6); /* 6 строк */
}

/* Кнопка "Читать дальше" */
.read-more-btn {
    background: none;
    border: none;
    color: #ff9800;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: #e68900;
    text-decoration: underline;
}
        .tab-content.active {
            display: block;
        }
        
        .rooms-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
        }
        
        .room-option {
            padding: 12px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
        }
        
        .room-option:hover {
            border-color: #6c757d;
            background: #f5f5f5;
            transform: translateY(-2px);
        }
        
        .room-option.active {
            border-color: #6c757d;
            background: #f8f9fa;
            color: #6c757d;
            font-weight: 600;
        }
        
        .filters-container {
            background: white;
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        
        .filters-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .filter-group {
            margin-bottom: 15px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #6c757d;
            font-size: 14px;
        }
        
        .filter-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            background: white;
            color: #1a202c;
            transition: all 0.3s ease;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
        }
        
        .filter-select:hover {
            border-color: #6c757d;
        }
        
        .filter-select:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .filter-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        
        .filter-input:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }
        
        .filter-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        .property-detail-page {
            margin: 100px auto 50px;
            padding: 0 20px;
            max-width: 1400px;
        }
        
        .property-detail-split {
            display: flex;
            gap: 40px;
            margin-top: 20px;
            position: relative;
        }
        
        .property-detail-left {
            flex: 1;
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }
        
        .property-detail-right {
            width: 400px;
            position: sticky;
            top: 100px;
            height: fit-content;
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            border: 2px solid #e2e8f0;
        }
        
        .property-detail-image {
            height: 400px;
            background: linear-gradient(135deg, #6c757d, #8e9aa5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 30px;
        }
        
        .property-detail-content {
            text-align: left;
        }
        
        .property-detail-title {
            font-size: 36px;
            font-weight: 800;
            color: #1a202c;
            margin-bottom: 30px;
            text-align: left;
        }
        
        .property-detail-info {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
            text-align: left;
        }
        
        .info-label {
            font-size: 16px;
            color: #718096;
            font-weight: 600;
        }
        
        .info-value {
            font-size: 22px;
            color: #1a202c;
            font-weight: 700;
        }
        
        .property-detail-price {
            font-size: 48px;
            font-weight: 800;
            color: #ff9800;
            margin: 40px 0;
            text-align: center;
        }
        
        .drafts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .draft-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            border: 2px solid #ffb300;
            box-shadow: 0 4px 15px rgba(255, 179, 0, 0.1);
            position: relative;
        }
        
        .draft-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .btn-publish {
            flex: 1;
            background: #ff9800;
            color: white;
            border: none;
            padding: 10px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-publish:hover {
            background: #e68900;
            transform: translateY(-2px);
        }
        
        .my-properties-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 20px;
        }
        
        .my-properties-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }
        
        .my-properties-table th {
            background: #f8f9fa;
            padding: 15px;
            text-align: left;
            font-weight: 600;
            color: #6c757d;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .my-properties-table td {
            padding: 15px;
            border-bottom: 1px solid #e2e8f0;
            color: #4a5568;
        }
        
        .btn-edit {
            background: #ff9800;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            min-width: 100px;
            height: 35px;
            justify-content: center;
        }
        
        .btn-edit:hover {
            background: #e68900;
            transform: translateY(-2px);
        }

        .select-group {
            position: relative;
            margin-bottom: 20px;
        }

        .select-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #6c757d;
            font-size: 14px;
        }

        .select-wrapper {
            position:relative;
        }

        .custom-select {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            background: white;
            color: #1a202c;
            transition: all 0.3s ease;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2342454b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 20px;
            padding-right: 50px;
        }

        .custom-select:hover {
            border-color: #6c757d;
            background-color: #f8f9fa;
        }

        .custom-select:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
            background-color: white;
        }

        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 15px 0;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .checkbox-label:hover {
            border-color: #6c757d;
            background: #f8f9fa;
        }

        .checkbox-label input[type="checkbox"]:checked + span {
            font-weight: 600;
            color: #6c757d;
        }

        .checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
            background: #6c757d;
            border-color: #6c757d;
        }

        .checkbox-custom {
            width: 18px;
            height: 18px;
            border: 2px solid #e2e8f0;
            border-radius: 4px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkbox-custom::after {
            content: '✓';
            color: white;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
            opacity: 1;
        }

        .checkbox-label input[type="checkbox"] {
            display: none;
        }
/* Уменьшенный размер для полей телефона */
.phone-input-small {
    width: 250px !important; /* Уменьшенная ширина */
    margin: 0 auto; /* Центрирование */
}

.phone-input-small .phone-input {
    padding: 10px 12px !important;
    font-size: 14px !important;
    text-align: center !important;
}

.phone-input-small .phone-prefix {
    left: 10px !important;
    font-size: 13px !important;
}
.cadastral-hint {
    font-size: 11px; /* Уменьшено с 12px */
    color: #a0aec0;
    margin-top: 4px; /* Уменьшено с 5px */
    font-style: italic;
}

        .cadastral-input {
            background: #f8f9fa;
            border: 2px dashed #e2e8f0;
        }

        .cadastral-input:focus {
            background: white;
            border-style: solid;
        }

        .sortable-table th {
            cursor: pointer;
            user-select: none;
            position: relative;
            padding-right: 25px;
        }

        .sortable-table th:hover {
            background: #f0f0f0;
        }

        .sortable-table th.sort-asc::after {
            content: '↑';
            position: absolute;
            right: 10px;
            color: #6c757d;
        }

        .sortable-table th.sort-desc::after {
            content: '↓';
            position: absolute;
            right: 10px;
            color: #6c757d;
        }

        .property-characteristics {
            margin: 30px 0;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid #ff9800;
            text-align: left;
        }

        .characteristics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 20px;
            text-align: left;
        }

        .characteristic-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
            text-align: left;
        }

        .characteristic-label {
            font-weight: 600;
            color: #4a5568;
            font-size: 16px;
            text-align: left;
        }

        .characteristic-value {
            font-weight: 600;
            color: #6c757d;
            text-align: right;
            font-size: 16px;
        }

        .property-description {
            margin: 30px 0;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 12px;
            line-height: 1.6;
            color: #4a5568;
            font-size: 16px;
            text-align: left;
        }

        .description-title {
            font-size: 22px;
            font-weight: 700;
            color: #6c757d;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff9800;
            text-align: left;
        }

        .description-group {
            margin: 25px 0;
        }

.description-textarea {
    width: 100%;
    min-height: 100px; /* Уменьшено с 120px */
    padding: 12px; /* Уменьшено с 16px */
    border: 2px solid #e2e8f0;
    border-radius: 10px; /* Уменьшено с 12px */
    font-size: 13px; /* Уменьшено с 14px */
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: vertical;
}

        .description-textarea:focus {
            border-color: #6c757d;
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
        }

        .description-hint {
            font-size: 12px;
            color: #a0aec0;
            margin-top: 8px;
            font-style: italic;
        }

        .custom-dropdown-container {
            position: relative;
            margin-bottom: 20px;
        }

        .custom-dropdown-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #6c757d;
            font-size: 14px;
        }

        .custom-dropdown-select {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            background: white;
            color: #1a202c;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .custom-dropdown-select:hover {
            border-color: #6c757d;
            background-color: #f8f9fa;
        }

        .custom-dropdown-select.open {
            border-color: #6c757d;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom: none;
        }

        .custom-dropdown-arrow {
            transition: transform 0.3s;
            color: #718096;
        }

        .custom-dropdown-select.open .custom-dropdown-arrow {
            transform: rotate(180deg);
            color: #6c757d;
        }

        .custom-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid #6c757d;
            border-top: none;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none;
            overflow: hidden;
            max-height: 300px;
            overflow-y: auto;
        }

        .custom-dropdown-menu.open {
            display: block;
        }

        .custom-dropdown-option {
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid #f7fafc;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .custom-dropdown-option:last-child {
            border-bottom: none;
        }

        .custom-dropdown-option:hover {
            background-color: #f5f7fa;
        }

        .custom-dropdown-option.selected {
            background-color: #fff8e1;
            font-weight: 600;
        }

        .custom-dropdown-option input[type="checkbox"] {
            margin-right: 12px;
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #ff9800;
        }

        .custom-dropdown-option label {
            cursor: pointer;
            flex: 1;
            font-size: 14px;
            color: #1a202c;
            user-select: none;
        }

        .enhanced-filter-group {
            position: relative;
            margin-bottom: 25px;
        }

        .cadastral-services-buttons {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .btn-cadastral {
            padding: 18px 35px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            flex: 1;
            min-height: 70px;
            text-align: center;
            border: none !important;
            box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4) !important;
        }

        .btn-cadastral-large {
            padding: 20px 40px;
            font-size: 18px;
            border: none !important;
        }

        .draft-card-enhance {
            background: white;
            border-radius: 12px;
            padding: 25px;
            border: 2px solid #ffb300;
            box-shadow: 0 4px 15px rgba(255, 179, 0, 0.1);
            margin-bottom: 20px;
        }

        .draft-info {
            margin-bottom: 20px;
        }

        .draft-field {
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;
            text-align: left;
        }

        .draft-field-label {
            font-weight: 600;
            color: #6c757d;
            display: block;
            margin-bottom: 5px;
            text-align: left;
        }

        .draft-field-value {
            color: #4a5568;
            text-align: left;
        }

        .draft-field-empty {
            color: #a0aec0;
            font-style: italic;
        }

        .draft-actions-enhance {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .back-button {
            background: #6c757d;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 20px;
        }
        
        .back-button:hover {
            background: #8e9aa5;
            transform: translateY(-2px);
        }
        
        .social-share {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 10px;
            z-index: 2;
        }
        
        .share-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0,0,0,0.7);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 18px;
            transition: all 0.3s ease;
        }
        
        .share-btn:hover {
            background: #ff9800;
            transform: scale(1.1);
        }
        
        .back-btn-detail {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(0,0,0,0.7);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 18px;
            transition: all 0.3s ease;
            z-index: 2;
            border: none;
            cursor: pointer;
        }
        
        .back-btn-detail:hover {
            background: #ff9800;
            transform: scale(1.1);
        }
        /* Стили для улучшенных фильтров поиска */
.enhanced-dropdown-group {
    position: relative;
    margin-bottom: 20px;
}

.enhanced-dropdown-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.enhanced-dropdown-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background-color: white;
    color: #1a202c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.enhanced-dropdown-select:hover {
    border-color: #6c757d;
    background-color: #f8f9fa;
}

.enhanced-dropdown-select.active {
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

.enhanced-dropdown-arrow {
    transition: transform 0.3s;
    color: #718096;
}

.enhanced-dropdown-select.active .enhanced-dropdown-arrow {
    transform: rotate(180deg);
    color: #6c757d;
}

.enhanced-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.enhanced-dropdown.active {
    display: block;
    animation: enhancedFadeIn 0.2s ease;
}

@keyframes enhancedFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.enhanced-dropdown-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f7fafc;
}

.enhanced-dropdown-item:last-child {
    border-bottom: none;
}

.enhanced-dropdown-item:hover {
    background-color: #f5f7fa;
}

.enhanced-dropdown-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ff9800;
}

.enhanced-dropdown-item label {
    cursor: pointer;
    flex: 1;
    font-size: 14px;
    color: #1a202c;
    user-select: none;
}

.enhanced-dropdown-item.selected {
    background-color: #fff8e1;
}

.selected-items {
    margin-top: 10px;
    font-size: 12px;
    color: #718096;
}
        .view-photos-btn {
            background: #ff9800;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        
        .view-photos-btn:hover {
            background: #e68900;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
        }
        
        .btn-delete-disabled {
            background: #b0b0b0 !important;
            cursor: not-allowed !important;
        }
        
        .btn-delete-disabled:hover {
            background: #b0b0b0 !important;
            transform: none !important;
        }
        
        .missing-fields-notification {
            position: fixed;
            top: 90px;
            right: 20px;
            background: #ff9800;
            color: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(255, 152, 0, 0.3);
            z-index: 9999;
            max-width: 300px;
            animation: slideInRight 0.3s ease;
        }
        
        .missing-fields-notification h4 {
            margin-bottom: 8px;
            font-size: 16px;
            font-weight: 700;
        }
        
        .missing-fields-notification ul {
            margin: 0;
            padding-left: 20px;
            font-size: 14px;
            opacity: 0.9;
        }
        
        .missing-fields-notification li {
            margin-bottom: 4px;
        }
        
        .price-error {
            color: #dc3545;
            font-size: 14px;
            margin-top: 5px;
            font-weight: 600;
            display: none;
        }
        
        .equal-size-buttons {
            display: flex;
            gap: 15px;
        }
        
        .equal-size-buttons .btn-modal-primary,
        .equal-size-buttons .btn-modal-secondary {
            flex: 1;
            min-width: 0;
        }
        .btn-modal-primary,
.btn-modal-secondary {
    flex: 1;
    padding: 12px; /* Уменьшено с 14px */
    border-radius: 8px; /* Уменьшено с 10px */
    font-weight: 600;
    font-size: 13px; /* Уменьшено с 14px */
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-buttons {
    display: flex;
    gap: 12px; /* Уменьшено с 15px */
    margin-top: 20px; /* Уменьшено с 25px */
}
        .detail-slider-container {
            position: relative;
            height: 400px;
            width: 100%;
            overflow: hidden;
            background: #000;
            border-radius: 12px;
            margin-bottom: 30px;
        }
        
        .detail-slider {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .detail-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .detail-slide.active {
            opacity: 1;
        }
        
        .detail-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .detail-slider-nav {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            z-index: 2;
        }
        
        .detail-slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .detail-slider-dot.active {
            background: #ff9800;
            transform: scale(1.2);
        }
        
        .detail-slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 2;
        }
        
        .detail-slider-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }
        
        .detail-slider-prev {
            left: 20px;
        }
        
        .detail-slider-next {
            right: 20px;
        }
        
        .detail-slider-count {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            z-index: 2;
        }
        
        .property-detail-header {
            margin-bottom: 30px;
        }
        
        .property-detail-address {
            font-size: 28px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 15px;
        }
        
        .property-detail-type {
            display: inline-block;
            background: #f8f9fa;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            color: #6c757d;
            font-weight: 600;
            margin-bottom: 20px;
        }
        
        .price-sidebar {
            text-align: center;
        }
        
        .price-sidebar-title {
            font-size: 18px;
            color: #6c757d;
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .price-sidebar-amount {
            font-size: 42px;
            font-weight: 800;
            color: #ff9800;
            margin-bottom: 30px;
        }
        
        .price-sidebar-discount {
            font-size: 20px;
            color: #718096;
            text-decoration: line-through;
            margin-bottom: 10px;
        }
        
        .price-sidebar-percent {
            display: inline-block;
            background: #ff9800;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 30px;
        }
        
        .sidebar-section {
            margin: 25px 0;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            text-align: left;
        }
        
        .sidebar-section-title {
            font-size: 16px;
            font-weight: 600;
            color: #6c757d;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .sidebar-section-content {
            font-size: 14px;
            color: #4a5568;
            line-height: 1.6;
        }
        
        .sidebar-section-content a {
            color: #ff9800;
            text-decoration: none;
            word-break: break-all;
        }
        
        .sidebar-section-content a:hover {
            text-decoration: underline;
        }
        
        .fixed-price-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 120px;
        }
        
        @keyframes slideInRight {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes slideOutRight {
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(100%); opacity: 0; }
        }

        .coordinates-tab {
            margin-top: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border: 2px dashed #e2e8f0;
        }

        .coordinates-inputs {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-top: 15px;
        }

        .coordinate-input-group {
            position: relative;
        }

        .coordinate-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
        }

        .coordinate-input:focus {
            border-color: #6c757d;
            outline: none;
        }

        .coordinate-label {
            position: absolute;
            top: -10px;
            left: 10px;
            background: #f8f9fa;
            padding: 0 5px;
            font-size: 12px;
            color: #718096;
            font-weight: 600;
        }

        .coordinates-single-line {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .coordinates-single-line .coordinate-input-group {
            flex: 1;
        }

        .map-button {
            display: inline-block;
            margin-top: 10px;
            padding: 8px 16px;
            background: #ff9800;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .map-button:hover {
            background: #e68900;
            transform: translateY(-2px);
        }

        .sidebar-section:has(.sidebar-section-title i.fa-eye),
        .sidebar-section:has(.sidebar-section-title i.fa-calendar-alt) {
            display: none !important;
        }

        .compact-details .characteristic-item {
            padding: 8px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .compact-details .characteristic-label {
            font-size: 14px;
        }

        .compact-details .characteristic-value {
            font-size: 14px;
        }

        .type-modal-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .type-modal-buttons button {
            flex: 1;
        }

        .edit-modal-body {
            max-height: 70vh;
            overflow-y: auto;
            padding: 30px;
        }

        #editHouseNumberInput {
            display: none !important;
        }
        
        .detail-slider-dot:only-child,
        .detail-slider-nav:has(.detail-slider-dot:only-child) {
            display: none !important;
        }
        
        .slider-track {
            display: flex;
            gap: 25px;
            transition: transform 0.5s ease-in-out;
        }
        
        .slider-container {
            position: relative;
            overflow: hidden;
            padding: 0 50px;
        }
        
        .slider-item {
            flex: 0 0 320px;
            min-width: 320px;
        }
        
        .slider-wrapper {
            position: relative;
            overflow: hidden;
            padding: 0 50px;
        }
        
        .slider-track-enhanced {
            display: flex;
            gap: 25px;
            transition: transform 0.5s ease-in-out;
        }
        
        .dropdown-select-wrapper {
            position: relative;
        }
        
        .dropdown-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 14px;
            background-color: white;
            color: #1a202c;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .dropdown-select:hover {
            border-color: #6c757d;
            background-color: #f8f9fa;
        }
        
        .dropdown-select.open {
            border-color: #6c757d;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom: none;
        }
        
        .dropdown-select .arrow {
            transition: transform 0.3s;
            color: #718096;
        }
        
        .dropdown-select.open .arrow {
            transform: rotate(180deg);
            color: #6c757d;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid #6c757d;
            border-top: none;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none;
            overflow: hidden;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .dropdown-menu.open {
            display: block;
        }
        
        .dropdown-option {
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid #f7fafc;
        }
        
        .dropdown-option:last-child {
            border-bottom: none;
        }
        
        .dropdown-option:hover {
            background-color: #f5f7fa;
        }
        
        .dropdown-option.selected {
            background-color: #fff8e1;
            font-weight: 600;
        }
        
        .drafts-interface {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 20px;
        }
        
        .draft-card-grid {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(255, 179, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            border: 2px solid #e2e8f0;
        }
        
        .draft-card-grid:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }
        
        .draft-image {
            height: 180px;
            background: linear-gradient(135deg, #6c757d, #8e9aa5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            position: relative;
        }
        
        .draft-content {
            padding: 15px;
        }
        
        .draft-address {
            font-size: 14px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 12px;
            line-height: 1.4;
        }
        
        .draft-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            color: #4a5568;
            font-size: 12px;
        }
        
        .draft-price {
            font-size: 20px;
            font-weight: 700;
            color: #ff9800;
            margin: 15px 0;
            white-space: nowrap;
        }
        
        .draft-actions-grid {
            display: flex;
            gap: 8px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
            align-items: center;
            min-height: 40px;
        }
        
        .btn-draft-edit {
            flex: 1;
            background: #ff9800;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            height: 35px;
            min-width: 80px;
        }
        
        .btn-draft-edit:hover {
            background: #e68900;
            transform: translateY(-2px);
        }
        
        .btn-draft-delete {
            flex: 1;
            background: #dc3545;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            height: 35px;
            min-width: 80px;
        }
        
        .btn-draft-delete:hover {
            background: #c82333;
            transform: translateY(-2px);
        }
        
        .btn-draft-publish {
            flex: 1;
            background: #28a745;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            height: 35px;
            min-width: 80px;
        }
        
        .btn-draft-publish:hover {
            background: #218838;
            transform: translateY(-2px);
        }
        /* Стили для иконок справа снизу */
/* Стили для иконок справа снизу - НОРМАЛЬНЫЙ РАЗМЕР */
.footer-social-right {
    position: absolute;
    bottom: 20px;
    right: 30px;
    text-align: right;
}

.social-icons-right {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px; /* Уменьшено */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icons-row {
    display: flex;
    gap: 10px; /* Уменьшено */
    justify-content: flex-end;
}

.social-right-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* НОРМАЛЬНЫЙ размер */
    height: 32px; /* НОРМАЛЬНЫЙ размер */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Уменьшено */
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-right-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff9800;
    transform: translateY(-2px); /* Уменьшено */
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.3);
}

.social-right-img {
    width: 18px; /* НОРМАЛЬНЫЙ размер */
    height: 18px; /* НОРМАЛЬНЫЙ размер */
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.social-right-icon:hover .social-right-img {
    filter: brightness(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-social-right {
        position: static;
        margin-top: 20px;
        text-align: center;
    }
    
    .social-icons-right {
        background: rgba(255, 255, 255, 0.05);
        padding: 12px 15px;
    }
    
    .social-icons-row {
        justify-content: center;
    }
    
    .social-right-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-right-img {
        width: 18px;
        height: 18px;
    }
}
        .draft-final-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .draft-final-buttons button {
            flex: 1;
        }
        
        .slider-btn-transparent {
            opacity: 0.3 !important;
            background: rgba(108, 117, 125, 0.3) !important;
        }
        
        .slider-btn-transparent:hover {
            opacity: 0.5 !important;
            background: rgba(108, 117, 125, 0.5) !important;
        }
        
        .year-built-group {
            margin-top: 20px;
        }
        
        .rooms-dropdown-container {
            margin-bottom: 20px;
        }
        /* ===== КНОПКИ ===== */
.btn-hero {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ff9800;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    border: none !important;
    outline: none !important;
}

.btn-primary:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

.btn-secondary {
    background: white;
    color: #6c757d;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: none !important;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Кнопки кадастровых услуг */
.btn-cadastral-large {
    padding: 20px 40px;
    font-size: 18px;
    background: #ff9800;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4) !important;
}

.btn-cadastral-large:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5) !important;
}

/* Убираем черные очертания у всех кнопок */
button, 
.btn, 
.btn-hero, 
.btn-primary, 
.btn-secondary,
.btn-cadastral-large,
.btn-modal-primary,
.btn-modal-secondary,
.btn-nav,
.btn-login,
.btn-add,
.btn-logout,
.btn-view,
.btn-edit,
.btn-delete,
.btn-draft-edit,
.btn-draft-publish,
.btn-draft-delete {
    outline: none !important;
    border: none !important;
}

/* Для кнопок в модальных окнах */
.btn-modal-primary,
.btn-modal-secondary {
    border: none !important;
    outline: none !important;
}

.btn-modal-primary {
    background: #6c757d;
    color: white;
}

.btn-modal-primary:hover {
    background: #8e9aa5;
}

.btn-modal-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-modal-secondary:hover {
    background: #d0d7e0;
}
/* Убираем ключики у полей площади */
.filter-group .fa-key,
.filter-group i.fa-key,
.filter-group [class*="fa-key"] {
    display: none !important;
}

/* Убираем псевдоэлементы, которые могут создавать ключики */
.filter-group::before,
.filter-group::after,
.filter-input::before,
.filter-input::after {
    content: none !important;
}
/* ===== ДЕТАЛИ ОБЪЯВЛЕНИЯ ===== */
.property-detail-page {
    margin: 100px auto 50px;
    padding: 0 20px;
    max-width: 1400px;
}

.property-detail-split {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    position: relative;
}

@media (max-width: 1024px) {
    .property-detail-split {
        flex-direction: column;
    }
}

.property-detail-left {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.property-detail-right {
    width: 400px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0 !important;
}

@media (max-width: 1024px) {
    .property-detail-right {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
}

.property-detail-header {
    margin-bottom: 30px;
}

.property-detail-address {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.property-detail-type {
    display: inline-block;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Слайдер для деталей */
.detail-slider-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px;
    margin-bottom: 30px;
}

.detail-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.detail-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.detail-slide.active {
    opacity: 1;
}

.detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.detail-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-slider-dot.active {
    background: #ff9800;
    transform: scale(1.2);
}

.detail-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.detail-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.detail-slider-prev {
    left: 20px;
}

.detail-slider-next {
    right: 20px;
}

.detail-slider-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Характеристики */
.property-characteristics {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    text-align: left;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
    text-align: left;
}

.characteristic-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.characteristic-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 16px;
    text-align: left;
}

.characteristic-value {
    font-weight: 600;
    color: #6c757d;
    text-align: right;
    font-size: 16px;
}

/* Описание */
.property-description {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    line-height: 1.6;
    color: #4a5568;
    font-size: 16px;
    text-align: left;
}

.description-title {
    font-size: 22px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9800;
    text-align: left;
}

.description-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.6;
    max-width: 100%;
    font-size: 16px;
    color: #4a5568;
}

.description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 6);
}

.read-more-btn {
    background: none;
    border: none;
    color: #ff9800;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: #e68900;
    text-decoration: underline;
}

/* Сайдбар с ценой */
.price-sidebar {
    text-align: center;
}

.price-sidebar-title {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 600;
}

.price-sidebar-amount {
    font-size: 42px;
    font-weight: 800;
    color: #ff9800;
    margin-bottom: 30px;
}

.price-sidebar-discount {
    font-size: 20px;
    color: #718096;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.price-sidebar-percent {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.sidebar-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: left;
}

.sidebar-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.sidebar-section-content a {
    color: #ff9800;
    text-decoration: none;
    word-break: break-all;
}

.sidebar-section-content a:hover {
    text-decoration: underline;
}

.map-button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.map-button:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.back-button:hover {
    background: #8e9aa5;
    transform: translateY(-2px);
}

.fixed-price-sidebar {
    position: sticky;
    top: 120px;
}
/* Стили для страницы деталей объявления */
.property-detail-page {
    margin: 100px auto 50px;
    padding: 0 20px;
    max-width: 1400px;
}

.property-detail-split {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    position: relative;
}

.property-detail-left {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.property-detail-right {
    width: 400px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0 !important; /* Убираем оранжевую обводку */
}

.property-detail-header {
    margin-bottom: 30px;
}

.property-detail-address {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.property-detail-type {
    display: inline-block;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Стили для слайдера изображений на детальной странице */
.detail-slider-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    margin-bottom: 30px;
}

.detail-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.detail-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.detail-slide.active {
    opacity: 1;
}

.detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.detail-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-slider-dot.active {
    background: #ff9800;
    transform: scale(1.2);
}

.detail-slider-dot:only-child,
.detail-slider-nav:has(.detail-slider-dot:only-child) {
    display: none !important;
}

.detail-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.detail-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.detail-slider-prev {
    left: 20px;
}

.detail-slider-next {
    right: 20px;
}

.detail-slider-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Стили для характеристик */
.property-characteristics {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    text-align: left;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
    text-align: left;
}

.characteristic-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.characteristic-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 16px;
    text-align: left;
}

.characteristic-value {
    font-weight: 600;
    color: #6c757d;
    text-align: right;
    font-size: 16px;
}

.compact-details .characteristic-item {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.compact-details .characteristic-label {
    font-size: 14px;
}

.compact-details .characteristic-value {
    font-size: 14px;
}

/* Стили для описания */
.property-description {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    line-height: 1.6;
    color: #4a5568;
    font-size: 16px;
    text-align: left;
}

.description-title {
    font-size: 22px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9800;
    text-align: left;
}

.description-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.6;
    max-width: 100%;
    font-size: 16px;
    color: #4a5568;
}

/* Стиль для скрытого текста (после 6 строк) */
.description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 6); /* 6 строк */
}

/* Кнопка "Читать дальше" */
.read-more-btn {
    background: none;
    border: none;
    color: #ff9800;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn:hover {
    color: #e68900;
    text-decoration: underline;
}

.auto-line-break {
    word-break: break-word;
    white-space: normal;
    line-height: 1.6;
    max-width: 100%;
    display: block;
}

/* Стили для боковой панели с ценой */
.price-sidebar {
    text-align: center;
}

.price-sidebar-title {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 600;
}

.price-sidebar-amount {
    font-size: 42px;
    font-weight: 800;
    color: #ff9800;
    margin-bottom: 30px;
}

.price-sidebar-discount {
    font-size: 20px;
    color: #718096;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.price-sidebar-percent {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.sidebar-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: left;
}

.sidebar-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.sidebar-section-content a {
    color: #ff9800;
    text-decoration: none;
    word-break: break-all;
}

.sidebar-section-content a:hover {
    text-decoration: underline;
}

.fixed-price-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}

/* Скрытие ненужных секций */
.sidebar-section:has(.sidebar-section-title i.fa-eye),
.sidebar-section:has(.sidebar-section-title i.fa-calendar-alt) {
    display: none !important;
}

/* Кнопка на карту */
.map-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: #e68900;
    transform: translateY(-2px);
}

/* Кнопка назад */
.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.back-button:hover {
    background: #8e9aa5;
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .property-detail-split {
        flex-direction: column;
    }
    
    .property-detail-right {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .property-detail-address {
        font-size: 22px;
    }
    
    .detail-slider-container {
        height: 300px;
    }
    
    .price-sidebar-amount {
        font-size: 36px;
    }
}
/* Убираем ключики и иконки автозаполнения у всех полей ввода */
input::-webkit-credentials-auto-fill-button,
input::-webkit-caps-lock-indicator,
input::-webkit-strong-password-auto-fill-button,
input::-webkit-contacts-auto-fill-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* Для Firefox */
input {
    filter: none !important;
}

/* Специально для полей площади */
#searchAreaMin,
#searchAreaMax,
input[type="number"],
.filter-input {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Отключаем автозаполнение для всех полей */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
    background-color: white !important;
    background-image: none !important;
}

/* Скрываем иконки браузера */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
/* Убираем белый фон и скругление у логотипа */
.logo-avatar {
    background: transparent !important;
    border-radius: 0 !important;
}

.logo-avatar img {
    background: transparent !important;
    border-radius: 0 !important;
    mix-blend-mode: normal !important;
}

/* Для логотипа в футере */
.footer-section h3 img {
    background: transparent !important;
    border-radius: 0 !important;
    mix-blend-mode: normal !important;
}
/* Убираем белый фон и скругление у логотипа */
.nav-logo .logo-avatar {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
/* Приближение логотипа к тексту */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 5px; /* Уменьшите это значение для большего приближения */
}

.logo-avatar {
    margin-right: 0; /* Убираем правый отступ */
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 3px; /* Расстояние между логотипом и текстом */
    margin-right: 0; /* Убираем правый отступ */
}

.logo-title img {
    margin-right: 2px; /* Дополнительная настройка */
}
.nav-logo .logo-avatar img {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
}

/* Для логотипа в футере */
.footer-section h3 img {
    background: transparent !important;
    border-radius: 0 !important;
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
}

/* Убираем белую обводку если есть */
.logo-title img {
    background: transparent !important;
    border-radius: 0 !important;
}
/* ===== УЛУЧШЕННЫЙ ИНТЕРФЕЙС ВКЛАДКИ ПОДРОБНЕЕ ===== */
/* Стили для детальной страницы объявления */

.property-detail-page {
    margin: 100px auto 50px;
    padding: 0 20px;
    max-width: 1400px;
}

/* Двухколоночный макет */
.property-detail-split {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    position: relative;
}

/* Левая колонка - основная информация */
.property-detail-left {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Правая колонка - цена и дополнительная информация */
.property-detail-right {
    width: 400px;
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0 !important; /* Убираем оранжевую обводку */
}

/* Заголовок объявления */
.property-detail-header {
    margin-bottom: 30px;
}

.property-detail-address {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.property-detail-type-badge {
    display: inline-block;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Слайдер изображений */
.detail-slider-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
    margin-bottom: 30px;
}

.detail-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.detail-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.detail-slide.active {
    opacity: 1;
}

.detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Навигация слайдера */
.detail-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.detail-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-slider-dot.active {
    background: #ff9800;
    transform: scale(1.2);
}

.detail-slider-dot:only-child,
.detail-slider-nav:has(.detail-slider-dot:only-child) {
    display: none !important;
}

/* Кнопки слайдера */
.detail-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    outline: none !important;
}

.detail-slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.detail-slider-prev {
    left: 20px;
}

.detail-slider-next {
    right: 20px;
}

/* Счетчик изображений */
.detail-slider-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Блок характеристик */
.property-characteristics {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #ff9800;
    text-align: left;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle i {
    color: #ff9800;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.characteristic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.characteristic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.characteristic-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.characteristic-label i {
    color: #ff9800;
    width: 18px;
}

.characteristic-value {
    font-weight: 600;
    color: #1a202c;
    font-size: 15px;
}

/* Блок описания */
.property-description {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.description-content {
    line-height: 1.7;
    color: #4a5568;
    font-size: 16px;
}

.description-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.7;
    max-width: 100%;
    font-size: 16px;
    color: #4a5568;
}

/* Скрытый текст (для кнопки "Читать дальше") */
.description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.7em * 6);
}

/* Кнопка "Читать дальше" */
.read-more-btn {
    background: none;
    border: none;
    color: #ff9800;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 10px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    outline: none !important;
}

.read-more-btn:hover {
    color: #e68900;
    gap: 12px;
}

/* Карточка цены */
.price-card {
    text-align: center;
}

.price-label {
    font-size: 16px;
    color: #718096;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-current {
    font-size: 48px;
    font-weight: 800;
    color: #ff9800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.price-old {
    font-size: 24px;
    color: #a0aec0;
    text-decoration: line-through;
    margin-bottom: 10px;
    font-weight: 500;
}

.price-discount-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
}

.price-per-meter {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-per-meter span {
    font-size: 15px;
    color: #718096;
}

.price-per-meter strong {
    font-size: 20px;
    font-weight: 700;
    color: #ff9800;
}

/* Мета-информация */
.property-meta {
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #718096;
    font-size: 14px;
}

.meta-item i {
    color: #ff9800;
    width: 18px;
}

/* Секции в сайдбаре */
.sidebar-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: left;
}

.sidebar-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section-title i {
    color: #ff9800;
}

.sidebar-section-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.sidebar-section-content a {
    color: #ff9800;
    text-decoration: none;
    word-break: break-all;
}

.sidebar-section-content a:hover {
    text-decoration: underline;
}

/* Информация о риэлторе */
.realtor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1a202c;
}

.realtor-info i {
    font-size: 24px;
    color: #6c757d;
}

/* Контакт заказчика (только для риэлтора) */
.realtor-contact {
    margin-top: 30px;
    padding: 25px;
    background: #fff8e1;
    border-radius: 16px;
    border: 2px solid #ffb300;
}

.realtor-contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.realtor-contact-title i {
    color: #ff9800;
}

.realtor-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.realtor-phone i {
    font-size: 24px;
    color: #ff9800;
}

.realtor-phone a {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
}

.realtor-phone a:hover {
    color: #ff9800;
}

.realtor-note {
    font-size: 14px;
    color: #718096;
    font-style: italic;
}

/* Кнопка редактирования */
.edit-property-btn {
    width: 100%;
    background: #ff9800;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    outline: none !important;
}

.edit-property-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* Кнопка на карту */
.map-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none !important;
    outline: none !important;
}

.map-button:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* Кнопка назад */
.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    outline: none !important;
}

.back-button:hover {
    background: #8e9aa5;
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .property-detail-split {
        flex-direction: column;
    }
    
    .property-detail-right {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .property-detail-left {
        padding: 25px;
    }
    
    .property-detail-right {
        padding: 25px;
    }
    
    .property-detail-address {
        font-size: 22px;
    }
    
    .detail-slider-container {
        height: 300px;
    }
    
    .price-current {
        font-size: 36px;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .characteristic-item {
        padding: 10px;
    }
    
    .realtor-phone a {
        font-size: 20px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .property-detail-left,
    .property-detail-right {
        padding: 20px;
    }
    
    .detail-slider-container {
        height: 250px;
    }
    
    .price-current {
        font-size: 30px;
    }
    
    .characteristic-label,
    .characteristic-value {
        font-size: 14px;
    }
}

/* Скрываем ненужные элементы */
.sidebar-section:has(.fa-eye),
.sidebar-section:has(.fa-calendar-alt) {
    display: none !important;
}