/* assets/css/forgot.css - Dedicated styling for forgot and reset password pages */
:root {
    --fgt-primary: #0ea5e9;
    --fgt-primary-hover: #0284c7;
    --fgt-bg: #f0f9ff;
    --fgt-card-bg: #ffffff;
    --fgt-border: #e2e8f0;
    --fgt-text: #0f172a;
    --fgt-text-muted: #64748b;
    --fgt-radius: 24px;
    --fgt-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.fgt-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--fgt-bg) 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fgt-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.fgt-card {
    background: var(--fgt-card-bg);
    padding: 40px;
    border-radius: var(--fgt-radius);
    box-shadow: var(--fgt-shadow);
    width: 100%;
    animation: slideInUpFgt 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUpFgt {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fgt-header {
    text-align: center;
    margin-bottom: 30px;
}

.fgt-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fgt-primary);
    text-decoration: none;
    margin-bottom: 24px;
}

.fgt-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.fgt-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fgt-text);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.fgt-header p {
    color: var(--fgt-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.fgt-form-group {
    margin-bottom: 20px;
    position: relative;
}

.fgt-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fgt-text);
    margin-bottom: 8px;
}

.fgt-input-wrapper {
    position: relative;
}

.fgt-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fgt-text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.fgt-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--fgt-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--fgt-text);
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box; /* Crucial for full width */
}

.fgt-input:focus {
    border-color: var(--fgt-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.fgt-input:focus + i {
    color: var(--fgt-primary);
}

.fgt-btn {
    width: 100%;
    padding: 16px;
    background: var(--fgt-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.fgt-btn:hover {
    background: var(--fgt-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

.fgt-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--fgt-text-muted);
}

.fgt-footer a {
    color: var(--fgt-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.fgt-footer a:hover {
    color: var(--fgt-primary-hover);
    text-decoration: underline;
}

.fgt-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fgt-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.fgt-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* OTP Specific styles overridden for Reset Password */
.fgt-otp-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.fgt-otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 2px solid var(--fgt-border);
    border-radius: 12px;
    color: var(--fgt-text);
    background: #fff;
    transition: all 0.2s;
}

.fgt-otp-input:focus {
    border-color: var(--fgt-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 480px) {
    .fgt-container {
        padding: 15px;
    }
    
    .fgt-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .fgt-header h2 {
        font-size: 1.5rem;
    }
    
    .fgt-input {
        padding: 12px 16px 12px 42px;
    }
    
    .fgt-input-wrapper i {
        left: 14px;
        font-size: 1rem;
    }
    
    .fgt-otp-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
}
