/* OTP Page Styles - similar to login page */
.otp-container {
    max-width: 400px;
    margin: 40px auto 0 auto;
    padding: 32px 24px 32px 24px; /* Added more padding for a nicer frame */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.otp-container h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}
.subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
    text-align: center;
}
.otp-form {
    padding: 30px 0 10px 0;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}
.required {
    color: #ff3b30;
}
.input-wrapper {
    position: relative;
}
.input-wrapper input {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}
.input-wrapper input:focus {
    outline: none;
    border-color: #0066cc;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}
.input-wrapper input:valid:not(:disabled) {
    background-color: #f9fafb !important;
}
.input-wrapper input:disabled,
.input-wrapper input:valid:disabled {
    background: #f3f4f6 !important;
    color: #888 !important;
    border-color: #e0e0e0 !important;
    cursor: not-allowed;
    opacity: 1;
}
.input-wrapper .checkmark {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00c48c;
    opacity: 0;
    transition: opacity 0.2s;
}
.input-wrapper input:valid + .checkmark {
    opacity: 1;
}

.btn.btn-primary.btn-block {
    width: 100%;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.1s;
}
.btn.btn-primary.btn-block:hover {
    background-color: #005bb5;
}
.btn.btn-primary.btn-block:disabled {
    background: #e0e0e0 !important;
    color: #b0b0b0 !important;
    cursor: not-allowed;
    border: none;
    box-shadow: none;
    opacity: 1;
}
