/* Fix scrolling - only HTML should be scrollable */
html {
overflow-x: hidden !important;
overflow-y: auto !important;
scroll-behavior: smooth;
}

body {
overflow: visible !important;
}

/* Унифицированные иконки слева от текста (панели/флаги) */


/* Флаги стран (World VDS) рядом с названием */
.flag-icon {
width: 24px;
height: 16px; /* соотношение 3:2 для флагов */
object-fit: cover; /* без искажений, заполнение */
display: inline-block;
vertical-align: middle;
margin-right: 8px;
border-radius: 2px; /* легкое скругление для флагов */
box-shadow: 0 0 0 1px rgba(0,0,0,.06); /* тонкий обвод для четкости */
}

/* Универсальный хелпер, если нужно обернуть текст и иконку */
.icon-inline {
display: inline-flex;
align-items: center;
gap: 8px;
}

/* На маленьких экранах оставляем тот же размер — читаемость выше */
@media (min-width: 1200px) {
/* при желании можно чуть увеличить на очень широких экранах */
/* .table td img.panel-logo { width: 26px; height: 26px; }
.flag-icon { width: 26px; height: 18px; } */
}

/* Fix home-area double scrollbar issue */
.home-area {
  min-height: 700px !important;
  height: auto !important;
  overflow: visible !important;
}

.home-area .d-table {
  height: auto !important;
  display: block !important;
  overflow: visible !important;
}

.home-area .d-table-cell {
  height: auto !important;
  display: block !important;
  overflow: visible !important;
}

/* Ensure preloader doesn't create scroll context */
.preloader {
  position: fixed !important;
  overflow: hidden !important;
}

.preloader .d-table {
  height: 100vh !important;
}

/* Карточки вакансий — стиль сайта на мобильных и планшетах */
@media (max-width: 991px) {
  #jobs .table-responsive {
    border: none !important;
    padding: 0 !important;
  }

  #jobs .table,
  #jobs .table thead,
  #jobs .table tbody,
  #jobs .table th,
  #jobs .table td,
  #jobs .table tr {
    display: block !important;
  }

  #jobs .table thead tr {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
  }

  #jobs .table {
    border-collapse: separate !important;
    border-spacing: 0 20px !important;
  }

  #jobs .table tbody tr {
    background: #fff !important;
    border: none !important;
    border-bottom: 3px solid #5e87eb !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    padding: 25px 20px 10px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.06) !important;
  }

  #jobs .table td {
    border: none !important;
    border-bottom: 1px solid #f1f1f1 !important;
    position: relative !important;
    padding-left: 42% !important;
    padding-right: 5px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #5f5f5f !important;
    background: #fff !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  #jobs .table td:last-child {
    border-bottom: none !important;
  }

  #jobs .table td:first-child {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #505060 !important;
    padding-left: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #5e87eb !important;
    margin-bottom: 5px !important;
  }

  #jobs .table td:first-child:before {
    display: none !important;
  }

  #jobs .table td:before {
    content: attr(data-label) !important;
    position: absolute !important;
    left: 5px !important;
    top: 10px !important;
    width: 38% !important;
    padding-right: 12px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #5e87eb !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  #jobs .table td {
    padding-left: 0 !important;
    padding-top: 22px !important;
  }

  #jobs .table td:first-child {
    padding-left: 0 !important;
  }

  #jobs .table td:before {
    position: relative !important;
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin-bottom: 4px !important;
  }
}

/* Стили для блоков контактной информации */
.contact-info-item {
    background: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    border-bottom: 3px solid #5e87eb;
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.06);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-content h4 {
    font-weight: 600;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.contact-info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-content ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-content ul li:last-child {
    margin-bottom: 0;
}

.contact-info-content ul li i {
    color: #5e87eb;
    margin-right: 10px;
    margin-top: 2px;
    min-width: 18px;
    text-align: center;
}

.contact-info-content ul li a {
    color: #5e87eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content ul li a:hover {
    color: #3e57d0;
    text-decoration: underline;
}

/* Иконки панелей в первой колонке таблицы цен */
#panels-prices td:first-child {
position: relative !important;
padding-left: 36px !important; /* 24px (иконка) + 12px (отступ) */
vertical-align: middle !important;
}
#panels-prices td:first-child img {
position: absolute !important;
left: 8px !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 24px !important;
height: 24px !important;
object-fit: contain !important;
margin: 0 !important;
}

/* Проверка домена — статус (Домен занят / Домен свободен) */
.align-left-bottom h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #5e87eb;
    margin-bottom: 25px;
}

/* WHOIS-блок — карточка в стиле сайта */
.align-left-bottom {
    max-width: 900px;
    margin: 0 0 40px 0;
}

.align-left-bottom pre {
    display: block;
    text-align: left !important;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-bottom: 3px solid #5e87eb;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 0;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #505060;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.06);
}

