/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to bottom right, #e6f0ff, #e6f7ff, #fffce6);
    min-height: 100vh;
}

/* Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Forgot Password Card */
#forgot-password-card {
    width: 100%;
    max-width: 420px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease-out;
}

#forgot-password-card.visible {
    opacity: 1;
    transform: scale(1);
}

.card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0e6ff;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    width: 72px;
    height: 72px;
    background: linear-gradient(to right, #4338ca, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.header h1 {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to right, #1d4ed8, #b45309, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.header p {
    color: #6b7280;
    font-size: 14px;
}

/* Status Message */
.status-message {
    margin-bottom: 16px;
    padding: 16px;
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #047857;
    border-radius: 6px;
}

/* Form */
form {
    margin-bottom: 24px;
}

.form-item {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-16px);
    transition: all 0.3s ease-out;
}

.form-item.visible {
    opacity: 1;
    transform: translateX(0);
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

input[type="email"] {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
}

input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.error-input {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

/* Reset button */
.reset-btn {
    width: 100%;
    background: linear-gradient(to right, #1d4ed8, #3b82f6, #f59e0b);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.reset-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

.reset-btn:active {
    transform: scale(0.98);
}

/* Login link */
.login-link {
    text-align: center;
}

.login-link a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.login-link a:hover {
    color: #4f46e5;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}