/* =========================================
   0. RESET I BLOKADA PRZEWIJANIA (MOBILKI)
   ========================================= */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; 
    width: 100%;
    margin: 0;
    padding: 0;
}

img, iframe, .container {
    max-width: 100%;
}

/* =========================================
   1. PASEK NAWIGACJI (NAVBAR)
   ========================================= */
.navbar {
    background-color: #2c2c2c;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #00FFAA;
}

.navbar-brand {
    text-decoration: none;
}

.nav-logo {
    width: 130px; 
    height: auto;
    display: block;
    margin: 10px auto 25px auto; 
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* =========================================
   2. EKRAN LOGOWANIA I BANER Z LOGO
   ========================================= */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    padding: 0 20px; 
}

.login-box {
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%; 
    max-width: 300px; 
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.login-banner-logo {
    max-width: 220px; 
    height: auto;
    filter: drop-shadow(0px 0px 12px rgba(0, 255, 136, 0.4)); 
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: white;
    box-sizing: border-box;
}

/* Zwykłe przyciski wracają do normy (bez 100% szerokości) */
button {
    padding: 10px;
    background-color: #00FFAA;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #00e699;
}

/* 100% szerokości wymuszamy TYLKO na przycisku w środku logowania */
.login-box button {
    width: 100%;
}

/* =========================================
   3. PASEK COOKIES (RODO / GDPR)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #14171d;
    border-top: 1px solid #333947;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    box-sizing: border-box;
    gap: 15px;
}

.cookie-banner p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-banner a {
    color: #00e676;
    text-decoration: none;
}

.cookie-banner button {
    width: auto;
    background: #00e676;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.cookie-banner button:hover {
    background: #00c853;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}