/* Ogólne ustawienia */
html {
    overflow-x: hidden;
}

body {
    background-color: #121212;
    color: white;
    margin: 0;
}

/* Linki */
a, a:visited, a:hover, a:active,
.kraken, .kraken:visited, .kraken:active {
    color: #ffffff;
    text-decoration: none;
}

/* Formularz */
label {
    display: block;
    margin-bottom: 5px;
    color: #E0E0E0;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #3A3A3A;
    background: #2C2C2C;
    color: #E0E0E0;
    border-radius: 4px;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1F1F1F;
    padding: 20px;
    border-radius: 8px;
}
.form-container button {
    width: 100%;
    background: #f47a20;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    border: solid 1px #da7c0c;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
}
.form-container button:hover {
    background: #f47c20;
}
.form-control {
    background: #2C2C2C;
    color: #E0E0E0;
    border: none;
}

/* Przycisk powrotu */
.btn-home {
    background: #f47a20;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.btn-home:hover {
    background: #f88e11;
}
.btn-home:focus, #cookie-banner button:focus {
    outline: none;
    box-shadow: 0 0 2px 2px #f47a20;
}
/* Mobilna wersja – navbar na górze */
.navbar {
    position: relative;
    width: 100%;
}
.main-content {
    margin-left: 0;
    padding: 20px;
}
.navbar .nav-item .nav-link {
    color: white;
}

/* Desktop: Sidebar po lewej stronie */
@media (min-width: 992px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 310px;
        height: 100%;
        overflow-y: auto;
        padding: 10px;
    }

    /* Nadpisanie ml-auto, aby elementy były wyrównane do lewej */
    .navbar .navbar-nav {
        margin-left: 0 !important;
        margin-bottom: 200px;
        margin-top: 140px;
        flex-direction: column;
    }
    .navbar .nav-item {
        margin: 0;
    }

    .navbar .nav-link {
        padding: 15px 20px;
        text-align: center;
    }
    .main-content {
        margin-left: 320px;
        padding: 20px;
    }
    .navbar-brand {
        display: none;
    }
}

/* Stylizacja rozwijanych menu */
.navbar-dark .dropdown-menu {
    background-color: #343a40; /* Tło dopasowane do reszty nawigacji */
    border: none; /* Usunięcie obramowania */
}

/* Styl dla pozycji w dropdownie */
.navbar-dark .dropdown-item {
    color: #ffffff; /* Biały tekst */
    transition: background-color 0.3s ease-in-out;
}

/* Efekt hover na pozycjach w dropdownie */
.navbar-dark .dropdown-item:hover {
    background-color: #495057; /* Lekko jaśniejsze tło */
    color: #ffffff; /* Tekst pozostaje biały */
}

/* Usunięcie domyślnego efektu focus na linkach w dropdownie */
.navbar-dark .dropdown-item:focus {
    background-color: #495057;
    color: #ffffff;
}

/* Baner cookie */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F1F1F;
    color: #E0E0E0;
    padding: 20px;
    box-shadow: 0 -1px 10px rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
    text-align: center;
}
#cookie-banner p {
    margin: 0 0 10px;
    font-size: 14px;
}
#cookie-banner button {
    background: #f47a20;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}
#cookie-banner button:hover {
    background: #f88e11;
}

/* Modal */
.modal-content {
    background: #2C2C2C;
    color: #E0E0E0;
}
.modal-header {
    border-bottom: 1px solid #3A3A3A;
}
.modal-footer {
    border-top: 1px solid #3A3A3A;
}

/* Strona podziękowania */
.thank-you-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}
.thank-you-container h1 {
    color: #f47a20;
}
.thank-you-container p {
    font-size: 18px;
}

/* Styl sekcji */
header, .player, section {
    background-color: #1F1F1F;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
nav a.navbar-brand {
    font-size: 1.5em;
}
h1, h2 {
    color: #f1c40f;
}

/* Responsywność */
@media (max-width: 767.98px) {
    .support-section {
        text-align: center;
        margin: 20px 0;
    }
}
@media (min-width: 768px) {
    .support-section {
        position: absolute;
        top: 0;
        right: 0;
        margin: 20px;
    }
}

/* Komunikaty błędów */
.error-message {
    color: red;
    margin-top: 10px;
}
/* Domyślnie ukrywamy */
.mobile-info {
    display: none;
  }
  
  @media (max-width: 576px) {
    .mobile-info {
      display: block;
    }
  }
  