/* ============================================================
   /var/www/html/assets/css/forgot.css
   Dedicated styles for Forgot Password page (forgot.php)
   This file contains all the custom styling for forgot container,
   forgot card, form elements, alerts, and footer links.
   ============================================================ */

.forgot-container {
    max-width: 450px;
    margin: 2rem auto;
}

.forgot-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.1);
    border: 1px solid #eef2f6;
}

.forgot-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-header .emoji {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.forgot-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.forgot-header .sub {
    color: #64748b;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 3rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.btn-reset {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37,99,235,0.4);
}

.forgot-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e2e8f0;
}

.forgot-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.forgot-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}