* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.login-container {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
}

.login-container h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 700;
}

.form-group { 
    margin-bottom: 24px; 
    position: relative; 
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

input[type="password"],
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9fafb;
}

input:focus { 
    border-color: #2563eb; 
    outline: none; 
}

.show-password-toggle {
    position: absolute;
    right: 12px;
    top: 42px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6b7280;
}

.forgot-password {
    margin-top: 6px;
    text-align: right;
}

.forgot-password a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
}

.login-btn:hover {
    background: linear-gradient(to right, #2563eb, #3b82f6);
}

.bottom-text {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #374151;
}

.bottom-text a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.alert {
    margin-bottom: 20px;
    padding: 12px;
    color: #b91c1c;
    background: #fee2e2;
    border-radius: 8px;
    font-size: 15px;
}
