:root {
    --font-family: "Golos Text", sans-serif;
    --content-width: 1170px;
    --container-offset: 15px;
    --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
    --light-color: #fff;
    --accent-color: #0d6efd;
    --second-color: #0b5ed7;
    --third-color: #0067b1;
    --fifth-color: #a3ccee;
    --alert-color: #f03a47;
    --padding-vertical-sm: 15px;
    --padding-vertical: 30px;
    --padding-vertical-xl: 80px;
}

/* stylelint-disable */ /* stylelint-disable */ /* stylelint-disable */
.custom-checkbox__field:checked + .custom-checkbox__content::after {
    opacity: 1;
}

.custom-checkbox__field:focus + .custom-checkbox__content::before {
    outline: 2px solid #f00;
    outline-offset: 2px;
}

.custom-checkbox__field:disabled + .custom-checkbox__content {
    opacity: 0.4;
    pointer-events: none;
}

/* stylelint-disable */ /* stylelint-disable */ /* stylelint-disable value-keyword-case */
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/GolosText-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    /*font-optical-sizing: auto;*/
    font-style: normal;
}
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/GolosText-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    /*font-optical-sizing: auto;*/
    font-style: normal;
}
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/GolosText-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    /*font-optical-sizing: auto;*/
    font-style: normal;
}
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.page {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}

.page__body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    font-size: 20px;
    font-family: var(--font-family);
    background-color: #fafafb;
    padding-top: 75px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto !important;
}

.main {
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto;
}

.footer {
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto !important;
}

img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
}

.is-hidden {
    display: none !important;
    /* stylelint-disable-line declaration-no-important */
}

.btn-reset {
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
}

.btn-main {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: var(--bs-border-radius);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 15px 15px;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 576px) {
    .btn-main {
        padding: 20px 40px;
    }
}

@media (any-hover: hover) {
    .btn-main:hover {
        /*background-color: var(--second-color);*/
        filter: brightness(110%);
    }
}

.btn-main--back {
    background-color: #eef1f7fa;
    color: inherit;
    border-radius: var(--bs-border-radius);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 15px 15px;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 576px) {
    .btn-main--back {
        padding: 20px 40px;
    }
}

@media (any-hover: hover) {
    .btn-main--back:hover {
        background-color: rgba(220, 225, 237, 0.98);
    }
}

.list-reset {
    list-style: none;
    margin: 0;
    padding: 0;
}

.input-reset {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    background-color: #fff;
}

.input-reset::-webkit-search-decoration, .input-reset::-webkit-search-cancel-button, .input-reset::-webkit-search-results-button, .input-reset::-webkit-search-results-decoration {
    display: none;
}

.visually-hidden {
    position: absolute;
    overflow: hidden;
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
}

.section-container {
    margin: 0 auto;
    padding: 0 var(--container-offset);
    max-width: var(--container-width);
}

.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

.centered {
    text-align: center;
}

.dis-scroll {
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    overscroll-behavior: none;
}

.page--ios .dis-scroll {
    position: relative;
}

p {
    font-weight: 400;
}

::selection {
    color: #ffffff;
    background-color: var(--second-color);
}

