html {
    scroll-behavior: smooth;
}

*, ::after, ::before {
    box-sizing: border-box!important;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #F8F8F8;
}

.container {
    max-width: 800px;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #FFF;
}

@media (max-width: 767px) {
    .container {
        padding-inline: 20px;
    }
}

.btn-cabinet-help-block {
    top: 13px;
}

.logo {
    font-size: 80px;
    color: #FFD700;
    margin-bottom: 30px;
}

h1 {
    color: #444;
    font-size: 24px;
    margin-bottom: 8px;
}

a {
  text-decoration: none!important;
}

p {
    font-size: 18px;
    margin-bottom: 30px;
}

input {
    border-radius: 8px;
}

input.is-invalid {
    border-color: #FF3333;
    box-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}


.error-message {
    color: #FF3333;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* По умолчанию скрываем сообщение */
}

.alert-message {
    color: #FF3333;
    font-size: 12px;
    margin-top: 15px;
    display: none; /* По умолчанию скрываем сообщение */
}


button {
    border-radius: 8px;
    border: none;
    outline: none!important;
}

.error-message {
    margin-bottom: 15px;
}

.info {
    margin-top: 25px;
    font-size: 14px;
    color: #999;
}

.modal-40 {
    width: 40%;
}
.modal-content {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.modal-header, .modal-body, .modal-footer {
    padding: 20px;
}

.modal-title {
    font-size: 32px;
    color: #444;
    text-align: center;
    text-wrap: pretty;
    margin-bottom: 8px;
}

.card {
    border: none;
    margin-bottom: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.card-header {
  color: #fff;
  background-color: #ffc107;
  border-radius: 15px 15px 0 0!important;
  border: none;
}

.card-title {
    font-size: 20px;
    color: #444;
}

.card-text {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
}

.btn-danger {
    background-color: #FF3333;
    border-color: #FF3333;
    color: #FFF;
    border-radius: 8px;
    font-size: 18px;
    padding: 10px 20px;
    text-decoration: none;
}

.btn-danger:hover {
    background-color: #e31d1d;
    border-color: #e31d1d;
}

.subscription-management-card {
    background-color: #f8f9fa;
    padding: 0px;
    margin-bottom: 0px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.subscription-management-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-visible {
    max-height: 1000px;
    padding: 20px;
    margin-bottom: 20px;
    opacity: 1;
}

.subscription-management-text {
    margin-bottom: 20px
}

.location {
    margin-bottom: 20px
}

.subscription-controls-wrap {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat( auto-fill, minmax( 337px, max-content ));
    justify-content: space-between;
    gap: 10px 20px;
}

.subscription-expired-text {
    align-content: center;
    flex-basis: max-content;
}

.subscription-management-btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subscription-management-btn {
    background-color: #ffc107;
    color: #fff;
    border: none;
}

.subscription-management-btn:hover {
    background-color: #c79910;
    color: #fff;
    outline: none;
}

#cancelAutoPayment {
    transition: all 0.3s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#createRefundPopup .modal-dialog,
#cancelRefundPopup .modal-dialog,
#confirmationPopup .modal-dialog {
    /*width: 30%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;*/
}

#createRefundPopup .modal-header,
#cancelRefundPopup .modal-header,
#confirmationPopup .modal-header {
    border-bottom: none;
}

#createRefundPopup .modal-title,
#cancelRefundPopup .modal-title,
#confirmationPopup .modal-title {
    font-size: 20px!important;
    margin-bottom: 0;
}

#createRefundPopup .modal-footer
#cancelRefundPopup .modal-footer
#confirmationPopup .modal-footer {
    padding: 15px;
}

.subscription-card-body {
    display: flex;
    flex-direction: column;

}


.buy-sub-btn-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
}

@media (min-width: 768px) and ( max-width: 1199px ) {
    .modal-dialog {
        max-width: 758px;
        margin: 1.75rem auto;
    }
}

.modal-body-subscription {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat( auto-fill, minmax( 300px, 340px));
    justify-content: center;
}


.orange-btn, .red-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background-color: #ffc107;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  height: 48px;
  cursor: pointer;
  text-decoration: none!important;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
}

.orange-btn:hover {
  background-color: #c79910;
  color: #fff;
}

.red-btn {
  background-color: #ee4043;
}

.red-btn:hover {
  background-color: #bb2d3b;
  color: #fff;
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}


@media screen and (max-width: 600px) {
    .orange-btn, .red-btn {
      font-size: 14px;
    }
}

.orange-link {
  position: relative;
  color: #ee8c40!important;
  font-size: 16px;
  font-weight: 600;
  margin-right: 20px;
  padding: 5px;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.orange-link:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ee8c40;
  transition: width 0.4s ease;
}

.orange-link:hover:before {
    width: 100%;
}

.orange-link:hover {
    color: #cc752e;
}

.orange-link:hover:before {
    background-color: #cc752e;
}

.field:not(:last-child) {
    margin-bottom: 0.75rem;
}

.field.has-addons button {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.field.has-addons {
    display: flex;
    justify-content: flex-start;
}

.field.has-addons .form-control {
    height: auto;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.help {
    font-size: .75rem;
    margin-top: 0.25rem;
    margin-bottom: 0px;
}

.left-image-payment {
    max-width: 60%;
    margin-top: 10px;
}

.left-image-payment-block {
    width: 100px;
    margin-top: -14px;
    text-align: center;
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 1rem;
}

.centered-block {
    display: none;
    align-items: center;
    justify-content: center;
}

.content-small {
    font-size: .75rem;
    color: #7a7a7a!important;
}

.location-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  border: none;
  background-color: #fff;
  color: #000;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 700;
  height: 48px;
  cursor: pointer;
  text-decoration: none!important;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
}

.location-btn span {
    margin-right: 5px;
}

.location-btn:hover {
  background-color: #ffc000;
  color: #fff;
}

.location-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 15px 15px 15px;
    margin: 0;
}

