/* Reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ustawienia dla body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;

}

/* Styl dla nawigacji */
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);
    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;
}

/* Stylizacja kontenera logowania */
.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 500px;
    margin-top: 50px;
    text-align: center;
}

h2 {
    font-size: 1.2rem;
    color: #007BFF;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

h3 {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 1px;
}


/* Stylizacja formularza */
form {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-top: 20px;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Styl przycisku */
button {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Stylizacja dla komunikatów */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: left;
font-size: 12px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
}

/* Styl dla responsywności */
@media (max-width: 768px) {
    .login-container {
        width: 100%;
        padding: 20px;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1rem;
    }

    button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Skalowanie reCAPTCHA */
.g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
}
