#lead {
    position: relative;
    top: 30px;
    margin-bottom: 30px;
}

.iti__flag-container {
    height: 42px;
}

.register-form__list {
    margin: 15px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 !important;
}

.register-form__item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.register-form__img {
    position: relative;
    width: 60px;
    height: 35px;
}

.register-form__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#preloaderDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 99999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#preloaderDiv .preloaderLines {
    display: flex;
}

.preloaderText {
    color: #fff;
    font-size: 20px;
    text-align: center;
    font-family: inherit;
    letter-spacing: 1px;
    margin: 0px 0 5px;
}

#preloaderDiv .line {
    width: 5px;
    height: 15px;
    background: #fff;
    margin: 0 3px;
    display: inline-block;
    animation: opacity-1 1000ms infinite ease-in-out;
}

#preloaderDiv .line-1 {
    animation-delay: 800ms;
}

#preloaderDiv .line-2 {
    animation-delay: 600ms;
}

#preloaderDiv .line-3 {
    animation-delay: 400ms;
}

#preloaderDiv .line-4 {
    animation-delay: 200ms;
}

#preloaderDiv .line-6 {
    animation-delay: 200ms;
}

#preloaderDiv .line-7 {
    animation-delay: 400ms;
}

#preloaderDiv .line-8 {
    animation-delay: 600ms;
}

#preloaderDiv .line-9 {
    animation-delay: 800ms;
}

@keyframes opacity-1 {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.form_message.error.inactive {
    display: none;
}

.form_message.error.active {
    display: block;
}

.error {
    background-color: rgba(255, 0, 0, 0.5) !important;
    color: #fff !important;
    padding: 3px;
}

.input-group .error {
    display: none;
}

.input-group .error.active {
    display: block;
}

.error::placeholder {
    color: #fff !important;
}

.valid {
    background-color: rgba(0, 255, 0, 0.5) !important;
}

.modal_phone {
    opacity: 1;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    display: none;
    outline: 0;
    padding-right: 15px;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
    overflow-y: auto;
    color: #000;
}

.modal_phone.open_phone {
    display: flex;
}

.modal-open_phone {
    overflow: hidden;
}

.modal-dialog_phone {
    position: relative;
    width: 100%;
    max-width: 32rem;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content_phone {
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header_phone {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
}

.modal-header_phone {
    justify-content: space-between;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-body_phone {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-title_phone {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-button_phone {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.5;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

.form_message.error.inactive {
    display: none;
}

.form_message.error.active {
    display: block;
    color: #0a0a0a;
}

.error-border {
    border: dashed 1px #ce0909;
}

p.error-msg {
    margin: 0;
    color: #ce0909;
    padding: 5px 0 0;
    font-size: 14px;
    font-style: italic;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

.modal-content {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translate(-50%, 0);
    background-color: #fefefe;
    max-width: 400px;
    min-height: 300px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #ff1838;
    color: white;
}

.modal-body {
    padding: 16px;
    text-align: center;
}


/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* preloader */
.preloader {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0.7;
    transition: opacity 2s linear;
}

.preloader-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 2s linear;
}

.preloader-hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
}

.cta-text {
    font-size: 16px;
    color: #1c9047;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 40px;
    font-weight: 800;
}

.slots-alert {
    max-width: 500px;
    margin: 20px auto 45px;
    padding: 20px;
    background: linear-gradient(135deg, #e1f8eb, #d0f4e4);
    border-radius: 18px;
    border: 3px solid #25d366;
    font-family: system-ui, sans-serif;
    color: #075e54;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: pulse-border 2s infinite;
}

.main-text {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}

.slot-counter {
    display: inline-block;
    background: linear-gradient(to right, #25d366, green);
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 9999px;
    text-align: center;
    margin: 0 auto 16px;
    margin-right: auto;
    margin-left: auto;
    animation: bounce 1.5s infinite ease-in-out;
    box-shadow: 0 0 12px rgba(18, 140, 126, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 220px;
}

.note-text {
    font-size: 13px;
    color: green;
    text-align: center;
    line-height: 1.4;
}

.form_message.error.inactive,
.form_message.success.inactive {
    display: none;
}

.form_message.error.active,
.form_message.success.active {
    margin-top: 10px;
    display: block !important;
}

.form_message {
    width: 100%;
    min-height: 42px;
    align-content: center;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 5px 10px !important;
    font-size: 16px !important;
    margin-top: 15px;
}

.form_message.error {
    background-color: #ff7f7f;
    border: 2px dashed #ce0909;
    color: #fff;
}

.form_message.success {
    background-color: #d4ffe0;
    border: 2px dashed #1f6b34;
    color: #000;
}

#lead .loader-container {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
}

#lead .loader-container svg {
    width: 100px;
}

#lead .loader-container svg rect {
    fill: gray;
    stroke: gray;
}