/* Reset i podstawy */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    gap: 2rem;
}

/* Karta logowania */
.container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Nagłówek */
h1 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #111827;
}

p {
    text-align: left
}

/* Pola formularza */
input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: border 0.2s;
}

input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Przycisk */
button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #1d4ed8;
}

/* Wiadomość błędu */
.error {
    color: #dc2626;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Responsywność – telefony w pionie */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
        max-width: 90%;
    }

    h1 {
        font-size: 1.5rem;
    }

    input[type="text"],
    button {
        font-size: 1rem;
        padding: 0.65rem;
    }
}
