html,
body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.init-hidden {
    display: none;
}

.page-wrap {
    padding: 0 12px;
}

.header-card {
    max-width: 420px;
    margin: 15px auto 8px;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .40);
    overflow: hidden;
    background: #fff;
}

.header-card img {
    width: 100%;
    height: auto;
    display: block;
}

.header-title {
    text-align: center;
    margin: 6px auto 10px;
    font-weight: 700;
    max-width: 420px;
}

.notice {
    max-width: 420px;
    margin: 12px auto;
    padding: 10px;
    background: #fff;
    color: #343a40;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .40);
}

.notice span {
    display: inline-block;
    padding-left: 100%;
    animation: jalan 14s linear infinite;
}

@keyframes jalan {
    to {
        transform: translateX(-100%);
    }
}

.green-divider {
    max-width: 420px;
    height: 8px;
    background: #FB5C1B;
    border-radius: 6px;
    margin: 14px auto;
    box-shadow: 0 3px 8px rgba(31, 177, 111, .45);
}

.card {
    border-radius: 14px !important;
    box-shadow: 0 15px 14px rgba(0, 0, 0, .40) !important;
    background: #fff;
    margin-bottom: 20px;
}

.form-card {
    max-width: 420px;
}

.input-group-text {
    background: #EDEDED;
    color: #0F0F0F;
}

.btn-primary {
    background: #FB5C1B;
    border: none;
}

.footer-wrap {
    padding: 0 12px;
    background: #fff;
}

.footer-inner {
    max-width: 420px;
    margin: 30px auto 0;
}

.footer-inner img {
    width: 100%;
    display: block;
}

@media (min-width: 768px) {
    .page-wrap {
        padding: 0 20px;
    }

    .footer-wrap {
        padding: 0 20px;
    }
}

.otp-banner {
    position: relative;
    text-align: left;
}

.otp-banner img {
    width: 100%;
}

.top-bar {
    background-color: #F9F9F9;
    padding: 5px 20px;
    font-size: 12px;
    color: #6B6B6B;
    border-bottom: 1px solid #E5E5E5;
    text-align: left;
}

.top-bar a {
    color: #1A73E8;
    text-decoration: none;
    margin-left: 5px;
}

.v2-header {
    background-color: #2F318C;
    color: white;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.v2-header .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.v2-header .logo-container img {
    height: 35px;
}

.v2-header .language-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.v2-header .language-selector i {
    margin-right: 5px;
}

.v2-header .content {
    margin-top: 30px;
}

.v2-header .content h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.v2-header .content p {
    margin: 5px 0 0;
    font-size: 18px;
}

.v2-header .illustration {
    position: absolute;
    bottom: 0;
    right: -50px;
    height: 100px;
}

#verify-button {
    display: inline-block;
    padding: 0.5rem 1rem;
}

.code-input {
    width: 50px;
    text-align: center;
}

.btn-verify {
    background-color: #3f51b5;
    color: #ffffff;
}

.two-step-banner {
    position: relative;
    text-align: left;
}

.two-step-banner img {
    width: 100%;
}

.a2f-card {
    max-width: 400px;
}

.finish-screen {
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background: #111;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bg {
    position: fixed;
    inset: 0;
    background-image: url('../img/banner-registernow.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    filter: brightness(0.8);
    opacity: 0;
    animation: fadeBg 1.8s ease forwards;
}

@keyframes fadeBg {
    to {
        opacity: 1;
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: -1;
}

.wrap {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    text-align: center;
    padding: 24px;
}

.finish-screen .card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, .25) !important;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px !important;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
    max-width: 680px;
    width: 100%;
    transform: translateY(10px);
    opacity: 0;
    animation: popIn 1.8s ease forwards 0.3s;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner {
    width: 64px;
    height: 64px;
    border: 6px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 8px auto 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.v4-title {
    font-size: clamp(18px, 3.5vw, 28px);
    font-weight: 700;
    margin: 10px 0 6px;
}

.v4-desc {
    font-size: clamp(14px, 2.5vw, 18px);
    opacity: .95;
    line-height: 1.55;
    margin: 0 0 2px;
}

#loading {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading::after {
    content: "";
    width: 48px;
    height: 48px;
    border: 6px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}