﻿#language-select {
    outline: none;
    user-select: none;
    border: none;
    background-color: #D9EAFD;
    color: black;
    padding: 1rem;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    background-color: #D9EAFD;
    padding-left: 1rem;
    height: 2rem;
}

.top-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #0c2093;
}

.user-controls,
.language {
    display: flex;
    align-items: center;
}

.logout-button {
    padding-left: 1rem;
}

.user-controls {
    margin-left: auto;
}

#header a {
    text-decoration: none;
    color: inherit;
}


.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
    color: #0c2093;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #D9EAFD;
    overflow-x: hidden;
    transition: width 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 3rem; 
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.side-nav a {
    padding: 12px 24px;
    display: inline-block;
    color: #0c2093;
    text-decoration: none;
    font-size: 16px;
}


.nav-footer-links {
    margin-top: auto;
    padding: 10px 24px;
    font-size: 12px;
    color: #555;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.nav-footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 12px;
}

.nav-footer-links a:hover {
    text-decoration: underline;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    display: none;
    z-index: 9998; /* mniejszy niż nav */
}

.cookie-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:999999;
    background-color: #D9EAFD;
    color: #000;
    padding: 15px 20px;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    display: none;
}

.cookie-banner button {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
}

.cookie-banner button:hover {
    background-color: #45a049;
}