* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, #dff4ff 0, transparent 35%),
        linear-gradient(145deg, #eef9ff, #f8fcff);
    color: #123047;
}

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

.login-card {
    width: min(100%, 410px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 22px 60px rgba(31, 91, 130, 0.14);
    backdrop-filter: blur(14px);
}

.brand-mark {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #168bd2, #0b67ad);
    color: white;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(11, 103, 173, 0.25);
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 28px;
}

.subtitle {
    margin: 7px 0 28px;
    text-align: center;
    color: #6a8192;
}

label {
    display: block;
    margin: 16px 0 7px;
    font-size: 14px;
    font-weight: 700;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #cddce6;
    border-radius: 13px;
    background: white;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #168bd2;
    box-shadow: 0 0 0 3px rgba(22, 139, 210, 0.12);
}

.remember-row {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 500;
    color: #526b7c;
}

.remember-row input {
    width: 17px;
    height: 17px;
}

button {
    width: 100%;
    height: 50px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #168bd2, #0865aa);
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.error {
    min-height: 20px;
    margin: 15px 0 0;
    color: #c62828;
    text-align: center;
    font-size: 14px;
}
