body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #000;
    padding: 1rem;
}

.login-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    width: 100%;
    max-width: 380px;
}

.login-logo {
    width: 220px;
    height: auto;
    display: block;
}

.card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 2rem 2rem 2.25rem;
    width: 100%;
}

.login-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.login-sub {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-bottom: 1.75rem;
}

label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    color: #f0f4ff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

input:focus {
    outline: none;
    border-color: #5d2884;
    box-shadow: 0 0 0 3px rgba(93, 40, 132, 0.2);
}

.field { margin-bottom: 1rem; }

button[type="submit"] {
    width: 100%;
    background: #5d2884;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.15s;
    letter-spacing: 0.01em;
}

button[type="submit"]:hover { background: #7a35ad; }

.error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    background: rgba(239, 68, 68, 0.08);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #ef4444;
}
