* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.28), transparent 30rem),
        linear-gradient(135deg, #07111f, #111827 55%, #172554);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(430px, 100%);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 90px rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(18px);
}

.logo {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: white;
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #10b981);
}

h1 {
    margin: 24px 0 8px;
    color: #0f172a;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

p {
    margin: 0 0 24px;
    color: #64748b;
    line-height: 1.6;
}

.alert {
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #991b1b;
    background: #fee2e2;
}

label {
    display: block;
    margin: 16px 0 8px;
    color: #0f172a;
    font-weight: 800;
}

input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    outline: 0;
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.18);
}

.password-box {
    display: flex;
    gap: 8px;
}

.password-box input {
    flex: 1;
}

.password-box button {
    padding: 0 14px;
    border: 0;
    border-radius: 16px;
    color: #2563eb;
    font-weight: 800;
    background: #dbeafe;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 16px;
    color: white;
    font: inherit;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-1px);
}