.iti__flag {
    background-image: url("../img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("../img/flags@2x.png");
    }
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-open {
    overflow: hidden;
}

.modal-title {
    font-family: "days";
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.countdown {
    font-weight: 700;
    color: var(--accent-color);
}

.header {
    box-shadow: 0px 10px 8px -8px rgba(34, 60, 80, 0.2);
    background-color: #fafafb;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--padding-vertical-sm);
    padding-bottom: var(--padding-vertical-sm);
}

.logo__img {
    width: 300px;
}

@media (max-width: 576px) {
    .logo__img {
        width: 170px;
    }

}

.footer__logo {
    width: 500px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.registration {
    /*background-image: url("../img/bg1.svg");*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .registration {
        /*background-size: 30%, 40%;*/
    }
}

.registration__container {
    padding-top: var(--padding-vertical-xl);
    padding-bottom: var(--padding-vertical-xl);
}

.registration__title {
    /*color: var(--accent-color);*/
    padding-bottom: 1rem !important;
    font-weight: 900;
    color: #fff;
}

.registration__text {
    padding-bottom: 2rem;
    font-size: 24px;
    color: #fff;
}

.registration--form-refresh {
    background-color: #f4f7fb;
}

.registration--form-refresh .registration__container {
    padding-top: 56px;
    padding-bottom: 72px;
}

.registration--form-refresh .registration-form-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #dde6f2;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(35, 53, 84, 0.12);
}

.registration--form-refresh .registration__title {
    margin: 0;
    padding-bottom: 12px !important;
    color: #182033;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.registration--form-refresh .registration__text {
    max-width: 680px;
    margin: 0 auto 32px;
    padding-bottom: 0;
    color: #536073;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.registration--form-refresh .registration-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.registration--form-refresh .registration-form-section {
    padding: 28px;
    background-color: #fbfcfe;
    border: 1px solid #e6edf6;
    border-radius: 8px;
}

.registration--form-refresh .registration-form-section__title {
    margin: 0 0 24px;
    color: #1f2a3d;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.registration--form-refresh .registration-form-section .mb-4:last-child {
    margin-bottom: 0 !important;
}

.registration--form-refresh .form-label {
    display: block;
    margin-bottom: 8px;
    color: #29364a;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.registration--form-refresh .form-control,
.registration--form-refresh .form-select {
    min-height: 52px;
    padding: 12px 15px;
    color: #172033;
    background-color: #ffffff;
    border: 1px solid #cfd9e8;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.registration--form-refresh textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.registration--form-refresh .form-control:hover,
.registration--form-refresh .form-select:hover {
    border-color: #9fb1c9;
}

.registration--form-refresh .form-control:focus,
.registration--form-refresh .form-select:focus {
    color: #172033;
    background-color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.13);
    outline: none;
}

.registration--form-refresh .form-control.is-invalid,
.registration--form-refresh .form-select.is-invalid,
.registration--form-refresh .form-check-input.is-invalid {
    border-color: var(--alert-color);
}

.registration--form-refresh .invalid-feedback {
    margin-top: 8px;
    color: var(--alert-color);
    font-size: 14px;
    line-height: 1.4;
}

.registration--form-refresh .form-check {
    padding: 16px 18px 16px 48px;
    background-color: #ffffff;
    border: 1px solid #e1e8f2;
    border-radius: 8px;
}

.registration--form-refresh .form-check-input {
    width: 20px;
    height: 20px;
    margin-left: -30px;
    margin-top: 2px;
    border: 1px solid #9fb1c9;
}

.registration--form-refresh .form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.13);
}

.registration--form-refresh .form-check-label {
    color: #38465a;
    font-size: 15px;
    line-height: 1.55;
}

.registration--form-refresh .agree-link {
    color: var(--third-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.registration--form-refresh .agree-link:hover {
    color: var(--second-color);
}

.registration--form-refresh .registration-form-submit {
    min-width: 240px;
    min-height: 54px;
    padding: 16px 32px;
    border-radius: 8px;
    letter-spacing: 1.5px;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.22);
}

.registration--form-refresh .registration-form-submit:hover {
    filter: none;
    background-color: var(--second-color);
    transform: translateY(-1px);
}

.registration--form-refresh .registration-form-submit:disabled,
.registration--form-refresh .registration-form-submit.processing {
    background-color: #9aa7b8;
    box-shadow: none;
    transform: none;
}

.registration--form-refresh .registration-required-note {
    margin: 0;
    color: #66758a;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .registration--form-refresh .registration__container {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .registration--form-refresh .registration-form-card {
        padding: 24px 18px;
    }

    .registration--form-refresh .registration__title {
        font-size: 26px;
    }

    .registration--form-refresh .registration__text {
        font-size: 16px;
        text-align: left;
    }

    .registration--form-refresh .registration-form-section {
        padding: 22px 16px;
    }

    .registration--form-refresh .registration-form-submit {
        width: 100%;
        min-width: 0;
    }
}

.required-star {
    color: var(--alert-color);
    font-weight: 700;
}

/* Form styles */
#registration-form fieldset:not(:first-of-type) {
    opacity: 0;
    /* Set opacity to 0 for non-active fieldsets */
    transition: opacity 0.3s ease;
    /* Add transition for opacity */
}

.choices__inner {
    background-color: #fff !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--bs-body-color) !important;
    background-color: var(--bs-body-bg) !important;
    background-clip: padding-box !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: var(--bs-border-radius) !important;
}

.choices__placeholder {
    opacity: 1 !important;
    font-size: 16px !important;
}

.choices__list--single .choices__item {
    font-size: 16px !important;
}

