/* Inherit login styles and add specific forgot password styles */
.step {
    transition: all 0.3s ease;
}

.verification-code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.code-input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    color: #000000;
    -moz-appearance: textfield;
}

.code-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Remove spinner buttons for number input */
.code-input::-webkit-outer-spin-button,
.code-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.verification-container {
    text-align: center;
    margin: 20px 0;
}

.verification-container p {
    color: #666;
    margin-bottom: 20px;
}

.resend-section {
    margin-top: 15px;
    text-align: center;
}

.link-btn {
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    text-decoration: underline;
}

.link-btn:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

#resendTimer {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.bottom-links {
    text-align: center;
    margin-top: 20px;
}

.back-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #757575;
    font-size: 16px;
}

/* Error message styling */
.error-message {
    display: none;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin: 10px 0;
    border-radius: 15px;
    position: relative;
    text-align: center;
}

.error-message.show {
    display: block;
}

.timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #dc3545;
    width: 100%;
    animation: timerAnimation 20s linear;
}

@keyframes timerAnimation {
    from { width: 100%; }
    to { width: 0%; }
}