/* ===== CCSD Email OTP Verification ===== */

.ccsd-otp-wrapper {
    margin-top: 8px;
    margin-bottom: 10px;
    font-family: Poppins, Arial, sans-serif;
}

/* Send / Verify buttons */
.ccsd-otp-send-btn,
.ccsd-otp-verify-btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background-color: #005AEE;
    border: 2px solid #005AEE;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.ccsd-otp-send-btn:hover,
.ccsd-otp-verify-btn:hover {
    background-color: #0D54C9;
    border-color: #0D54C9;
}

.ccsd-otp-send-btn:disabled,
.ccsd-otp-verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Code input row */
.ccsd-otp-code-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.ccsd-otp-code {
    width: 160px;
    height: 44px;
    padding: 0 12px;
    font-family: Poppins, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    color: #2F3F5C;
    border: 1px solid #D3DEF0;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ccsd-otp-code:focus {
    border-color: #637799;
}

/* Resend link */
.ccsd-otp-resend {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #005AEE;
    cursor: pointer;
}

.ccsd-otp-resend.disabled {
    color: #aab0bc;
    cursor: default;
}

/* Messages */
.ccsd-otp-message {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.ccsd-otp-message.error {
    color: #FF3B3B;
}

.ccsd-otp-message.success {
    color: #28a745;
}

/* Verified badge */
.ccsd-otp-verified {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    background-color: #eafaef;
    border: 1px solid #28a745;
    border-radius: 6px;
}

/* Readonly email field when verified */
input.ccsd-otp-readonly,
input.ccsd-otp-readonly:focus {
    background-color: #f5f7fa !important;
    color: #727277 !important;
    cursor: not-allowed;
}