#registration-form fieldset:not(:first-of-type) .form-control {
    pointer-events: none;
    /* Disable input fields in non-active fieldsets */
    background-color: #f9f9f9;
    /* Change the background color of non-active fieldsets */
}

#registration-form fieldset.active {
    opacity: 1;
    /* Set opacity to 1 for the active fieldset */
}

#progressbar li {
    color: lightgray;
}

/*#progressbar li.active {*/
/*    color: #000000;*/
/*}*/

/*#progressbar li.active ~ li {*/
/*    color: lightgray;*/
/*}*/

#progressbar li.active {
    color: #000000;
}

#progressbar li.active:before {
    background-color: var(--accent-color);
    color: #ffffff;
}

#progressbar li:not(.active) {
    color: lightgray;
}

/* Button styles */
#registration-form .next,
#registration-form .previous {
    display: none;
    /* Hide next and previous buttons by default */
}

#registration-form fieldset:first-of-type .next {
    display: block;
    /* Show next button on the first fieldset */
}

#registration-form fieldset:not(:first-of-type) .form-control {
    pointer-events: auto;
    /* Enable input fields in active fieldsets */
    background-color: #ffffff;
    /* Restore the background color of active fieldsets */
}

#registration-form fieldset:not(:last-of-type) .next {
    display: block;
    /* Show next button on non-last fieldsets */
}

#registration-form fieldset:not(:first-of-type) .previous {
    display: block;
    /* Show previous button on non-first fieldsets */
}

fieldset {
    display: none;
    opacity: 0;
}

fieldset.active {
    display: block;
    opacity: 1;
}

.progressbar {
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.progressbar li + li {
    margin-top: 1.5rem;
}

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

.progressbar__item span {
    width: auto;
    font-size: 16px;
}

@media (min-width: 992px) {
    .progressbar {
        flex-direction: row;
        align-items: center;
    }

    .progressbar li + li {
        margin-top: 0;
    }

    .progressbar__item span {
        width: 210px;
    }
}

.progressbar li:before {
    content: attr(data-step);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    background-color: #F2F6FA;
    font-size: 16px;
    text-align: center;
    margin-right: 20px;
    font-weight: 700;
}

/*.progressbar li.active:before {*/
/*    background-color: var(--accent-color);*/
/*    color: #ffffff;*/
/*}*/

fieldset > div {
    display: flex;
    align-items: center;
}

.agreement {
    color: var(--accent-color);
    text-decoration: none;
}

@media (any-hover: hover) {
    .agreement:hover {
        text-decoration: underline;
    }
}

.form-check-input:focus {
    border-color: var(--second-color);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--second-color);
    border-color: var(--second-color);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--second-color);
}

.form-select:focus {
    border-color: var(--second-color);
    box-shadow: none;
}

select option:hover {
    background-color: red !important;
    color: white !important;
}

.btn-wrapper button + button {
    margin-left: 1.5rem;
}

.flight-title {
    margin-top: 2rem;

}

#registration-form .next {
    /* Default button style */
    background-color: #ccc;
    color: #fff;
}

#registration-form .next:disabled {
    /* Button style when disabled */
    background-color: #ccc;
    color: #fff;
    cursor: not-allowed;
}

#registration-form #submitBtn:disabled {
    /* Button style when disabled */
    background-color: #ccc;
    color: #fff;
    cursor: not-allowed;
}

#registration-form .next:enabled {
    /* Button style when enabled */
    background-color: var(--accent-color);
    color: #fff;
}

@media (any-hover: hover) {
    #registration-form .next:enabled:hover {
        background-color: var(--second-color);
    }
}

.iti {
    display: block;
}

.form-check-input {
    border: 1px solid var(--accent-color);
}

.footer {
    /*background-image: url("../img/bg1.svg");*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #eef1f7fa;
    border-radius: var(--bs-border-radius);
}

.footer__container {
    color: #897382;
    padding-top: var(--padding-vertical);
    padding-bottom: var(--padding-vertical);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;

}



@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        justify-content: space-between;
        /*align-items: baseline;*/
    }

    .footer__container > .footer__col:nth-child(1) {
        order: -1;
    }
}

.footer__col + .footer__col {
    margin-top: 2rem;
}

.footer__col {
    flex-basis: 50%;
}



/*@media (min-width: 768px) {*/
/*    .footer__container {*/
/*        flex-direction: row; !* Убедитесь, что контейнер отображается в строку *!*/
/*    }*/
/*    .footer__container > .footer__col:nth-child(2) {*/
/*        order: -1; !* Перемещаем второй элемент на первое место *!*/
/*    }*/
/*}*/

