.note {
    border:1px solid yellow;
    margin:25px 10px;
    padding:20px 10px;
    border-radius:10px;
    background-color: rgba(200,200,0,0.2);
    position:relative;
}

.note:before {
    content: "NOTATKA";
    display: block;
    position:absolute;
    top:-10px;
    background-color:white;
    border-radius:10px;
    padding:2px 5px;
    border-top:1px solid yellow;
}

.note li {
    padding:10px;
}

.note .undone, .note .done {
    display: block;
}

.note .done {
    text-decoration: line-through;
}

.note .undone:before {
    content: "";
    display: inline-block;
    width:10px;
    height:10px;
    border:1px solid black;
    margin:0px 10px;
}

.note .done:before {
    content: "";
    display: inline-block;
    width:10px;
    height:10px;
    border:1px solid green;
    margin:0px 10px;
    background-color:green
}

.pytania {
    border:1px solid rgb(255, 60, 0);
    margin:25px 10px;
    padding:20px 10px;
    border-radius:10px;
    background-color: rgba(255,60,0,0.2);
    position:relative;
}

.pytania:before {
    content: "PYTANIA";
    display: block;
    position:absolute;
    top:-10px;
    background-color:white;
    border-radius:10px;
    padding:2px 5px;
    border-top:1px solid rgb(255, 60, 0);
}

.pytania li {
    padding:10px;
}

.pytania .undone, .note .done {
    display: block;
}

.pytania .done {
    text-decoration: line-through;
}

.pytania .undone:before {
    content: "?";
    display: inline-block;
    margin:0px 10px;
    font-size:20px;
    font-weight: 900;
}

.pytania .done:before {
    content: "";
    display: inline-block;
    width:10px;
    height:10px;
    border:1px solid green;
    margin:0px 10px;
    background-color:green
}

.visible {
    display: unset;
}

.hide {
    display: none;
}

.dropzone {
    text-align:center;
    border: 4px dotted orange;
    margin:20px;
    padding: 30px 20px;
}

.dropzone_hover {
    background-color: rgba(200,200,0,0.2);
}

.w-33 {
    width:33% !important;
}

.hide {
    display:none;
}

.disabled-link {
    /* pointer-events: none; */
    opacity: 0.6;         /* Zmniejsza przezroczystość, by wyglądało na wyłączony */
    cursor: not-allowed;
}

.group-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.group-row {
    display: flex;
    justify-content: space-between; /* Równe rozłożenie elementów */
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6; /* Linia pod wierszem */
}

.group-row > .group-name {
    flex-grow: 1; /* Sprawia, że nazwa grupy wypełnia przestrzeń */
    margin-left: 10px;
}

.group-users {
    flex-grow: 2; /* Przestrzeń dla użytkowników */
}

.group-actions {
    display: flex;
    gap: 10px; /* Odstęp między przyciskami */
}

.group-actions .btn-sm {
    padding: 5px 10px;
}

.subgroup-container {
    padding-left: 20px;
}



.toggle-subgroups {
    text-decoration: none !important;
    display: flex;
    gap: 10px;
    align-items: center;
}

.info {
    color: gray;
    font-size: 12px;
    text-indent: 0; /* Wyłącz text-indent */
    position: relative; /* Ustawienie pozycji względnej, aby pseudoelement '::after' mógł być absolutnie pozycjonowany */
    padding-left: 20px; /* Dodaj padding, aby zrobić miejsce na ikonę po lewej stronie */
}

.info::before {
    content: "\f05a"; /* Kod Unicode dla ikony znaku zapytania w Font Awesome */
    font-family: "Font Awesome 6 Pro"; /* Użyj właściwej rodziny fontów dla FA Pro */
    font-weight: 500; /* Waga fontu, np. dla solidnych ikon */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Wyśrodkowanie ikony pionowo w linii tekstu */
    font-size: 12px;
    color: gray;
}

.info.important {
    color: #d9534f; /* Czerwony kolor tekstu, aby wyróżnić komunikat */
    font-weight: bold; /* Pogrubiony tekst */
    background-color: #f9d6d5; /* Jasne tło, aby wyróżnić komunikat */
    padding: 10px 10px 10px 40px; /* Dodanie przestrzeni wokół tekstu */
    border-left: 5px solid #d9534f; /* Czerwony pasek po lewej stronie */
    border-radius: 4px; /* Zaokrąglone rogi */
    position: relative;
    display: block;
}

.info.important::before {
    content: "\f071"; /* Kod Unicode dla ikony wykrzyknika w Font Awesome */
    font-family: "Font Awesome 5 Pro"; /* Upewnij się, że to właściwa rodzina fontów */
    font-weight: 900; /* Waga fontu dla solidnej ikony */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%); /* Wyśrodkowanie ikony pionowo */
    font-size: 16px; /* Dopasowany rozmiar ikony */
    color: #d9534f; /* Kolor ikony pasujący do tekstu */
}

.info.important p {
    margin-left: 30px; /* Tekst będzie odsunięty od ikony */
}

.text-small {
    font-size:10px;
}

/* Standardowe style */
.input-group-text, .location-search input {
    background-color: white;
    border: none;
    font-size: 30px;
    transition: background-color 0.5s ease; /* Dodanie płynnej zmiany tła */
}

/* Usunięcie outline i zmiana tła na focus */
.location-search input:focus {
    outline: none; /* Usunięcie domyślnego outline */
    box-shadow: none; /* Usunięcie efektu box-shadow, który może pojawić się na focus */
    background-color: #f0f0f0; /* Zmiana tła na szare na focus */
}

/* Dostosowanie dla urządzeń mobilnych */
@media (max-width: 768px) {
    .input-group-text, .location-search input {
        font-size: 20px; /* Mniejsza czcionka na urządzeniach mobilnych */
    }
}

.search-title {
    /* text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black; */
}

.page {
    color:black;
}

.footer {
    color:white;
}

.footer p, .footer a, footer h3 {
    color:white;
}

.terms h4 {
    text-align:center;
    margin-top:40px;
}

#cookie-popup {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 10px;
    width:300px;
    background-color: white;
    color: black;
    padding: 15px;
    text-align: left;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border-radius:5px;
    font-size: 12px;
}

#cookie-header {
    font-size: 20px;
    font-weight: 500;
    display: block;
}

#cookie-popup a {
    color: black;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .input-group-stats {
        flex: 1 1 100%;
    }

    .select-group-stats {
        flex: 0 0 100%;
    }
}
