* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-img {
    margin-bottom: 10px;
}

.logo-img svg {
    width: 148px;
    height: auto;
}

.logo-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}

.card {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    padding: 32px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    letter-spacing: -.02em;
}

.card-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 28px;
}

.field { margin-bottom: 16px; }

label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

input {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

input:focus { border-color: #3b82f6; }
input::placeholder { color: #475569; }

.error {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #fca5a5;
    margin-bottom: 16px;
    display: none;
}

.error.show { display: block; }

button[type="submit"] {
    width: 100%;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    margin-top: 4px;
}

button[type="submit"]:hover { background: #2563eb; }
button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
