/* Стили для секции с логотипами операционных систем */

section.os-logo-area {

    background: #f4f6f9; /* Светлый фон для всей секции */

    padding: 60px 0; /* Отступы для секции */

    position: relative;

    overflow: hidden;

}



/* Стили для заголовка секции */

.section-title {

    margin-bottom: 40px; /* Отступ после заголовка */

    position: relative;

    z-index: 1;

}



.section-title h2 {

    font-weight: 700;

    font-size: 32px;

    position: relative;

    margin-bottom: 15px;

    padding-bottom: 15px;

    color: #333;

}



.section-title h2:after {

    content: '';

    position: absolute;

    left: 50%;

    bottom: 0;

    width: 60px;

    height: 3px;

    background: linear-gradient(-48deg, #0DCBE5 -30%, #365899 60%);

    transform: translateX(-50%);

}



.section-subtitle {

    color: #666;

    font-size: 16px;

    max-width: 700px;

    margin: 0 auto;

}



.os-logo-container {

    margin-top: 20px; /* Отступ от заголовка секции */

}



/* Стили для отдельного блока с логотипом */

.os-logo-item {

    background: #fff; /* Белый фон */

    padding: 30px 15px; /* Внутренние отступы */

    border-radius: 10px; /* Скругленные углы */

    transition: all 0.3s ease; /* Плавные переходы для анимации */

    text-align: center; /* Выравнивание содержимого по центру */

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Лёгкая тень */

    margin-bottom: 30px; /* Отступ снизу между блоками */

    height: 100%; /* Выравнивание высоты блоков в ряду */

    display: flex; /* Используем flexbox для вертикального центрирования */

    flex-direction: column; /* Элементы располагаются вертикально */

    justify-content: center; /* Центрирование по вертикали */

    align-items: center; /* Центрирование по горизонтали */

    position: relative;

    z-index: 1;

    overflow: hidden;

}



/* Эффект фона при наведении */

.os-logo-item:before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(13, 203, 229, 0.05) 0%, rgba(54, 88, 153, 0.05) 100%);

    z-index: -1;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.os-logo-item:hover:before {

    opacity: 1;

}



/* Эффекты при наведении на блок с логотипом */

.os-logo-item:hover {

    transform: translateY(-7px); /* Поднимаем блок вверх */

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Увеличиваем тень */

}



/* Контейнер для изображения логотипа */

.os-logo-icon {

    margin-bottom: 20px; /* Отступ между логотипом и текстом */

    display: flex; /* Используем flexbox для центрирования */

    justify-content: center; /* Центрирование по горизонтали */

    align-items: center; /* Центрирование по вертикали */

    min-height: 70px; /* Минимальная высота для выравнивания */

    width: 100%;

}



/* Стили для изображения логотипа */

.os-logo-icon img {

    height: 65px; /* Фиксированная высота */

    width: auto; /* Авто-ширина для сохранения пропорций */

    max-width: 100%; /* Ограничение ширины */

    object-fit: contain; /* Сохранение пропорций изображения */

    transition: transform 0.3s ease;

}



.os-logo-item:hover .os-logo-icon img {

    transform: scale(1.05); /* Небольшое увеличение при наведении */

}



/* Стили для названия операционной системы */

