

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #1f2937;
}

.site-header {
    background: #111827;
    color: #fff;
}
.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}
.site-tagline {
    margin-top: 3px;
    color: #d1d5db;
    font-size: 13px;
}
.site-home {
    color: #e5e7eb;
    font-size: 14px;
    text-decoration: none;
}
.site-home:hover { color: #fff; text-decoration: underline; }

.login-main {
    min-height: calc(100vh - 85px);
    min-height: calc(100dvh - 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.login-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
}
.login-footer a { color: #2563eb; text-decoration: none; }
.login-footer a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .site-header-inner { padding: 16px 20px; }
    .site-brand { font-size: 20px; }
    .login-main { padding: 22px 14px; }
    .login { padding: 24px 20px; }
}

.login {
    width: 100%;
    max-width: 400px;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 4px 20px rgba(0,0,0,.10);
}

h1 {
    margin: 0 0 5px 0;
    font-size: 26px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
}

input {
    width: 100%;

    padding: 13px;

    margin-bottom: 18px;

    border: 1px solid #d1d5db;

    border-radius: 7px;

    font-size: 16px;
}

input:focus {
    outline: 2px solid #93c5fd;
    border-color: #2563eb;
}

button {
    width: 100%;

    padding: 13px;

    border: 0;
    border-radius: 7px;

    background: #2563eb;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;

    padding: 12px;

    margin-bottom: 20px;

    border-radius: 7px;

    color: #991b1b;
}

