/* public/css/forgot-password-modal.css */

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1051;
}

.modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1052;
    position: relative;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1053;
    margin: 0 15px;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--neutral-dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
}

.modal-body {
    padding: 15px;
}

/* OTP Input Styles */
.otp-container {
    margin: 20px 0;
}

.otp-digit {
    width: 40px;
    height: 48px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
}

.otp-digit:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(26, 77, 148, 0.25);
}

/* User Avatar */
.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--neutral-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Error Messages */
.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 5px;
    min-height: 18px;
}

/* Fix buttons */
.btn-link {
    color: var(--primary);
    text-decoration: none;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--neutral-dark);
    border-color: var(--neutral-dark);
}

.btn-outline-secondary {
    color: var(--neutral-dark);
    border-color: #ccc;
}

.cursor-pointer {
    cursor: pointer;
}

/* Make sure OTP inputs are properly styled */
.otp-digit .form-control {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0;
}

