:root {
    --bg-color: #0c1014;
    --card-bg: rgba(22, 26, 30, 0.8);
    --accent-blue: #0c66e4;
    --accent-teal: #00c7e4;
    --text-primary: #deebff;
    --text-secondary: #8c9bab;
    --border-color: #333c44;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-color); color: var(--text-primary); height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.forgot-container { width: 100%; max-width: 440px; padding: 20px; }

.form-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    padding: 40px; 
    border-radius: 16px; 
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; justify-content: center; }
.logo-icon { background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal)); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; box-shadow: 0 4px 12px rgba(12, 102, 228, 0.4); }
.logo span { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }

.form-header { text-align: center; margin-bottom: 32px; }
.form-header h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.form-header p { color: var(--text-secondary); font-size: 15px; line-height: 1.5; }

.input-group { margin-bottom: 24px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.input-wrapper { position: relative; }
.input-wrapper i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #454f59; transition: color 0.2s; }
.input-wrapper input { width: 100%; background: #1d2125; border: 1px solid var(--border-color); padding: 14px 16px 14px 48px; border-radius: 8px; color: #fff; font-size: 15px; transition: all 0.2s; }
.input-wrapper input:focus { border-color: var(--accent-blue); background: #22272b; outline: none; box-shadow: 0 0 0 4px rgba(12, 102, 228, 0.15); }
.input-wrapper input:focus + i { color: var(--accent-blue); }

.action-btn { width: 100%; background: var(--accent-blue); color: white; border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.action-btn:hover { background: #0052cc; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(12, 102, 228, 0.3); }
.action-btn:active { transform: translateY(0); }

.footer-links { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-secondary); }
.footer-links a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }

#messageBox { padding: 12px; border-radius: 6px; font-size: 14px; margin-bottom: 24px; display: none; align-items: center; gap: 10px; }
.error { background: rgba(255, 86, 48, 0.1); border: 1px solid rgba(255, 86, 48, 0.2); color: #ff5630; }
.success { background: rgba(54, 179, 126, 0.1); border: 1px solid rgba(54, 179, 126, 0.2); color: #36b37e; }

/* Success State */
.success-state {
    display: none;
    text-align: center;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(54, 179, 126, 0.1);
    color: #36b37e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
}

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