.cvc-login-page-shell {
    margin: 0 auto;
    padding: clamp(16px, 4vw, 40px);
    max-width: 1120px;
}

.cvc-login-page-inner {
    position: relative;
    padding: clamp(14px, 2.5vw, 24px);
    border-radius: 28px;
    background: linear-gradient(145deg, #f7f9ff 0%, #f6fbff 55%, #f2fcf8 100%);
}

.cvc-otp-card {
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e8ecf8;
    box-shadow: 0 18px 45px rgba(30, 54, 101, 0.12);
    text-align: center;
    font-family: inherit;
}

.cvc-otp-card::before {
    content: "";
    position: absolute;
    top: -72px;
    left: -72px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(84, 119, 255, 0.2) 0%, rgba(84, 119, 255, 0) 72%);
    pointer-events: none;
}

.cvc-otp-header {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cvc-otp-logo-wrap {
    margin: 0 auto 12px;
}

.cvc-otp-logo {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    display: inline-block;
}

.cvc-otp-header h3 {
    font-size: clamp(24px, 2.3vw, 30px);
    margin-bottom: 10px;
    font-weight: 800;
    color: #16223d;
    line-height: 1.35;
}

.cvc-otp-header p {
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.8;
    color: #56617d;
}

.cvc-input-group {
    position: relative;
    margin-bottom: 16px;
}

.cvc-input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a1abc4;
    font-size: 19px;
    transition: color 0.25s ease;
}

.cvc-input {
    width: 100%;
    min-height: 54px;
    padding: 14px 50px 14px 18px;
    border: 1px solid #dce3f3;
    border-radius: 14px;
    font-size: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    outline: none;
    box-sizing: border-box;
    background: #fdfefe;
    text-align: center;
    font-family: inherit;
}

.cvc-input::placeholder {
    color: #a0abc3;
}

.cvc-input:focus {
    border-color: #5d77ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(93, 119, 255, 0.14);
}

.cvc-input:focus + .cvc-input-icon {
    color: #5d77ff;
}

.cvc-btn {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    font-family: inherit;
}

.cvc-btn-primary,
.cvc-btn-secondary {
    box-shadow: 0 12px 28px rgba(53, 79, 158, 0.2);
}

.cvc-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.01);
}

.cvc-btn:active {
    transform: translateY(0);
}

.cvc-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    filter: grayscale(0.5);
    transform: none;
}

.cvc-btn-text {
    background: none;
    border: none;
    color: #65708a;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.25s ease;
    padding: 5px;
    margin: 2px auto 0;
    display: block;
}

.cvc-btn-text:hover {
    color: #283147;
}

.cvc-btn.cvc-btn-text {
    width: auto;
    min-height: 0;
    padding: 6px 10px;
    margin: 2px auto 0;
    box-shadow: none;
    filter: none;
}

.cvc-spinner {
    font-size: 19px;
}

.cvc-otp-step {
    animation: slideIn 0.35s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-msg {
    color: #16542f;
    background: #e9f8f0;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
    border: 1px solid #cdeedc;
}

#otp-message p.error {
    color: #8f212a;
    background: #fdecef;
    border: 1px solid #f7c9ce;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
}

.cvc-register-intro {
    margin-bottom: 14px;
    font-size: 14px;
    color: #58647f;
    text-align: center;
}

.cvc-otp-card .cvc-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.cvc-otp-card .cvc-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.cvc-otp-card .cvc-form-group label {
    font-size: 13px;
    color: #4d5a75;
    text-align: center;
}

.cvc-otp-card .cvc-form-group .cvc-input,
.cvc-otp-card .cvc-form-group select,
.cvc-otp-card .cvc-form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #dce3f3;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    text-align: center;
    font-family: inherit;
}

.cvc-required {
    color: #c62828;
    margin-right: 4px;
}

.cvc-otp-referral {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e1e8f8;
    background: #f9fbff;
}

.cvc-otp-referral-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #42506d;
    cursor: pointer;
    user-select: none;
    justify-content: center;
}

.cvc-otp-referral-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

#otp-referral-wrap {
    margin-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .cvc-login-page-shell {
        padding: 10px;
    }

    .cvc-login-page-inner {
        border-radius: 18px;
        padding: 10px;
    }

    .cvc-otp-card {
        border-radius: 18px;
        padding: 22px 16px;
    }

    .cvc-input {
        min-height: 50px;
        font-size: 15px;
    }

    .cvc-btn {
        min-height: 50px;
    }
}