/* Header for Landing */
header.site-header-guest {
    display: none;
}

footer.site-footer {
    display: none;
}

.landing-header {
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 90px;
}

.avatar img {
    border-radius: 50%;
}

@media (max-width: 600px) {
    .landing-header {
        width: 100%;
        align-items: flex-start;
    }
}

.landing-page {
    margin: 0;
    padding: 0;
}

.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-title {
    background-color: #ffd752;
    line-height: 1;
    padding: 8px 30px;
    border-radius: 20px;
    color: #323232;
}

.course-title {
    text-align: center;
    color: #414141;
}

.main-title p {
    text-align: center;
    width: 100%;
    max-width: 750px;
    font-size: 20px;
    padding: 10px;
    line-height: 1.8;
}

span.underline {
    font-family: "Gotham", Sans-serif;
    position: relative;
}

span.underline:before {
    content: "";
    background-image: url(https://vspeak.online/wp-content/uploads/2024/04/underline.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 130%;
    height: 15px;
    position: absolute;
    bottom: -10px;
    z-index: -100;
    left: -30px;
    rotate: -1deg;
}

.bunny-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56.25%;
    overflow: hidden;
}

@supports (aspect-ratio: 16/9) {
    .bunny-wrapper {
        padding-top: 0;
        aspect-ratio: 16 / 9;
    }
}

.bunny-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2c2c2c 0%, #3a3a3a 40%, #2c2c2c 80%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.bunny-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bunny-wrapper iframe.loaded {
    opacity: 1;
}

.bunny-wrapper iframe.loaded+.bunny-skeleton {
    display: none;
}

.dangkihocForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 10px 120px;
    margin-top: 30px;
}

.dkh-info h2 {
    color: #414141;
    padding-bottom: 10px;
    text-align: center;
    font-size: 32px;
}

.note p {
    font-size: 18px;
    line-height: 1.8;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.note p:before {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    margin-right: 8px;
    background-color: #4f4f4f;
    content: "";
    display: block;
    border-radius: 20px;
    transform: translateY(-3px);
}

.vspeak-landing-register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    gap: 15px;
    padding-top: 10px;
}

#info-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.vspeak-landing-register-form input[type="text"],
.vspeak-landing-register-form input[type="email"],
.vspeak-landing-register-form input[type="tel"] {
    border: 0 !important;
    border-radius: 30px !important;
    background-color: #e9f0ff !important;
    padding: 30px 10px 30px 25px !important;
    font-size: 19px !important;
    width: 100%;
}

.vspeak-landing-register-form input[type="text"]:focus,
.vspeak-landing-register-form input[type="email"]:focus,
.vspeak-landing-register-form input[type="tel"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(54, 118, 219, 0.12);
}

.vspeak-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.vspeak-landing-register-form input::placeholder {
    opacity: 1 !important;
    color: #3a3a3a !important;
}

#action-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 60px;
}

#landing-register-btn {
    border-radius: 50px !important;
    padding: 10px 15px !important;
    width: 250px !important;
    min-height: 56px;
    font-size: 20px !important;
    color: white !important;
    background-color: #4477de !important;
    margin-top: 10px !important;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

#landing-register-btn:disabled {
    opacity: 0.95;
    cursor: not-allowed;
}

#landing-register-btn.is-loading {
    cursor: wait;
}

#landing-register-btn.is-success-pending {
    background-color: #21b551 !important;
    cursor: wait;
}

#landing-register-btn .btn-text {
    line-height: 1.2;
}

#landing-register-btn .btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: buttonSpin 0.8s linear infinite;
}

#landing-register-btn.is-loading .btn-spinner {
    display: inline-block;
}

#landing-register-btn.is-loading .btn-icon,
#landing-register-btn.is-loading .btn-text,
#landing-register-btn.is-success-pending .btn-icon,
#landing-register-btn.is-success-pending .btn-text {
    display: none;
}

#landing-register-btn.is-success-pending .btn-spinner {
    display: inline-block;
}

@keyframes buttonSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.turnstile-dev-bypass-note {
    width: 100%;
    max-width: 450px;
    text-align: center;
    padding: 12px 18px;
    border-radius: 18px;
    background: #fff5d6;
    color: #6a4d00;
    font-size: 14px;
    line-height: 1.6;
}

.fa-circle-arrow-right {
    margin-right: 7px;
    font-size: 19px;
}

#verification-message-area {
    text-align: center;
    line-height: 1.8;
    padding: 10px 20px;
    margin-top: 16px;
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
}

#verification-message-area:empty {
    display: none;
}

#verification-message-area.is-loading {
    color: #164194;
    background-color: #e9f0ff;
}

#verification-message-area.is-error {
    color: rgb(233, 69, 69);
    background-color: #ffdada;
}

#verification-message-area.is-success {
    color: #155724;
    background-color: #dcf6e2;
}

#cf-turnstile-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 678px) {
    .course-title {
        font-size: 32px;
    }

    .sub-title {
        font-size: 16px;
    }

    .main-title p {
        font-size: 18px;
    }

    .dangkihocForm {
        margin-top: 15px;
        padding-top: 30px;
    }
}

/* Already registered state */
#verification-message-area.is-already-registered {
    color: #2a2a2a;
    background-color: #e2eaff;
    border: none;
    display: flex;
    flex-direction: column;
    padding: 45px 20px;
}

.already-registered-login-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 22px;
    border-radius: 50px;
    background-color: #4477de;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.already-registered-login-btn:hover {
    background-color: #2f5ec4;
    color: #ffffff !important;
    text-decoration: none;
}