.hidden {
    display: none !important;
}

input:focus,
textarea:focus {
	outline: none;
}

input:not([type="checkbox"]),
textarea {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    outline: none;
    border: 0;
    cursor: pointer;
}

button:active {
    outline: none;
}

button:focus {
    outline: none;
}

#change-number {
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

#name-error,
#phone-error,
#email-error,
#phoneConfirm-error,
#footerName-error,
#footerEmail-error,
#footerPhone-error,
#codeError {
    display: inherit;
    background: transparent !important;
    font-size: 11px;
    width: auto;
    height: auto;
    color: red;
    margin: -20px 0 0 16px;
    position: absolute;
    font-family: Verdana, Arial;
}

#name-error {
    
}

#email-error {
    
}

#phone-error {
    margin-top: 24px;
}

#phoneConfirm-error {
    position: relative;
    margin: 4px 0 0 0;
    display: block;
}

#codeError {
    position: relative;
    margin: 4px 0 0 0;
    display: block;
}

.iti.iti--allow-dropdown {
    width: 100%;
    position: relative;
    display: inline-block;
}

.iti__country-name {
    color: #202020;
}

.iti-mobile .iti--container {
    z-index: 999999999;
}

#phone {
    padding-left: 64px;
}

#change-number {
    display: block;
    margin: 0 auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #686868;
    margin-top: 15px;
    text-align: center;
}

#codeError {
    display: none;
}

.popup * {
    font-family: Verdana, Arial;
}

.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
}

.popup_content {
    width: 514px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 34px 43px 50px 43px;
    position: relative;
}

.close_popup {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.popup h3 {
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #191938;
    margin-bottom: 25px;
}

.popup p {
    color: #191938;
    margin-bottom: 10px;
}

.popup label {
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.popup input {
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    width: 100%;
}

.popup button {
    width: 100%;
}

.popup .politic {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #747474;
    max-width: 358px;
    display: block;
}

.popup .form_button {
    margin-bottom: 20px;
}

.popup_sms_change h3 {
    margin-bottom: 10px;
}

.popup_sms_change h3 ~ p {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #686868;
    margin-bottom: 14px;
}

.popup .btn_gradient {
    width: 100%;
}

@media (max-width: 575px) {
    .popup_content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
    .popup_content form {
        width: 100%;
    }
}

#tildaformcaptchabox {
    display: none !important;
}

/* =============================================
   QUIZ POPUP
   ============================================= */

.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.quiz-container {
    background: #fff;
    border-radius: 8px;
    width: 95%;
    max-width: 740px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.25);
}

/* Header */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    flex-shrink: 0;
}

.quiz-header__title {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.quiz-header__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quiz-header__brand {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #aaa;
}

.quiz-header__brand-bold {
    font-weight: 700;
    color: #444;
}

.quiz-header__close {
    background: none;
    border: none;
    font-size: 26px;
    color: #e57373;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-weight: 300;
    transition: color 0.2s;
}

.quiz-header__close:hover {
    color: #c62828;
}

.quiz-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0 24px;
    flex-shrink: 0;
}

/* Body */
.quiz-body {
    position: relative;
    padding: 50px 55px 40px;
    flex: 1;
    overflow-y: auto;
    min-height: 320px;
}

.quiz-watermark {
    position: absolute;
    top: 10px;
    left: 30px;
    font-size: 180px;
    font-weight: 700;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    font-family: Unbounded, sans-serif;
    user-select: none;
}

/* Steps */
.quiz-step {
    position: relative;
    z-index: 1;
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-question {
    font-family: Verdana, Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.35;
}

/* Radio options */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    color: #5a8ab5;
    padding: 0;
    margin: 0;
    position: static;
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.quiz-option input[type="radio"]:checked + .quiz-radio {
    border-color: #7bebc4;
    background: #7bebc4;
}

/* Quiz form (step 4) */
.quiz-form-inner.form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quiz-field {
    position: relative;
    margin-bottom: 24px;
}

.quiz-field__label {
    display: block;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
    position: static;
}

.quiz-field input[type="text"],
.quiz-field input[type="email"],
.quiz-field input[type="tel"] {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 15px;
    color: #333;
    background: transparent;
    outline: none;
    transition: border-color 0.2s;
}

.quiz-field input:focus {
    border-bottom-color: #7bebc4;
}

.quiz-field input.error {
    border-bottom-color: #e53935;
    background: rgba(229,57,53,0.03);
}

.quiz-field .iti {
    width: 100%;
}

.quiz-field .iti input[type="tel"] {
    padding-left: 64px;
}

.quiz-field #name-error,
.quiz-field #phone-error,
.quiz-field #email-error {
    margin: 4px 0 0 0;
    position: relative;
    display: block;
    font-size: 12px;
    color: #e53935;
}

