/* back-office.css - ПЕРЕИМЕНОВАНО ДЛЯ ИЗБЕЖАНИЯ КОНФЛИКТОВ */
.admin-section {
    padding: 80px 20px;
    background-color: #fff;
    width: 100%;
}

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

.admin-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    text-align: center;
    line-height: 1.2;
}

/* Универсальный слайдер для бек-офиса */
.admin-universal-slider {
    position: relative;
    width: 100%;
}

.admin-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Контейнер для навигации */
.admin-slider-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.admin-step-indicators {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.admin-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-step-number.active {
    background: #3a0000;
    color: white;
    border-color: #3a0000;
}

/* Навигационные кнопки слева и справа от цифр */
.admin-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: none;
    color: rgb(102, 102, 102);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    /* Добавляем фиксированные минимальные размеры */
    min-width: 50px;
    min-height: 50px;
    /* Запрещаем сжатие */
    flex-shrink: 0;
}

.admin-nav-btn:hover {
    transform: scale(1.05);
}

.admin-nav-btn:disabled {
color: white;
cursor: not-allowed;
transform: none;
}

.admin-slider-content {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.admin-slide-track {
    display: flex;
    transition: transform 0.5s ease;
}

.admin-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.admin-slide-image {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
}

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

.admin-slide-text {
    text-align: center;
    max-width: 600px;
}

.admin-slide-text h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.admin-slide-text p {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Десктоп версия с горизонтальным расположением */
@media (min-width: 769px) {
    .admin-slide {
        flex-direction: row;
        text-align: left;
        gap: 40px;
        margin-bottom: auto;
    }

    .admin-slide-image {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .admin-swipe-hint{
        display: none;
    }

    .admin-slide-text {
        flex: 1;
        text-align: left;
    }

    .admin-step-indicators {
        gap: 20px;
    }

    .admin-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .admin-nav-btn {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
}

/* Мобильная версия слайдера с точками */
@media (max-width: 768px) {
    .admin-section {
        padding: 60px 0px;
    }
    
    .admin-title {
        font-size: 40px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .admin-slider-navigation {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .admin-slider-container {
        gap: 0;
    }

    .admin-slide {
        gap: 20px;
    }

    .admin-slide-text p {
        font-size: 12px;
        text-align: justify;
    }
    
    .admin-slide-text h3 {
        font-size: 20px;
        text-align: center;
    }
    
    .admin-step-indicators {
        display: none;
    }
    
    .admin-nav-btn {
        display: none;
    }
    
    /* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ТОЧЕК И ПОДСКАЗКИ - ТЕПЕРЬ НА ОДНОЙ СТРОКЕ */
    .admin-dots-indicators {
        display: flex;
        gap: 10px;
        justify-content: center;
        order: -1;
        align-items: center;
    }
    
    .admin-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .admin-dot.active {
        background: #3a0000;
        transform: scale(1.2);
    }
    
    /* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ПОДСКАЗКИ СВАЙПА */
    .admin-swipe-hint {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;

        color: #0000007d;
        font-family: 'Inter', Arial, sans-serif;
        font-size: 14px;
        order: -1;
        margin-right: 15px;
    }
    
    .admin-swipe-hint-gif {
        width: 30px;
        height: 30px;
        filter: brightness(0) invert(0.5);
        rotate: 90deg;
    }
    
    /* НОВЫЙ КОНТЕЙНЕР ДЛЯ ОБЪЕДИНЕНИЯ ПОДСКАЗКИ И ТОЧЕК */
    .admin-mobile-indicators-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;

        width: 100%;
        order: -1;
    }
}

@media (max-width: 480px) {
    .admin-title {
        font-size: 30px;
        padding: 0 15px;
    }
    
    .admin-swipe-hint {
        font-size: 12px;
        gap: 8px;
    }
    
    .admin-swipe-hint-gif {
        width: 25px;
        height: 25px;
    }
    
    .admin-dots-indicators {
        gap: 8px;
    }
    
    .admin-dot {
        width: 6px;
        height: 6px;
    }
}


/* Добавьте в конец back-office.css */
.admin-slider-content {
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.admin-slide-track {
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.admin-slide {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Улучшение для iOS */
@supports (-webkit-touch-callout: none) {
    .admin-slider-content {
        overflow: hidden;
    }
    
    .admin-slide-track {
        will-change: transform;
    }
}