.date-wrapper {
    display: flex;
    align-items: center;
}

.date {
    font-size: 44px;
    margin-right: 1rem;
}

.month {
    font-size: 14px;
    text-transform: uppercase;
}

.month span {
    font-size: 30px;
}

.address {
    font-size: 14px;
}

.lang-switch {
    font-size: 16px;
}

.dropdown-menu {
    min-width: 120px;
    transform: translate3d(-17px, 42px, 0px);
}


@media (max-width: 576px) {
    ::placeholder {
        color: transparent !important;
    }

    .input-group-text {
        padding: 0.375rem 2px !important;
    }

}

@media (max-width: 576px) {
    .col-4 {
        width: 33.33% !important;
    }
}

.input-group-text {

}

.helper {
    margin-top: 20px !important;
    font-size: 14px !important;
    line-height: 100% !important;
}

.section-alert {
    margin: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    /*background: rgba(0, 0, 0, 0.5);*/
}

/* Добавьте эти стили в ваш CSS файл */
.modal {
    z-index: 1060 !important; /* Должен быть выше чем у бэкдропа */
}

.modal-backdrop {
    z-index: 1040 !important; /* Стандартное значение Bootstrap */
    opacity: var(--bs-backdrop-opacity) !important; /* Сохраняем оригинальную прозрачность */
}

.modal-content {
    position: relative;
    z-index: 1061 !important; /* Контент должен быть выше чем обертка модалки */
}

/* ДОБАВИТЬ вместо этого */
.modal.show {
    display: block;
    padding-right: 15px; /* Для компенсации скролла */
}

.modal-backdrop {
    z-index: 1040 !important; /* Важно сохранить меньше чем у модалки */
    background-color: rgba(0, 0, 0, 0.5);
}

/* Оставить кастомизацию только этих классов */
.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
    position: relative;
    /*top: 50%;*/
    transform: translateY(-50%);
}

.modal-content {
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-body {
    padding: 1.5rem;
}

/* Фикс для мобильных устройств */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
    }
}

/*.modal-dialog {*/
/*    position: relative;*/
/*    margin: 1.75rem auto;*/
/*    max-width: 500px;*/
/*    !*padding: 0 6px;*!*/
/*}*/

/*.modal-content {*/
/*    position: relative;*/
/*    background-color: #fff;*/
/*    border: 1px solid #dee2e6;*/
/*    border-radius: 0.3rem;*/
/*    outline: 0;*/
/*}*/

/*.modal-header {*/
/*    display: flex;*/
/*    align-items: flex-start;*/
/*    justify-content: space-between;*/
/*    padding: 1rem 1rem;*/
/*    border-bottom: 1px solid #dee2e6;*/
/*}*/

/*.modal-title {*/
/*    margin-bottom: 0;*/
/*    line-height: 1.5;*/
/*}*/

/*.close {*/
/*    padding: 1rem 1rem;*/
/*    margin: -1rem -1rem -1rem auto;*/
/*    cursor: pointer;*/
/*    background: none;*/
/*    border: none;*/
/*}*/

/*.modal-body {*/
/*    position: relative;*/
/*    flex: 1 1 auto;*/
/*    padding: 1rem;*/
/*}*/

/*.modal-footer {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: flex-end;*/
/*    padding: 1rem;*/
/*    border-top: 1px solid #dee2e6;*/
/*}*/


.progressbar__separator {
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    border: 1px solid var(--accent-color);
    font-size: 16px;
    text-align: center;
    margin-right: 20px;
    font-weight: 700;
}

.form-floating > label {
    top: -12px !important;
    transition: all 0.2s ease-in-out !important;
}

.big-label {
    transition: all 0.2s ease-in-out !important;
    top: -12px !important;
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.2;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transform: scale(0.85) translateY(-0.9rem) translateX(0.15rem);
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select ~ label {
    /*opacity: 0.65;*/
    transform: scale(0.85) translateY(-0.9rem) translateX(0.15rem);
}


.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
}

.accordion-body {
    background-color: #f8f9fa;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    margin-right: 10px;
}

.iti__selected-flag {
    z-index: 1;
}


@media (max-width: 576px) {
    .mobile-label {
        font-size: .8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
        vertical-align: middle;
    }

    .big-label {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
        vertical-align: middle;
    }
}


