/* ========== СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН С УСЛУГАМИ ========== */

/* Контейнер модалки */
.service-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
}





/* Основной контент */
.service-content {
    direction: ltr;
    padding: 10px 0;
}

/* Заголовок */
.service-content h1 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 12px;
    border-left: 4px solid #ff5e00;
    padding-left: 24px;
}

/* Подзаголовок */
.service-subtitle {
    font-size: 18px;
    color: #ff5e00;
    margin-bottom: 30px;
    padding-left: 28px;
    opacity: 0.9;
}

/* Основное описание */
.service-description {
    font-size: 18px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 35px;
    background: rgba(0, 212, 255, 0.05);
    padding: 20px 25px;
    border-radius: 20px;
    border-left: 3px solid #00d4ff;
}

/* Секции */
.service-section {
    margin-bottom: 35px;
}

.service-section h2 {
    font-size: 24px;
    color: #ff5e00;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 10px;
}

/* Список с иконками */
.service-list-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 212, 255, 0.3);
}

.service-list-item strong {
    color: #00d4ff;
    font-size: 17px;
    display: block;
    margin-bottom: 6px;
}

.service-list-item p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 15px;
}

/* Обычный список (галочки) */
.service-ul {
    list-style: none;
    padding-left: 0;
}

.service-ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: #cccccc;
    line-height: 1.5;
}

.service-ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-size: 16px;
}

/* Статистика/результаты */
.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.service-stat-card {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s;
}

.service-stat-card:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

.service-stat-card p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.4;
}

/* Тарифы */
.service-tariffs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.service-tariff-card {
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid #00d4ff;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.2s;
}

.service-tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.service-tariff-name {
    font-size: 20px;
    font-weight: bold;
    color: #00d4ff;
    display: block;
    margin-bottom: 10px;
}

.service-tariff-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff5e00;
    display: block;
    margin-bottom: 12px;
}

.service-tariff-desc {
    font-size: 14px;
    color: #aaaaaa;
    line-height: 1.4;
}

/* Теги (для технологий) */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.service-tag {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    color: #00d4ff;
    transition: all 0.2s;
}

.service-tag:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: scale(1.02);
}

/* Сравнительная таблица */
.service-comparison {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0;
}

.service-comparison-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    flex-wrap: wrap;
    gap: 10px;
}

.service-comparison-item:last-child {
    border-bottom: none;
}

.service-comp-left {
    font-weight: 600;
    color: #00d4ff;
    min-width: 180px;
}

.service-comp-right {
    color: #ffffff;
    text-align: right;
    flex: 1;
}

/* Скроллбар слева (уже есть в основном CSS) */
.modal-content {
    direction: rtl;
	min-width:1200px;
	border-radius: 0;
}
.modal-content * {
    direction: ltr;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    .service-content h1 {
        font-size: 26px;
        padding-left: 16px;
    }
    
    .service-subtitle {
        font-size: 15px;
        padding-left: 20px;
    }
    
    .service-description {
        font-size: 15px;
        padding: 15px;
    }
    
    .service-section h2 {
        font-size: 20px;
    }
    
    .service-tariffs {
        grid-template-columns: 1fr;
    }
    
    .service-stats {
        grid-template-columns: 1fr;
    }
    
    .service-comparison-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-comp-right {
        text-align: center;
    }
}