:root {
    --primary: #047857;
    --primary-dark: #064e3b;
    --primary-light: #10b981;
    --bg-main: #e8eff5;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-heading); background: var(--bg-main); min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.auth-wrapper { width: 100%; max-width: 440px; padding: 20px; }

.auth-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: 8px 8px 20px rgba(0,0,0,0.08), -8px -8px 20px rgba(255,255,255,0.8);
}

.auth-header { text-align: center; margin-bottom: 30px; }
.auth-logo { width: 70px; height: 70px; border-radius: 50%; background: var(--bg-main); box-shadow: 6px 6px 12px rgba(0,0,0,0.08), -6px -6px 12px rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 2rem; color: var(--primary); }
.auth-header h1 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 6px; }
.auth-header p { font-size: 0.9rem; color: var(--text-light); }

.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); }

.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 1.1rem; }
.input-icon input {
    width: 100%; padding: 14px 14px 14px 42px; border: none; border-radius: 12px; font-size: 0.95rem;
    background: var(--bg-main); color: var(--text-dark); outline: none;
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.06), inset -4px -4px 8px rgba(255,255,255,0.8);
    transition: 0.3s ease;
}
.input-icon input:focus { box-shadow: inset 4px 4px 8px rgba(0,0,0,0.1), inset -4px -4px 8px rgba(255,255,255,0.9), 0 0 0 2px rgba(4,120,87,0.2); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 12px; font-family: var(--font-heading);
    font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: 0.3s ease;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 4px 4px 10px rgba(4,120,87,0.3), -2px -2px 6px rgba(255,255,255,0.2); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }

.alert { padding: 12px 16px; border-radius: 12px; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.alert-danger { background: #fef2f2; color: #dc2626; }
.alert-success { background: #ecfdf5; color: #047857; }

.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer p { font-size: 0.85rem; color: var(--text-light); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-light); font-size: 0.85rem; margin-top: 12px; text-decoration: none; }
.back-link:hover { color: var(--primary); }