.custom-phone-field {
    position: relative;
}

.custom-phone-field .form-control {
    padding-left: 50px; /* Добавьте отступ для флага страны */
}

.custom-phone-field label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem 0.75rem;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.custom-phone-field .form-control:focus ~ label,
.custom-phone-field .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(-0.15rem);
    opacity: 0.65;
}

.btn-main.processing {
    position: relative;
    opacity: 0.8;
    cursor: wait;
}

.submit-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Dark Theme for New Registration Form
   ======================================== */

:root {
    --dark-bg: #020218;
    --dark-bg-lighter: #0a0a2e;
    --purple-accent: #7341be;
    --purple-hover: #5c3496;
    --purple-light: #9b6dd6;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-focus: rgba(115, 65, 190, 0.5);
    --text-muted-dark: rgba(255, 255, 255, 0.6);
}

/* Main section */
.registration-dark {
    background-color: var(--dark-bg);
    min-height: 100vh;
    padding: 40px 0 80px;
}

/* Card container */
.registration-dark .form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    /*max-width: 600px;*/
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

@media (max-width: 576px) {
    .registration-dark .form-card {
        padding: 24px 16px;
        border-radius: 12px;
    }
}

/* Title and subtitle */
.registration-dark .form-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.registration-dark .form-subtitle {
    color: var(--text-muted-dark);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Form sections */
.registration-dark .form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.registration-dark .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.registration-dark .form-section-title {
    color: var(--purple-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Labels */
.form-label-dark {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* Input fields */
.form-control-dark {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease-in-out !important;
}

.form-control-dark::placeholder {
    color: var(--text-muted-dark) !important;
}

.form-control-dark:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--purple-accent) !important;
    box-shadow: 0 0 0 3px var(--border-color-focus) !important;
    outline: none !important;
}

.form-control-dark:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Select fields */
.form-select-dark {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease-in-out !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.form-select-dark:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--purple-accent) !important;
    box-shadow: 0 0 0 3px var(--border-color-focus) !important;
    outline: none !important;
}

.form-select-dark option {
    background-color: var(--dark-bg-lighter);
    color: #ffffff;
}

/* Checkbox */
.form-check-dark {
    padding-left: 1.75rem;
}

.form-check-input-dark {
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-left: -1.75rem;
    margin-top: 0.125rem;
}

.form-check-input-dark:checked {
    background-color: var(--purple-accent);
    border-color: var(--purple-accent);
}

.form-check-input-dark:focus {
    border-color: var(--purple-accent);
    box-shadow: 0 0 0 3px var(--border-color-focus);
}

.form-check-label-dark {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Agreement links */
.agree-link-dark {
    color: var(--purple-light);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.agree-link-dark:hover {
    color: #ffffff;
}

/* Submit button */
.btn-purple {
    background: linear-gradient(135deg, var(--purple-accent) 0%, var(--purple-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 65, 190, 0.3);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 65, 190, 0.4);
    filter: brightness(110%);
}

.btn-purple:active {
    transform: translateY(0);
}

.btn-purple:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted-dark);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-purple.processing {
    opacity: 0.8;
    cursor: wait;
}

/* Required note */
.registration-dark .required-note {
    color: var(--text-muted-dark);
    font-size: 0.85rem;
    margin: 0;
}

.registration-dark .required-star {
    color: #ff6b6b;
}

/* Validation states */
.registration-dark .is-invalid {
    border-color: #ff6b6b !important;
}

.registration-dark .invalid-feedback {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Header and footer adjustments for dark theme */
.registration-dark ~ .footer,
body:has(.registration-dark) .footer {
    background-color: var(--dark-bg-lighter);
    border-radius: 0;
}

body:has(.registration-dark) .footer__container {
    color: var(--text-muted-dark);
}

body:has(.registration-dark) .header {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body:has(.registration-dark) .page__body {
    background-color: var(--dark-bg);
}

/* Phone input dark theme */
.registration-dark .iti__selected-flag {
    background-color: transparent;
}

.registration-dark .iti__country-list {
    background-color: var(--dark-bg-lighter);
    border-color: var(--border-color);
}

.registration-dark .iti__country {
    color: #ffffff;
}

.registration-dark .iti__country:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.registration-dark .iti__dial-code {
    color: var(--text-muted-dark);
}

.nav-link {
    color: #fff !important;
}
