/**
 * POLSKI | POLISH:
 * Wszelkie prawa zastrzeżone © 2025 ShiroeBot.xyz.
 *
 * Niniejszy kod jest własnością ShiroeBot.xyz i stanowi chroniony materiał autorski.
 * Kopiowanie, rozpowszechnianie, modyfikowanie, dekompilacja lub wykorzystywanie jakiejkolwiek części
 * tego kodu w jakiejkolwiek formie, zarówno komercyjnej, jak i niekomercyjnej, bez uprzedniej pisemnej
 * zgody autora jest surowo zabronione.
 *
 * Wszelkie naruszenie powyższych warunków może skutkować odpowiedzialnością cywilną i karną.
 *
 * Jeśli masz pytania dotyczące warunków licencji, skontaktuj się z autorem na serwerze wsparcia.
*/

/**
 * ANGIELSKI | ENGLISH:
 * All rights reserved © 2025 ShiroeBot.xyz.
 *
 * This code is the property of ShiroeBot.xyz and constitutes a protected copyrighted material.
 * Copying, distribution, modification, decompilation, or usage of any part
 * of this code in any form, whether commercial or non-commercial, without prior written
 * consent from the author is strictly prohibited.
 *
 * Any violation of the above terms may result in civil and criminal liability.
 *
 * If you have any questions regarding the licensing terms, please contact the author on the support server.
*/

.header {
    background-color: #1f1f1f;
    color: #f1f1f1;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
}

.bot-container {
    margin-left: 25px;
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #f1f1f1;
    font-size: 24px;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 25px;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-toggle:focus {
    outline: none;
}

.bot-img {
    height: 40px;
    display: block;
}

.nav-container {
    margin-right: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #f1f1f1;
    text-decoration: none;
    display: inline-block;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-links li:last-child {
    margin-right: 10px;
}

.docs-link::after {
    content: "▼";
    margin-left: 5px;
    font-size: 0.8em;
}

.nav-links a.active {
    color: #c1009f;
}

.nav-links a:hover {
    color: #c1009f;
}

.dropdown-menu-header {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 150px;
    z-index: 1002;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.user-dropdown-header .dropdown-menu-header {
    left: -1px;
    top: 40px;
}

.dropdown-menu-header.open,
.docs-dropdown:not(.in-main-nav):hover .dropdown-menu-header {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Elementy w dropdownie */
.dropdown-menu-header li {
    padding: 5px 15px;
}

.dropdown-menu-header li a {
    color: #f1f1f1;
    text-decoration: none;
    display: block;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.dropdown-menu-header li a:hover {
    color: #c1009f;
}

@media (hover: hover) and (pointer: fine) {
    .docs-dropdown:not(.in-main-nav):hover .dropdown-menu-header {
        display: block;
    }
}

.user-dropdown-header-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.user-link {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.user-img {
    height: 40px;
    border-radius: 50%;
    display: block;
}

.open {
    display: block !important;
}

.divider {
    border-top: 1px solid #333;
    margin: 5px 0;
}