/* Ogólny reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

/* Główna kontenerka formularza */
.login-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Nagłówki */
.login-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styl dla grupy formularza */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Styl dla etykiet */
.form-group label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

/* Styl dla inputa */
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

/* Efekt focus dla inputa */
.form-group input:focus {
    border-color: #1e90ff;
    outline: none;
}

/* Przycisk */
button {
    width: 100%;
    padding: 12px;
    background-color: #1e90ff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

/* Efekt hover dla przycisku */
button:hover {
    background-color: #005cbf;
}

/* Responsywność */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }

    .login-container h2 {
        font-size: 20px;
    }

    .form-group input {
        padding: 8px;
        font-size: 14px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }
}

nav { 
    background-color: #1e90ff;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav a.navbar-brand {
    font-weight: bold;
    font-size: 28px;
    color: white;
    text-decoration: none;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    width: 100%;
}

nav ul li {
    margin-left: 20px;
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background-color: transparent;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: white;
    color: #1e90ff;
}

/* Komunikaty o błędzie i sukcesie */
p.message {
    padding: 5px;
    margin-top: 20px;
    margin-bottom: 10px;
    background-color: #e6f7e6;
    color: #2c662d;
    border: 1px solid #2c662d;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    max-width: 100%;
    width: 100%;
}