.quiz-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    color: #5a8ab5;
    margin: 0;
    padding: 0;
    position: static;
}

.quiz-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #7bebc4;
    cursor: pointer;
    flex-shrink: 0;
}

/* Footer */
.quiz-footer {
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.quiz-progress {
    height: 4px;
    background: #eee;
}

.quiz-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #7bebc4, #6de0b5);
    transition: width 0.4s ease;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.quiz-nav__back {
    background: none;
    border: none;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.quiz-nav__back:hover {
    color: #666;
}

.quiz-nav__counter {
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    color: #5a8ab5;
}

.quiz-nav__muted {
    color: #aaa;
}

.quiz-nav__next,
.quiz-nav__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s;
    background: #f0f0f0;
    color: #aaa;
}

.quiz-nav__next.active {
    background: #7bebc4;
    color: #333;
}

.quiz-nav__next:disabled {
    cursor: default;
    opacity: 0.7;
}

.quiz-nav__submit {
    background: #7bebc4;
    color: #333;
}

.quiz-nav__submit:disabled {
    background: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
}

.quiz-nav__next:not(:disabled):hover,
.quiz-nav__submit:not(:disabled):hover {
    filter: brightness(0.95);
}

/* Error placeholder color */
input.error::placeholder {
    color: #d85030;
    opacity: 0.6;
}

/* =============================================
   PRELOADER
   ============================================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

#preloader[style*="block"] {
    display: flex !important;
}

#floatingCirclesG {
    position: relative;
    width: 125px;
    height: 125px;
}

.f_circleG {
    position: absolute;
    height: 22px;
    width: 22px;
    border-radius: 12px;
    background-color: #fff;
    animation: f_fadeG 1.2s infinite;
    -webkit-animation: f_fadeG 1.2s infinite;
}

#frotateG_01 { left:0;    top:51px;  animation-delay:0s; }
#frotateG_02 { left:15px;  top:15px;  animation-delay:0.15s; }
#frotateG_03 { left:51px;  top:0;     animation-delay:0.3s; }
#frotateG_04 { right:15px; top:15px;  animation-delay:0.45s; }
#frotateG_05 { right:0;    top:51px;  animation-delay:0.6s; }
#frotateG_06 { right:15px; bottom:15px; animation-delay:0.75s; }
#frotateG_07 { left:51px;  bottom:0;  animation-delay:0.9s; }
#frotateG_08 { left:15px;  bottom:15px; animation-delay:1.05s; }

@keyframes f_fadeG {
    0% { opacity:1; }
    100% { opacity:0; }
}

@-webkit-keyframes f_fadeG {
    0% { opacity:1; }
    100% { opacity:0; }
}

/* =============================================
   SMS POPUP ELEMENTS
   ============================================= */

.t-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 15px;
    color: #333;
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.t-input:focus {
    border-color: #7bebc4;
}

.t-submit {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #d3338d;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.t-submit:hover {
    background: #b52a78;
}

.flex_uh {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.change_phone {
    display: block;
    margin: 15px auto 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    color: #686868;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
}

.change_phone:hover {
    color: #333;
}

.jhuy {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.jhuy .iti {
    width: 100%;
}

.jhuy .iti input[type="tel"] {
    padding-left: 64px;
}

/* =============================================
   intlTelInput OVERRIDES
   ============================================= */

.iti__country-list {
    max-height: 220px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.iti__country {
    padding: 8px 10px;
}

.iti__country:hover {
    background: #f5f5f5;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 576px) {
    .quiz-body {
        padding: 30px 20px 25px;
        min-height: 260px;
    }

    .quiz-question {
        font-size: 19px;
        margin-bottom: 25px;
    }

    .quiz-watermark {
        font-size: 130px;
        left: 15px;
    }

    .quiz-nav {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 10px;
    }

    .quiz-nav__back {
        order: 1;
        font-size: 13px;
    }

    .quiz-nav__counter {
        order: 2;
        font-size: 12px;
    }

    .quiz-nav__next,
    .quiz-nav__submit {
        order: 3;
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .quiz-header {
        padding: 12px 16px;
    }

    .quiz-header__brand {
        display: none;
    }

    .quiz-divider {
        margin: 0 16px;
    }

    .quiz-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .quiz-body {
        flex: 1;
        overflow-y: auto;
    }
}
