#loader {
    transition: opacity 0.5s ease-out; /* Płynne przejście */
}

.custom-orange {
    background-color: #e67e22 !important;
    color: rgb(0, 0, 0) !important;
}

/* Podstawowy styl odznaki */
.custom-badge {
    display: inline-block;
    padding: 0.4em 0.6em;
    font-size: 0.875em;
    font-weight: 600;
    color: #fff;
    background-color: #007bff; /* Kolor tła */
    border-radius: 0.25rem;
    text-align: center;
    vertical-align: middle;
    margin-right: 0.3em;
    transition: transform 0.2s ease; /* Płynne skalowanie */
}

/* Hover dla odznaki */
.custom-badge:hover {
    background-color: #0056b3;
}

/* Podklasa dla mniejszej, skalowalnej wersji odznaki */
.custom-badge-sm {
    padding: 0.3em 0.5em;
    font-size: 0.75em; /* Mniejszy rozmiar tekstu */
    border-radius: 0.2rem;
    transform: scale(0.8); /* Mniejszy domyślny rozmiar */
}

/* .bg-custom-gray {
    background-color: #aaaaaa !important;
} */


/* Stylizacja przycisku czatu */
.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00bcd4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Stylizacja okna czatu */
.chat-container {
    position: fixed;
    bottom: -490px; /* Ukrycie okna poza ekranem */
    right: 20px;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.3s ease-out; /* Animacja przesuwania */
}

/* Klasa aktywująca czat */
.chat-container.active {
    bottom: 80px; /* Pozycja po otwarciu */
}

.chat-header {
    background-color: #00bcd4;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.chat-body {
    background-color: #2c2f33;
    height: 400px;
    overflow-y: auto;
    padding: 10px;
}
.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.message-content {
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}
.message-human {
    justify-content: flex-end;
}
.message-human .message-content {
    background-color: #0084ff;
    color: white;
    text-align: right;
}
.message-bot .message-content {
    background-color: #f1f0f0;
    color: black;
    text-align: left;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
}
.chat-footer {
    padding: 10px;
    background-color: #2c2f33;
    display: flex;
    align-items: center;
}
.chat-footer input[type="text"] {
    flex-grow: 1;
    margin-right: 10px;
    border-radius: 20px;
    border: none;
    padding: 8px 15px;
}
.chat-footer button {
    background-color: #00bcd4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
}

.tag-cloud {
    padding: 10px;
    text-align: center;
  }
  
  .tag-cloud-item {
    display: inline-block;
    margin: 2px;
    padding: 4px 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    background-color: #f0f0f0;
    color: #333;
    font-weight: 500;
  }
  
  /* Efekt hover */
  .tag-cloud-item:hover {
    background-color: #e0e0e0;
    color: #000;
  }
  
  /* Rozmiary tagów – dostosuj według potrzeb */
  .tag-cloud-item.size-1 {
    font-size: 0.7rem;
  }
  
  .tag-cloud-item.size-2 {
    font-size: 0.8rem;
  }
  
  .tag-cloud-item.size-3 {
    font-size: 0.9rem;
  }
  
  .tag-cloud-item.size-4 {
    font-size: 1rem;
  }
  
  .tag-cloud-item.size-5 {
    font-size: 1.1rem;
  }
  
  .tag-filter-wrapper {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  