.align-left-bottom pre b {
    display: block;
    font-family: 'Cabin', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #5e87eb;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.align-left-bottom pre br + br {
    content: "";
}

/* Страница для партнеров */
#content .single-terms > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 360px;
    margin: 35px auto 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.06);
}

#content .single-terms h3 {
    text-align: left;
    color: #505060;
    font-size: 25px;
    font-weight: 700;
    margin: 40px 0 15px;
}

#content .single-terms .about-feature-list {
    margin: 20px 0 25px;
}

#content .single-terms .about-feature-list li {
    position: relative;
    padding: 13px 15px 13px 42px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-left: 3px solid #5e87eb;
    border-radius: 0 6px 6px 0;
    color: #5f5f5f;
    line-height: 1.7;
}

#content .single-terms .about-feature-list li:before {
    content: "\f00c";
    position: absolute;
    left: 16px;
    top: 15px;
    color: #5e87eb;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
}

#content .single-terms .table-responsive {
    margin: 20px 0 30px;
    border: none;
}

#content .single-terms .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#content .single-terms .table thead th {
    padding: 14px 18px;
    color: #fff;
    background: #5e87eb;
    border: none;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
}

#content .single-terms .table tbody td {
    padding: 14px 18px;
    color: #5f5f5f;
    border-color: #eef0f3;
    vertical-align: middle;
}

#content .single-terms .table tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

#content .single-terms ol {
    margin: 20px 0 0;
    padding-left: 38px;
    color: #5f5f5f;
    list-style: decimal;
    text-align: left;
}

#content .single-terms ol li {
    display: list-item;
    list-style: decimal;
    margin-bottom: 12px;
    padding-left: 5px;
    line-height: 1.7;
}

#content .partner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

#content .partner-actions .default-btn {
    margin: 0;
}

/* Инструкция партнерской программы */
#partner-guide .guide-section {
    margin-bottom: 55px;
}

#partner-guide h3 {
    color: #505060;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 14px;
}

#partner-guide h4 {
    color: #505060;
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px;
}

#partner-guide h5 {
    color: #505060;
    font-size: 17px;
    font-weight: 600;
    margin: 22px 0 10px;
}

#partner-guide .guide-lead {
    font-size: 17px;
    margin-bottom: 0;
}

#partner-guide .guide-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#partner-guide .guide-number {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #5e87eb;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 46px;
    text-align: center;
}

#partner-guide .guide-number.success {
    background: #3e57d0;
}

#partner-guide .guide-step-content {
    flex: 1;
    min-width: 0;
}

#partner-guide .guide-step-title {
    color: #505060;
    font-size: 20px;
    font-weight: 600;
    margin: 4px 0 8px;
}

#partner-guide .guide-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    margin: 25px auto 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#partner-guide .guide-caption {
    color: #5f5f5f;
    font-size: 13px;
    margin: 8px 0 0;
    text-align: center;
}

#partner-guide .about-feature-list {
    margin: 16px 0 0;
}

#partner-guide .about-feature-list li {
    position: relative;
    background: #f8f9fa;
    border-left: 3px solid #5e87eb;
    border-radius: 0 6px 6px 0;
    color: #5f5f5f;
    line-height: 1.7;
    margin-bottom: 9px;
    padding: 11px 14px 11px 40px;
}

#partner-guide .about-feature-list li:before {
    content: "\f00c";
    color: #5e87eb;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
    left: 16px;
    position: absolute;
    top: 15px;
}

#partner-guide .guide-note,
#partner-guide .guide-success,
#partner-guide .guide-warning {
    border-radius: 6px;
    margin-top: 18px;
    padding: 16px 20px;
}

#partner-guide .guide-note {
    background: #f1f5ff;
    border-left: 3px solid #5e87eb;
    color: #505060;
}

#partner-guide .guide-success {
    background: #eef9f1;
    border-left: 3px solid #28a745;
    color: #28633a;
}

#partner-guide .guide-warning {
    background: #fff8e8;
    border-left: 3px solid #e9a820;
    color: #72551a;
}

#partner-guide .guide-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#partner-guide .guide-mini {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
}

#partner-guide .guide-mini h5 {
    margin-top: 0;
}

#partner-guide .table-responsive {
    border: none;
    margin: 18px 0;
}

#partner-guide .table {
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin: 0;
    overflow: hidden;
}

#partner-guide .table thead th {
    background: #5e87eb;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 16px;
}

#partner-guide .table tbody td {
    border-color: #eef0f3;
    color: #5f5f5f;
    padding: 13px 16px;
    vertical-align: top;
}

#partner-guide .table tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

#partner-guide code {
    background: #f1f3f6;
    border-radius: 3px;
    color: #3e57d0;
    padding: 2px 5px;
}

