/**
 * Recover Password Page Styles
 * Matches the login/register page design
 */

/* ========================================
   Header Fix - Remove fixed positioning
   ======================================== */
.header.-base {
    position: absolute;
}

/* ========================================
   Message Boxes
   ======================================== */
.msg-box {
    display: none;
}

.msg-box.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Success Message */
#login-success-msg.active {
    background: var(--color-success-1);
    border: 1px solid var(--color-success-2);
    padding: 20px 24px;
}

#login-success-msg .text-success-2 {
    display: flex;
    align-items: center;
}

/* Enhanced Error Message */
#login-error-msg.active,
#login-error-blank-email.active {
    background: var(--color-error-1);
    border: 1px solid var(--color-error-2);
}

/* ========================================
   Form Card
   ======================================== */
.recover-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Header with Icon
   ======================================== */
.recover-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.recover-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-fd-green-2) 0%, var(--color-fd-green-3) 100%);
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(165, 190, 0, 0.3);
}

.recover-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.recover-header h3 {
    margin: 0;
}



/* ========================================
   Input Helper Text
   ======================================== */
.input-helper {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

/* ========================================
   Back to Login Link
   ======================================== */
.back-to-login {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.back-to-login a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    transition: color 0.2s ease;
}

.back-to-login a:hover {
    color: #1e293b;
}

.back-to-login svg {
    transition: transform 0.2s ease;
}

.back-to-login a:hover svg {
    transform: translateX(-3px);
}

/* ========================================
   Input Group with Icon
   ======================================== */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 12px 14px 12px 44px !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group input::placeholder {
    color: #94a3b8;
}

/* ========================================
   Submit Button
   ======================================== */
.contact-form button[type="submit"] {
    width: 100%;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background: var(--color-fd-green-3);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    background: var(--color-fd-green-4) !important;
    background-color: #859300 !important;
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

/* ========================================
   Links
   ======================================== */
.recover-card .bottom-link {
    color: #1e293b;
    font-size: 14px;
}

.recover-card .bottom-link a {
    color: var(--color-fd-green-4);
    font-weight: 600;
}

.recover-card .bottom-link a:hover {
    color: var(--color-fd-green-3);
    text-decoration: underline;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
    .recover-card {
        padding: 30px 25px;
    }
}

@media (max-width: 575px) {
    .recover-card {
        padding: 25px 20px;
    }

    .input-group input {
        padding: 10px 12px 10px 38px;
        font-size: 14px;
    }

    .input-group .input-icon {
        left: 12px;
        width: 16px;
        height: 16px;
    }
}

