/* forgotpassword.css */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}


.container {
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 36px 28px;
    text-align: center;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.logo-container img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 6px;
}

.container p {
    margin-top: 0;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 18px;
}

.form-control {
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #222;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #004aad;
    box-shadow: 0 0 0 4px rgba(0,74,173,0.06);
    outline: none;
}

.password-container {
    position: relative;
    margin-bottom: 12px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 1.05rem;
    transition: color 0.15s;
}

.toggle-password:hover {
    color: #004aad;
}

.otp-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.otp-input {
    width: 100%;
    margin-bottom: 0;
}

.btn-custom {
    background: #004aad;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 74, 173, 0.08);
}

.btn-custom:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: #28a745 !important;
}

.create-account {
    margin-top: 18px;
    text-align: center;
}

.create-account a {
    text-decoration: none;
    color: #004aad;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.create-account a:hover {
    color: #003380;
    text-decoration: underline;
}

.popup {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: none;
    z-index: 1000;
    font-size: 0.98rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    max-width: 90%;
    text-align: center;
}

.popup.error {
    background-color: #dc3545;
}

/* Responsive */
@media (max-width: 576px) {
    .container {
        padding: 20px;
        max-width: 95%;
    }
    .container h2 { font-size: 1.25rem; }
}
