/* =============================================
   Forgot Password Page Styles
   ============================================= */

.forgot-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.forgot-card {
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: var(--puc-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    border: 1px solid var(--puc-gray-100);
    overflow: hidden;
}

.forgot-card-header {
    text-align: center;
    padding: 2rem 2rem 0;
}

.forgot-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(245, 158, 11, .22);
}

.forgot-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.forgot-card-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--puc-gray-800);
    margin: 0 0 .4rem;
}

.forgot-card-header p {
    font-size: .88rem;
    color: var(--puc-gray-500);
    line-height: 1.6;
    margin: 0;
}

.forgot-card-body {
    padding: 1.75rem 2rem 2rem;
}

/* Info tip */
.forgot-tip {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .85rem 1rem;
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: var(--puc-radius-sm);
    margin-bottom: 1.5rem;
}

.forgot-tip svg {
    width: 18px;
    height: 18px;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}

.forgot-tip p {
    font-size: .82rem;
    color: var(--puc-gray-600);
    line-height: 1.55;
    margin: 0;
}

/* Form field */
.forgot-field {
    margin-bottom: 1.25rem;
}

.forgot-field label {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--puc-gray-700);
    margin-bottom: .4rem;
}

.forgot-field label svg {
    width: 16px;
    height: 16px;
    color: var(--puc-gray-400);
}

.forgot-field input {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid var(--puc-gray-200);
    border-radius: var(--puc-radius-sm);
    font-size: .9rem;
    color: var(--puc-gray-800);
    background: var(--puc-gray-50);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

.forgot-field input:focus {
    border-color: var(--puc-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    background: #fff;
}

/* Submit button */
.btn-forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 14px rgba(245, 158, 11, .3);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

.btn-forgot:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, .35);
}

.btn-forgot svg {
    width: 18px;
    height: 18px;
}

/* Back to login link */
.forgot-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-top: 1.25rem;
    font-size: .85rem;
    color: var(--puc-gray-500);
}

.forgot-back a {
    color: var(--puc-primary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-back a:hover {
    text-decoration: underline;
}

/* Alerts */
.forgot-alert {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border-radius: var(--puc-radius-sm);
    font-size: .85rem;
    margin-bottom: 1.25rem;
}

.forgot-alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.forgot-alert.success {
    background: var(--puc-success-light, #ecfdf5);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.forgot-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.forgot-alert p {
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .forgot-card-header {
        padding: 1.5rem 1.25rem 0;
    }

    .forgot-card-body {
        padding: 1.25rem;
    }
}
