* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: Georgia, "Times New Roman", serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #f5f2eb;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 30%),
        linear-gradient(135deg, #171717, #303030);
}

.login-card, .private-card {
    width: min(100%, 460px);
    padding: 52px 42px;
    text-align: center;
    background: rgba(20, 20, 20, .82);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0,0,0,.42);
    backdrop-filter: blur(12px);
}

.eyebrow {
    margin-bottom: 16px;
    color: #aaa49a;
    font: 600 .72rem/1.2 Arial, sans-serif;
    letter-spacing: .22em;
}

h1 {
    margin: 0 0 12px;
    font-size: 2.45rem;
    font-weight: normal;
}

.subtitle {
    margin: 0 0 30px;
    color: #c8c3ba;
    font-size: 1rem;
    line-height: 1.65;
}

form {
    margin: 0;
}

input {
    width: 100%;
    padding: 15px 16px;
    margin-bottom: 12px;
    border: 1px solid #555;
    border-radius: 9px;
    background: #111;
    color: white;
    font: 1rem Arial, sans-serif;
    outline: none;
}

input:focus {
    border-color: #aaa;
    box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}

button, .logout {
    display: block;
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 9px;
    background: #f0ece4;
    color: #191919;
    font: 1rem Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
}

button:hover, .logout:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(180, 70, 70, .14);
    color: #e8a6a6;
    font: .9rem/1.4 Arial, sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
