:root {
    --primary-green: #059669; 
    --dark-green: #064e3b;
    --success-mint: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, #065f46 0%, #022c22 100%);
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    background: rgba(255, 255, 255, 0.08); 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

h2 { margin-bottom: 12px; font-size: 1.8rem; font-weight: 800; }
p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin-bottom: 25px; line-height: 1.5; }

input[type="email"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

input[type="password"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

form {
    width: 100%;
}

.btn-group {
    width: 100%;
}

input:focus { 
    border-color: #34d399; 
    background: rgba(255, 255, 255, 0.1);
}

button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    color: var(--dark-green);
}

button:hover { 
    background: #f0fdf4; 
    transform: translateY(-2px); 
}

.back-btn { 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.85rem; 
    text-decoration: none; 
    margin-top: 20px; 
    display: inline-block; 
}

.back-btn:hover { color: #6ee7b7; text-decoration: underline; }

.msg {
    padding: 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid;
    text-align: left;
}
.error { background: rgba(6, 78, 59, 0.6); color: #d1fae5; border-color: rgba(16, 185, 129, 0.3); }
.success { background: rgba(16, 185, 129, 0.2); color: #a7f3d0; border-color: rgba(52, 211, 153, 0.4); }