*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f0f13;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    padding: 1rem;
}

.card {
    background: #1a1a24;
    border: 1px solid #2e2e3e;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lock-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.subtitle {
    color: #9090a8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

hr {
    border: none;
    border-top: 1px solid #2e2e3e;
    margin: 1.5rem 0;
}

p {
    color: #9090a8;
    line-height: 1.6;
}

.field {
    text-align: left;
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9090a8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

input[type="password"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: #0f0f13;
    border: 1px solid #2e2e3e;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="password"]:focus {
    border-color: #5b6af0;
}

button[type="submit"] {
    width: 100%;
    padding: 0.7rem;
    background: #5b6af0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.25rem;
}

button[type="submit"]:hover {
    background: #4a58d8;
}

.error {
    color: #f07070;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.logout-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #5b6af0;
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}