.location-item {
    width: 50%;
    padding: 5px;
}

.location-link, .location-link-active {
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 10px;
    color: #1c1c1c;
    transition: background-color 0.2s ease-out;
    cursor: pointer;
}

.speed {
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid #4169db;
  color: #4169db;
  border-radius: 6px;
  padding: 5px 10px;
}

.location-img {
    margin-right: 10px;
    margin-bottom: 2px;
    height: 25px;
}

.location-link-active {
    color: #1a3378;
    background-color: #edf2ff;
    cursor: default;
}

.location-link:hover {
    background-color: #eff0f4;
}

@media (max-width: 680px) {
    .location-item {
        width: 100%;
    }
}

.line-through {
  text-decoration: line-through;
}

.status {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .location-btn {
      font-size: 14px;
      padding: 10px 20px;
    }
}

.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px 20px;
}

.stars_wrapper__rUPUw {
    position: relative;
}

.stars_stars__8PcMG {
    display: flex;
    grid-gap: 4px;
    gap: 4px;
    color: #d8d8d8;
}

.stars_coloredStar__xnGuG, .stars_star____6m5 {
    width: 18px;
    height: 18px;
    transition: color 0.2s ease-out;
}

.stars_coloredStar__xnGuG {
    color: #f5a623;
}

.review_avatar__L4jEb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #0076ff;
    border-radius: 4px;
    text-transform: uppercase;
}

.review_block__ohafC {
    padding: 28px 30px;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, .08);
    background-color: #f8f9fa;
    color: #333;
}

.review_header__nsGh6, .review_skeletonHeader__6d0Au {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.review_user__j5ini {
    display: flex;
    align-items: center;
}

.review_name__zYLse {
    font-size: 14px;
}

.review_content___1fLx {
    margin: 18px 0;
    font-size: 16px;
    line-height: 1.4;
}

.review_links__rzTdA {
    display: flex;
    align-items: center;
    grid-gap: 4px;
    gap: 4px;
    color: rgba(51, 51, 51, .5);
}

.review_link__VU22G {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(51, 51, 51, .5);
    text-decoration: none;
}

.header_wrapper__lrcNY {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.header_title__Ci6xv {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.19;
}

.header_rating__NJFRs {
    display: flex;
    align-items: center;
    height: 42px;
    margin: 0 16px 0 32px;
    padding: 0 18px;
    border-radius: 21px;
    border: 1px solid rgba(0, 0, 0, .08);
    background-color: #fff9e3;
}

.header_side__n43vI {
    display: flex;
    align-items: center;
}

.header_count__o8REt {
    font-size: 18px;
    color: #999;
    line-height: 1.4;
}

.stars_big__8w8B8.stars_coloredStars__w1vJc, .stars_stars__8PcMG.stars_big__8w8B8 {
    grid-gap: 8px;
    gap: 8px;
}

.stars_big__8w8B8.stars_coloredStar__xnGuG, .stars_star____6m5.stars_big__8w8B8 {
    width: 24px;
    height: 24px;
}

.header_ratingValue__fiDeZ {
    margin: 0 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.stars_coloredStars__w1vJc, .stars_stars__8PcMG {
    display: flex;
    grid-gap: 4px;
    gap: 4px;
    color: #d8d8d8;

}

.stars_coloredStars__w1vJc {
    position: absolute;
    top: 0;
    color: #f5a623;
}

.active-star {
    color: #f5a623;
}

.stars_star____6m5:hover {
    color: #f5a623;
}

@media (max-width: 950px) {
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .header_side__n43vI {
        display: block;
    }

    .header_wrapper__lrcNY {
        display: block;
        margin-bottom: 40px;
    }

    .header_rating__NJFRs {
        margin: 16px 0 16px 0;

    }
}

@media (max-width: 578px) {
    .reviews {
        grid-template-columns: repeat(1, 1fr);
    }
}

.alert {
    position: fixed; /* или position: absolute; */
    top: 50px; /* Настройте положение по вертикали, если нужно */
    right: 50px; /* Настройте положение по горизонтали, если нужно */
    z-index: 9999; /* Задайте высокий z-index, чтобы убедиться, что alert находится поверх других элементов */
}

.alert-dismissible .btn-close {
    padding: 1.5rem 1.5rem;
}

.custom-alert {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.custom-alert.show {
    opacity: 1;
}

.referrer-card {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 0px;
    margin-top: 30px;
}

pre {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
    border-radius: 15px;
    font-size: 14px;
    color: #333;
    overflow: hidden; /* Обрезаем текст, который не помещается */
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .modal-header{
        display: block;
    }
}

.disabled {
    opacity: .65;
    pointer-events: none;
}

.language-switch-form {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 82px;
    height: 34px;
    border-radius: .75rem;
    background: linear-gradient(0deg, #221c1c 0, #0d0b0b 170%);
    border: .0625rem solid #5b5b5b;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fefcfa;
}

.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 36px;
    left: 1px;
    right: 1px;
    transition: .4s;
    border-radius: .75rem;
    background-color: #f6b280;
    box-shadow: 0 0 .75rem .125rem rgba(236,163,74,.7);
}

input:checked + .slider:before {
    transform: translateX(42px);
    background-color: #f6b280;
    color: var(--text-dark);
    box-shadow: 0 0 .75rem .125rem rgba(236,163,74,.7);
}

.lang-left, .lang-right {
    position: relative;
    z-index: 1;
    transition: color .2s;
}

input:not(:checked) + .slider .lang-right {
    color: #141212;;
}

input:checked + .slider .lang-left {
    color: #141212;;
}
