.floating-notification-container {
    position: fixed;
    left: 40px;
    bottom: 40px;
    z-index: 10000;
}

.floating-notification-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; /* Zmenšení ikony */
    height: 52px;
    background-color: #ce021f; /* Červené pozadí */
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    text-decoration: none !important;
}

.floating-notification-icon svg {
    width: 28px;
    height: 28px;
    fill: white !important; /* Celý zvonek bílý */
    stroke: none !important;
}

.floating-notification-icon:hover {
    background-color: #ff2c4a;
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: black; /* Barva pozadí čísla */
    color: white; /* Barva samotného čísla */
    font-size: 14px; /* Velikost čísla */
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 📩 Výsuvný panel */
.notification-slide-panel {
    position: fixed;
    top: 0;
    right: -720px; /* Panel začne mimo obrazovku */
    width: 700px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    overflow-y: auto;
}

/* Když je panel otevřený */
.notification-slide-panel.open {
    right: 0;
}

/* 📌 Obsah výsuvného panelu */
.panel-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 200%;
    padding: 20px;
    overflow-y: auto;
}

/* 🔲 Zavírací tlačítko */
.panel-header {
    display: flex; /* Udržet flexbox pro správné zarovnání */
    justify-content: flex-end; /* Zarovnání tlačítka doprava */
    align-items: center;
    padding: 10px;
}

/* Skrytí nadpisu uvnitř panel-header */
.panel-header span {
    display: none;
}

.close-slide-panel {
    background: none; /* Odstraní šedé pozadí */
    border: none;
    font-size: 50px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Zaoblené tlačítko */
    transition: background 0.3s ease-in-out;
}

/* 🖱 Efekt při najetí */
.close-slide-panel:hover {
    background: rgba(200, 5, 39, 0.1); /* Jemné červené pozadí při hoveru */
    color: #01b3b5; /* Červená barva křížku */
}

.close-slide-panel {
    color: #01b3b5;
}


/* 📱 Responzivita: Na mobilu menší šířka */
@media (max-width: 768px) {
    .notification-slide-panel {
        width: 90%; /* Zvětšení pro mobil */
        max-height: 100vh; /* Omezí výšku na velikost obrazovky */
        overflow-y: auto; /* Povolení posouvání uvnitř panelu */
    }

    .panel-content {
        max-height: calc(100vh - 50px); /* Odečtení místa na zavírací tlačítko */
        overflow-y: auto; /* Umožní posouvání */
    }

    .floating-notification-container {
        left: 20px; /* Přesun na levou stranu */
        right: auto;
        bottom: 20px;
    }
}