* {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 500;
    
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;/* Dodajemy overflow: auto do body */
}

#header {
    width: 80%;
    display: flex;
    justify-self: center;
    flex-wrap: wrap;
    align-self: center;
    margin-top: 5px;
}

#login-page {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#login {
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: white;
    box-shadow: 0px 0px 19px -5px rgba(255, 122, 61, 1);
    border: #ff7a3d solid 2px;
    border-radius: 15px;
    text-align: center;
    margin: 0 auto;
}

/* Pozostałe style bez zmian */
.input-container {
    position: relative;
    width: 100%;
}

input, button {
    width: 100%;
    height: 50px;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #cccccc9e;
    outline-color: #cccccc9e;
    border-radius: 8px;
    transition: border-color 0.4s ease, outline-color 0.4s ease;
    font-size: 16px;
}

input:hover {
    border-color: #ff7a3d;
    outline-color: #ff7a3d;
    border-radius: 8px;
}

button {
    background-color: rgba(255, 122, 61, 1);
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 70px;
    font-weight: 600;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: rgba(255, 122, 61, 1);
}

h2 {
    font-weight: 600;
    font-size: 35px;
    margin: 0px;
    color: #ff7a3d;
}

p {
    margin: 0px;
}

input::placeholder {
    color: black;
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-top: 12px;
}

.language-icon {
    margin-left: 50%;
    margin-top: 65%;
    cursor: pointer;
}

.flags-container {
    position: absolute;
    top: 36%;
    margin-left: 185%;
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
}

.flags-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.flag {
    width: 46px;
    height: 46px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.flag:hover {
    transform: scale(1.1);
}

.error-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: red;
    cursor: pointer;
    display: none;
}

.error-icon:hover::after {
    content: attr(data-error);
    position: absolute;
    top: 120%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
}

input.filled {
    border-color: #ff7a3d;
    outline-color: #ff7a3d;
}