* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background:
        radial-gradient(circle at top left, #dff9ea, transparent 35%),
        linear-gradient(135deg, #f8fafc, #eef4ff);
    color: #0f172a;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.94);
    padding: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(15, 61, 145, 0.14);
}

.login-logo {
    font-size: 30px;
    font-weight: 700;
    color: #0f3d91;
    margin-bottom: 28px;
}

.login-logo span {
    color: #16c784;
}

.login-card h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font: inherit;
    outline: none;
    transition: 0.25s;
}

.input-group input:focus {
    border-color: #16c784;
    box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.13);
}

button {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #16c784, #0fa76d);
    color: white;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 199, 132, 0.28);
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 13px 15px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 14px;
}

.back-link {
    display: block;
    margin-top: 24px;
    text-align: center;
    text-decoration: none;
    color: #0f3d91;
    font-size: 14px;
}