:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --background: #eff6ff;
    --text: #172033;
    --muted: #64748b;
    --border: #dbe3ef;
    --white: #ffffff;
    --danger: #dc2626;
}

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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #dbeafe 0, transparent 35%),
        linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.login-container {
    width: 100%;
    max-width: 430px;
}

.login-card {
    background: var(--white);
    border: 1px solid rgba(219, 227, 239, 0.9);
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: 0 24px 70px rgba(30, 64, 175, 0.14);
}

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

.brand-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 18px;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.brand h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.brand p {
    color: var(--muted);
    font-size: 14px;
}


    .admin-button {
        display: inline-block;
        padding: 10px 16px;
        border: none;
        border-radius: 8px;
        color: white;
        background: #2563eb;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }

    .admin-button:hover {
        background: #1d4ed8;
    }


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    color: var(--text);
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.login-button {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    border: none;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.message {
    min-height: 22px;
    margin-top: 18px;
    color: var(--danger);
    text-align: center;
    font-size: 14px;
}

.footer {
    margin-top: 26px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .login-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .brand h1 {
        font-size: 23px;
    }
}
