body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #111827;
    margin: 0;
    padding: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.15);
    padding: 30px 26px;
    border: 1px solid #e9edf2;
}

.login-card h2 {
    margin: 0 0 8px;
    text-align: center;
    color: #0056b3;
}

.login-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 22px;
}

.field-label {
    display: block;
    margin-top: 14px;
    margin-bottom: 7px;
    font-weight: 700;
    color: #374151;
    font-size: 14px;
}

.input-wrap {
    position: relative;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ccd0d5;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    transition: 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.10);
}

.password-wrap input {
    padding-left: 92px;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #eef4ff;
    color: #0056b3;
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.toggle-password:hover {
    background: #dfeafe;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #444;
    font-size: 14px;
    user-select: none;
}

.remember-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0056b3;
}

.login-btn {
    width: 100%;
    padding: 13px;
    margin-top: 20px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.2s ease;
}

.login-btn:hover {
    background: #004494;
}

.alert {
    padding: 11px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.small-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}
