/* ===== Obecné styly ===== */
body {
    font-family: 'Kodchasan', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* ===== Přihlašovací stránka ===== */
.login-container {
    width: 100%;
    max-width: 500px;
    background-color: #007bff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 5vh auto;
    text-align: center;
}

.login-container h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.login-container .form-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zarovnání na střed */
}

.login-container label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    display: block;
}

.login-container input {
    width: 80%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.login-container input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.3);
}

.login-container button {
    width: 80%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px; /* Přidá mezeru nad tlačítkem */
}
.login-container button:hover {
    background-color: #388E3C;
    transform: scale(1.05);
}

.login-container button:active {
    transform: scale(0.95);
}

/* ===== Stránka: Neoprávněný přístup ===== */
.access-denied {
    font-family: Arial, sans-serif;
    background-color: #f8d7da;
    color: #721c24;
    text-align: center;
    padding: 50px;
}

.access-denied h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.access-denied p {
    font-size: 1.2em;
}

.access-denied a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #721c24;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.access-denied a:hover {
    background-color: #a71d2a;
}

/* ===== Sidebar (boční menu) ===== */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #009933;
    padding-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.sidebar a i {
    width: 25px;
    text-align: center;
}

.sidebar a:hover {
    background-color: #00CC00;
    border-radius: 5px;
}

/* ===== Obsah (content) ===== */
.content {
    margin-left: 260px;
    padding: 20px;
}

/* ===== Responzivní úpravy pro mobilní zařízení ===== */


/* 📱 Sidebar překrývající celou obrazovku */
@media (max-width: 768px) {
    .sidebar {
        width: 100vw; /* Sidebar zabere celou šířku obrazovky */
        height: 100vh; /* Výška celého displeje */
        position: fixed;
        left: -100vw; /* Načte se skrytý */
        top: 0;
        background-color: #009933;
        z-index: 1100;
        transition: left 0.3s ease-in-out;
    }

    .sidebar.active {
        left: 0; /* Posune sidebar do zobrazené oblasti */
    }
}
.event-list {
    list-style-type: none;
    padding: 0;
}
.event-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background-color: #f9f9f9;
}

/* EMPTY STATE LOGO – jistá responzivní verze */
.empty-state-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* Menší tablety a mobily */
@media (max-width: 768px) {
    .empty-state-logo {
        max-width: 300px;
    }
}

/* Malé mobily */
@media (max-width: 480px) {
    .empty-state-logo {
        max-width: 200px;
    }
}

/* Google Places dropdown – ať neblokuje scroll */
.pac-container{
  z-index: 2000 !important; /* nad obsahem, ale rozumně */
}