#partner-guide .guide-code {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 3px solid #5e87eb;
    border-radius: 6px;
    color: #505060;
    font-family: Consolas, "Courier New", monospace;
    overflow: auto;
    padding: 15px;
}

@media (max-width: 767px) {
    #content .single-terms h3 {
        font-size: 22px;
        margin-top: 30px;
    }

    #content .single-terms > img {
        margin: 25px auto;
    }

    #content .single-terms .about-feature-list li {
        padding: 12px 12px 12px 38px;
    }

    #content .single-terms .table thead th,
    #content .single-terms .table tbody td {
        padding: 12px;
        font-size: 13px;
    }

    #content .partner-actions {
        margin-top: 30px;
    }

    #partner-guide .guide-section {
        margin-bottom: 40px;
    }

    #partner-guide h3 {
        font-size: 22px;
    }

    #partner-guide .guide-columns {
        grid-template-columns: 1fr;
    }

    #partner-guide .guide-step {
        gap: 12px;
    }

    #partner-guide .guide-number {
        flex-basis: 38px;
        height: 38px;
        line-height: 38px;
        width: 38px;
    }

    #partner-guide .table thead th,
    #partner-guide .table tbody td {
        font-size: 13px;
        padding: 11px;
    }
}

/* ---------- Тело карточки ---------- */

.price-area
.single-price-item
.pricing-body {
    flex: 1;
    margin-bottom: 0;
    padding: 0 24px;
}

/* ---------- Цена ---------- */

.price-area
.single-price-item
.pricing-body
.price-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 26px 0 22px;
    padding: 16px 12px;
    border-radius: 12px;
    background: #f7f9fc;
}

.price-area
.single-price-item.active
.pricing-body
.price-content {
    background: rgba(94, 135, 235, 0.08);
}

.price-area
.single-price-item
.pricing-body
.price-content
.price {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #5e87eb;
}

.price-area
.single-price-item
.pricing-body
.price-content
.currency {
    position: static;
    top: auto;
    height: auto;
    font-size: 20px;
    font-weight: 700;
    color: #5e87eb;
}

.price-area
.single-price-item
.pricing-body
.price-content
.period {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    color: #8a94a6;
}

/* ---------- Характеристики ---------- */

.price-area
.single-price-item
.pricing-body
.list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}

.price-area
.single-price-item
.pricing-body
.list
li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #5f5f5f;
    background: #f8f9fa;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.price-area
.single-price-item
.pricing-body
.list
li.active {
    color: #3b566e;
    text-decoration: none;
}

.price-area
.single-price-item:hover
.pricing-body
.list
li {
    background: #f1f5ff;
}

/* ---------- Иконки вместо <i class="fas fa-..."> ---------- */

.price-area
.single-price-item
.pricing-body
.list
li::before {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    color: #5e87eb;
}

.price-area
.single-price-item
.pricing-body
.list
li:nth-child(1)::before {
    content: "\f2db";
}

/* microchip */

.price-area
.single-price-item
.pricing-body
.list
li:nth-child(2)::before {
    content: "\f538";
}

/* memory */

.price-area
.single-price-item
.pricing-body
.list
li:nth-child(3)::before {
    content: "\f0a0";
}

/* hdd */

.price-area
.single-price-item
.pricing-body
.list
li:nth-child(4)::before {
    content: "\f233";
}

/* server */

.price-area
.single-price-item
.pricing-body
.list
li:nth-child(5)::before {
    content: "\f0ac";
}

/* globe */

/* ---------- Кнопка ---------- */

.price-area
.single-price-item
.pricing-footer {
    margin-top: auto;
    padding: 8px 24px 28px;
    text-align: center;
}

.price-area
.single-price-item
.pricing-footer
a {
    display: block;
    width: 100%;
    margin: 0;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 12px;
    font-weight: 700;
}

.price-area
.single-price-item.active
.pricing-footer
a {
    box-shadow: 0 8px 20px rgba(94, 135, 235, 0.35);
}

/* ---------- Скрытые тарифы и кнопка "Показать ещё" ---------- */

.price-area
.tariffs-more {
    margin-top: 10px;
}

.price-area
#toggleTariffsBtn {
    margin-top: 6px;
}

/* ---------- Адаптив ---------- */

@media (max-width: 991px) {
    .price-area
    .single-price-item.active {
        transform: none;
    }

    .price-area
    .single-price-item.active:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 575px) {
    .price-area
    .single-price-item
    .pricing-header {
        padding: 22px 16px 16px;
    }

    .price-area
    .single-price-item
    .pricing-body
    .price-content
    .price {
        font-size: 30px;
    }

    .price-area
    .single-price-item
    .pricing-body,
    .price-area
    .single-price-item
    .pricing-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}