/* ========================================
   Forgot Password Page Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main Container */
.main-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Forgot Card */
.forgot-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Container */
.icon-container {
    text-align: center;
    margin-bottom: 32px;
}

.reset-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.reset-icon i {
    font-size: 36px;
    color: white;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.forgot-subtitle {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Alert Messages */
.alert {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    border: none;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-danger {
    background: #fee;
    color: #c53030;
}

.alert-success {
    background: #e6fffa;
    color: #2c7a7b;
}

.alert-info {
    background: #ebf8ff;
    color: #2c5282;
}

/* Form Styles */
.forgot-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-label i {
    color: #667eea;
    margin-right: 6px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

/* Validation */
.text-danger {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    font-size: 16px;
}

/* Back Link */
.back-link {
    text-align: center;
    font-size: 14px;
    color: #718096;
}

.back-link i {
    margin-right: 6px;
    color: #667eea;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .forgot-card {
        padding: 32px 24px;
    }

    .forgot-title {
        font-size: 24px;
    }

    .forgot-subtitle {
        font-size: 14px;
    }

    .reset-icon {
        width: 64px;
        height: 64px;
    }

    .reset-icon i {
        font-size: 28px;
    }
}