.os-logo-info h4 {

    font-size: 18px; /* Размер шрифта */

    font-weight: 600; /* Жирность шрифта */

    margin: 0; /* Убираем отступы */

    color: #365899; /* Запасной цвет текста */

    /* Градиентный фон для текста */

    background: linear-gradient(-48deg, #0DCBE5 -30%, #365899 60%);

    -webkit-background-clip: text; /* Применяем градиент только к тексту */

    -webkit-text-fill-color: transparent; /* Делаем текст прозрачным */

    text-align: center; /* Центрирование текста */

    line-height: 1.4; /* Межстрочный интервал */

    transition: transform 0.3s ease;

}



.os-logo-item:hover .os-logo-info h4 {

    transform: scale(1.03); /* Небольшое увеличение при наведении */

}





/* Адаптивные стили для мобильных устройств */

@media only screen and (max-width: 991px) {

    section.os-logo-area {

        padding: 50px 0; /* Уменьшаем отступы секции */

    }

    

    .section-title {

        margin-bottom: 30px;

    }

    

    .section-title h2 {

        font-size: 28px;

    }

}



@media only screen and (max-width: 767px) {

    section.os-logo-area {

        padding: 40px 0; /* Уменьшаем отступы секции */

    }

    

    .section-title {

        margin-bottom: 25px; /* Уменьшаем отступ после заголовка */

    }

    

    .section-title h2 {

        font-size: 24px; /* Уменьшаем размер заголовка */

        margin-bottom: 12px;

        padding-bottom: 12px;

    }

    

    .section-subtitle {

        font-size: 14px;

    }

    

    .os-logo-container {

        margin-top: 15px; /* Уменьшаем отступ от заголовка */

    }

    

    .os-logo-item {

        padding: 20px 15px; /* Уменьшаем внутренние отступы */

        margin-bottom: 20px; /* Уменьшаем отступ между блоками */

        border-radius: 8px; /* Уменьшаем скругление углов */

    }

    

    .os-logo-icon {

        margin-bottom: 15px; /* Уменьшаем отступ между логотипом и текстом */

        min-height: 55px; /* Уменьшаем минимальную высоту */

    }

    

    .os-logo-icon img {

        height: 50px; /* Уменьшаем размер логотипа */

    }

    

    .os-logo-info h4 {

        font-size: 16px; /* Уменьшаем размер шрифта */

    }

    

    /* Оптимизация сетки для мобильных устройств */

    .row {

        margin-left: -10px;

        margin-right: -10px;

    }

    

    .row > [class*="col-"] {

        padding-left: 10px;

        padding-right: 10px;

    }

}



/* Стили для очень маленьких экранов */

@media only screen and (max-width: 480px) {

    section.os-logo-area {

        padding: 30px 0; /* Ещё уменьшаем отступы */

    }

    

    .section-title h2 {

        font-size: 22px; /* Ещё уменьшаем размер заголовка */

        margin-bottom: 10px;

        padding-bottom: 10px;

    }

    

    .section-title h2:after {

        width: 50px;

        height: 2px;

    }

    

    .section-subtitle {

        font-size: 13px;

    }

    

    .os-logo-item {

        padding: 15px 10px; /* Ещё уменьшаем внутренние отступы */

        margin-bottom: 15px; /* Ещё уменьшаем отступ между блоками */

        border-radius: 6px;

    }

    

    .os-logo-icon {

        margin-bottom: 10px; /* Ещё уменьшаем отступ между логотипом и текстом */

        min-height: 45px; /* Ещё уменьшаем минимальную высоту */

    }

    

    .os-logo-icon img {

        height: 40px; /* Ещё уменьшаем размер логотипа */

    }

    

    .os-logo-info h4 {

        font-size: 14px; /* Ещё уменьшаем размер шрифта */

    }

    

    /* Дополнительная оптимизация сетки */

    .row {

        margin-left: -7px;

        margin-right: -7px;

    }

    

    .row > [class*="col-"] {

        padding-left: 7px;

        padding-right: 7px;

    }

}



/* Стили для устройств с поддержкой касания */

@media (hover: none) {

    .os-logo-item:active {

        transform: translateY(-5px); /* Меньшее смещение при касании */

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Меньшая тень при касании */

    }

    

    .os-logo-item:before {

        /* Упрощаем эффект для мобильных устройств */

        background: linear-gradient(135deg, rgba(13, 203, 229, 0.03) 0%, rgba(54, 88, 153, 0.03) 100%);

    }

}



/* Стили для логотипов и таблицы */

.logo-svg {

  display: block;

  margin: 0 auto;

}



.logo-col {

  width: 50px;

  text-align: center;

  vertical-align: middle;

}



.control-panels-table th, 

.control-panels-table td {

  vertical-align: middle;

  padding: 0.5rem;

}



/* Адаптивность */

@media (max-width: 991.98px) {

  .control-panels-table {

    font-size: 14px;

  }

  

  .logo-col {

    width: 45px;

  }

  

  .logo-svg {

    width: 28px;

    height: 28px;

  }

}



@media (max-width: 767.98px) {

  .control-panels-table {

    font-size: 13px;

  }

  

  .logo-col {

    width: 40px;

  }

  

  .logo-svg {

    width: 25px;

    height: 25px;

  }

}



@media (max-width: 575.98px) {

  .control-panels-table {

    font-size: 12px;

  }

  

  .logo-col {

    width: 35px;

  }

  

  .logo-svg {

    width: 22px;

    height: 22px;

  }

  

  .control-panels-table th,

  .control-panels-table td {

    padding: 0.4rem;

  }

}



/* Специальные стили для экранов 375px */

@media (max-width: 400px) {

  .control-panels-table {

    font-size: 11px;

    width: 100%;

    min-width: 100%;

  }

  

  .table-responsive {

    margin: 0;

    padding: 0;

    overflow-x: auto;

  }

  

  .logo-col {

    width: 30px;

    min-width: 30px;

  }

  

  .logo-svg {

    width: 20px;

    height: 20px;

  }

  

  .control-panels-table th,

  .control-panels-table td {

    padding: 0.3rem 0.2rem;

    white-space: nowrap;

  }

  

  .price-item {

    padding: 15px 10px;

  }

  

  /* Сокращаем текст в ячейках на маленьких экранах */

  .control-panels-table td:nth-child(2) {

    max-width: 80px;

    overflow: hidden;

    text-overflow: ellipsis;

  }

  

  .control-panels-table td:last-child {

    max-width: 70px;

    overflow: hidden;

    text-overflow: ellipsis;

  }

}



/* Стили для мобильной информации */

.mobile-panels-info {

  margin-top: 8px;

  margin-bottom: 12px;

  font-style: italic;

  color: #6c757d;

  font-size: 12px;

}



@media (max-width: 400px) {

  .mobile-panels-info {

    font-size: 10px;

  }

}







/* Стили для волнистого разделителя */

.shape-divider {

    position: relative;

    width: 100%;

    height: 100px;

    margin-bottom: -1px;

    z-index: 1;

}



.shape-divider-bottom {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    overflow: hidden;

    line-height: 0;

}



.shape-divider-bottom svg {

    position: relative;

    display: block;

    width: calc(100% + 1.3px);

    height: 100px;

}



.shape-divider-bottom .shape-fill {

    fill: #f4f6f9; /* Обновленный цвет фона следующей секции */

}



/* Стили для секции регистрации домена */

.domain-register-section {

    position: relative;

    background: linear-gradient(135deg, rgba(13, 203, 229, 0.05) 0%, rgba(54, 88, 153, 0.05) 100%);

    padding: 80px 0;

}



.domain-register-section .section-title h2 {

    font-size: 36px;

    font-weight: 700;

    margin-bottom: 15px;

    color: #333;

    position: relative;

}



.domain-register-section .section-title p {

    font-size: 18px;

    color: #666;

    margin-bottom: 30px;

}



.domain-search-box {

    max-width: 700px;

    margin: 0 auto 50px;

    padding: 30px;

    background: #fff;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}



.domain-input-group {

    display: flex;

    flex-wrap: wrap;

}



.domain-input-group .form-control {

    flex: 1;

    height: 55px;

    border-radius: 5px 0 0 5px;

    border: 1px solid #ddd;

    padding: 0 20px;

    font-size: 16px;

    color: #333;

    transition: all 0.3s ease;

}



.domain-input-group .form-control:focus {

    border-color: #0DCBE5;

    box-shadow: none;

    outline: none;

}



.domain-btn {

    height: 55px;

    border: none;

    padding: 0 30px;

    background: linear-gradient(135deg, #0DCBE5 0%, #365899 100%);

    color: #fff;

    font-weight: 600;

    border-radius: 0 5px 5px 0;

    cursor: pointer;

    transition: all 0.3s ease;

}



.domain-btn:hover {

    background: linear-gradient(135deg, #365899 0%, #0DCBE5 100%);

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(13, 203, 229, 0.3);

}



.domain-price-table {

    background: #fff;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    padding: 30px;

    max-width: 700px;

    margin: 0 auto;

}



.domain-table-title {

    font-size: 24px;

    font-weight: 600;

    color: #333;

    margin-bottom: 20px;

    text-align: center;

}



.domain-price-table table {

    width: 100%;

    border-collapse: collapse;

}



.domain-price-table th {

    background: linear-gradient(135deg, rgba(13, 203, 229, 0.1) 0%, rgba(54, 88, 153, 0.1) 100%);

    color: #333;

    font-weight: 600;

    padding: 15px;

    text-align: center;

    border-bottom: 2px solid #f0f0f0;

}



.domain-price-table td {

    padding: 15px;

    text-align: center;

    border-bottom: 1px solid #f0f0f0;

    color: #666;

}



.domain-name {

    font-weight: 600;

    color: #365899;

}



/* Адаптивные стили */

@media (max-width: 768px) {

    .domain-input-group {

        flex-direction: column;

    }

    

    .domain-input-group .form-control {

        border-radius: 5px;

        margin-bottom: 10px;

    }

    

    .domain-btn {

        border-radius: 5px;

        width: 100%;

    }

    

    .domain-price-table {

        padding: 15px;

    }

    

    .domain-price-table th,

    .domain-price-table td {

        padding: 10px 5px;

        font-size: 14px;

    }

    

    .domain-register-section .section-title h2 {

        font-size: 28px;

    }

}

/* Стили для секции с флагами стран */

.countries-section {

    background-color: #f9f9f9;

    padding: 80px 0;

}



.country-flags-container {

    margin-top: 40px;

}



.country-item {

    background-color: #fff;

    border-radius: 8px;

    padding: 20px 15px;

    text-align: center;

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;

    margin-bottom: 30px;

    cursor: pointer;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.country-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}



.flag-icon {

    width: 80px;

    height: 60px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.flag-icon img {

    max-width: 100%;

    max-height: 100%;

    border-radius: 4px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}



.country-item h5 {

    margin: 0;

    font-size: 14px;

    font-weight: 600;

    color: #333;

}



/* Адаптивность для разных экранов */

@media only screen and (max-width: 767px) {

    .flag-icon {

        width: 70px;

        height: 50px;

    }

    

    .country-item {

        padding: 15px 10px;

    }

    

    .country-item h5 {

        font-size: 13px;

    }

}



@media only screen and (max-width: 479px) {

    .flag-icon {

        width: 60px;

        height: 45px;

    }

    

    .country-item h5 {

        font-size: 12px;

    }

}

/* Стили для секции с ограничениями тарифов */

.limitations-section {

    background-color: #f9f9f9;

    padding: 80px 0;

}



.limitations-box {

    background-color: #fff;

    border-radius: 8px;

    padding: 40px;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);

}



.limitations-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.limitations-list li {

    display: flex;

    margin-bottom: 25px; /* Увеличено с 20px для большего разделения */

    align-items: flex-start;

    position: relative;

    padding-left: 35px; /* Отступ слева для иконки */

}



.limitation-text {

    font-size: 15px;

    color: #555;

    line-height: 1.6; /* Увеличен line-height для лучшей читаемости */

    margin-top: 0;

    margin-bottom: 0;

}



.limitations-list li:before {

    content: "\2022";

    color: #000;

    font-size: 18px;

    position: absolute;

    left: 0;

    top: 0;

}



/* Добавляем разделительную линию между элементами списка */

.limitations-list li:not(:last-child) {

    border-bottom: 1px solid #f0f0f0;

    padding-bottom: 15px;

}



.btn-primary {

    background-color: #4f77ff;

    border-color: #4f77ff;

    padding: 12px 30px;

    font-weight: 600;

    border-radius: 4px;

    transition: all 0.3s ease;

    margin-top: 15px; /* Добавлен отступ сверху */

}



.btn-primary:hover {

    background-color: #3a66f5;

    border-color: #3a66f5;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(79, 119, 255, 0.3);

}



@media only screen and (max-width: 767px) {

    .limitations-box {

        padding: 25px 20px;

    }

    

    .limitations-list li {

        margin-bottom: 20px;

        padding-bottom: 12px;

    }

    

    .limitation-text {

        font-size: 14px;

    }

}


/*     */

/*      */
.domain-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.domain-input-group .form-control {
    flex: 1;
}


/*     */
.price-order-btn#domen {
    margin-left: 40px !important;
    flex-shrink: 0;
     margin-top: -28px !important;
}

/* -    */
@media (max-width: 768px) {
    .price-order-btn#domen {
        margin-top: 0 !important;
    }
}

/*       */

.table.table-hover td {
    text-align: left !important;
}
