[data-bs-theme="dark"] .bootstrap-select .dropdown-toggle {
    background-color: #212529;
    color: #f8f9fa;
    border: 1px solid #6c757d;
}

[data-bs-theme="dark"] .bootstrap-select .filter-option-inner-inner {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .bootstrap-select .dropdown-toggle::after {
    border-top-color: #f8f9fa;
}

[data-bs-theme="dark"] .bootstrap-select .dropdown-menu {
    background-color: #212529;
    color: #f8f9fa;
    border: 1px solid #6c757d;
}

[data-bs-theme="dark"] .bootstrap-select .dropdown-menu li a {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .bootstrap-select .dropdown-menu li.active a {
    background-color: #0d6efd;
    color: #fff;
}



@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        align-items: center;
    }

    .counter-block {
        width: 100%;
        max-width: 300px; 
    }
}
.counter-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.counter-block {
    text-align: center;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.counter-block:hover {
    transform: scale(1.05);
    background: #e6e6e6;
}

.counter-block__number {
    font-size: 24px;
    font-weight: bold;
}

.counter-block__title {
    font-size: 14px;
    color: var(--bs-secondary);
}

[data-bs-theme="dark"] .counter-block {
    background: #33383D;
    color: var(--bs-light);
}

[data-bs-theme="dark"] .counter-block:hover {
    background: #191919;
    color: white;
}

.pointer {cursor: pointer;}

html, body 
{
	    height: 0%;
  margin: 0;
}

html[data-bs-theme="white"], body[data-bs-theme="white"] {
  background-color: #b8cde0 !important;
}

html[data-bs-theme="dark"], body[data-bs-theme="dark"] {
  background-color: #33383D !important;
}


.sidebar {
  width: 60px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.3s, box-shadow 0.3s;
  background-color: var(--bs-body-bg);
  box-shadow: 3px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--bs-body-color);
  white-space: nowrap; 
  width: 60px;
  transition: background-color 0.3s, color 0.3s, width 0.3s;
}

.sidebar:hover .nav-link {
  justify-content: flex-start;
  width: 200px;
}

.sidebar:hover .theme-title {
	text-align: center;
  width: 200px; 
}



.sidebar:hover {
  width: 200px;
}

.sidebar .image-side
{
	width: 110%;
	text-align: center;
	margin: 0  auto;
}

.sidebar:hover .image-side
{
	width: 60%;
}

.sidebar .nav-text {
    display: inline-block;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 0;
    transition: opacity 0.2s ease, max-width 0.3s ease, margin-left 0.3s ease;
}

.sidebar:hover .nav-text {
    opacity: 1;
    max-width: 160px;
    margin-left: 10px;
    transition: opacity 0.2s ease 0.15s, max-width 0.3s ease 0s, margin-left 0.3s ease 0s;
}

.sidebar .nav-link.active {
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s, color 0.3s, width 0.3s;
}

.sidebar .nav-link:hover {
  background-color: #0056b3;
  color: white;
  transition: background-color 0.3s, color 0.3s, width 0.3s;
}

.container-custom {
  padding: 20px;
  transition: margin-left 0.3s;
  background-color: var(--bs-body-bg);
  width: 90%;
  margin: 0 auto;
}

.wrapper {
  padding-left: 60px; 
}

.sidebar:hover ~ main {
  margin-left: 200px;
}

.container-custom {
  padding-left: 15px;
  padding-right: 15px;
}

#logout-section {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar .nav-link.logout-btn {
  background-color: #cc0000; 
  color: white; 
  transition: background-color 0.3s, color 0.3s, width 0.3s;
}

.sidebar .nav-link.logout-btn:hover {
  background-color: darkred;
  color: white;
}
.theme-title:hover
{
	transition: background-color 0.3s, color 0.3s, width 0.3s;
}
.theme-title:active
{
	transition: background-color 0.3s, color 0.3s, width 0.3s;
}
.no-wrap
{
	white-space: nowrap;
}

.stan2
{
	background-color: #068602;
}

.stan3
{
	background-color: #CC0000;
}
.stan0
{
	background-color: #FF6600;
}
.stan1
{
	background-color: #FF6600;
}

.stan4
{
	background-color: #7c4dff;
}
.etat
{
	margin-left: 1%;
	margin-top: 2%;
}

a
{
	text-decoration: none;
}


body {
  --sb-track-color: #232E33;
  --sb-thumb-color: #266492;
  --sb-size: 11px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 6px;
  border: 1px solid #232E33;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

  .gradient-text {
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, #06b6d4, #7c3aed, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  }

	  .animated {
    background-size: 200% 200%;
    animation: moveGradient 4s linear infinite;
  }
  @keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

.patron-badge {
    background: linear-gradient(90deg, #06b6d4, #7c3aed, #ef4444);
    background-size: 200% 200%;
    animation: moveGradient 4s linear infinite;

    color: #fff;
    font-weight: 600;
    border: none;
}




#pomoc .container-custom {
    padding: 20px;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

#pomoc .main-row {
    flex: 1;
    min-height: 0;
}

#pomoc .chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

#pomoc .chat-box {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
}

[data-bs-theme="dark"] #pomoc .chat-box {
    border: 1px solid #464646;
}

#pomoc .message {
    margin-bottom: 15px;
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
}

#pomoc .message-blue {
    background: #0d6efd;
    color: white;
    margin-left: auto;
}

#pomoc .message-grey {
    background: #e9ecef;
}

[data-bs-theme="dark"] #pomoc .message-grey {
    background: #2b3035; 
    color: #f8f9fa;      
}

#pomoc .message-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
}

#pomoc .ticket-list {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#pomoc .ticket-card:hover {
    background: #f8f9fa;
    cursor: pointer;
}

[data-bs-theme="dark"] #pomoc .ticket-card:hover {
    background: #191919;
    cursor: pointer;   
}

#pomoc .ticket-card.active {
    border: 2px solid #0d6efd;
}

#pomoc .right-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 1px solid #e5e5e5;
}

[data-bs-theme="dark"] #pomoc .right-panel {
    border-left: 1px solid #464646;  
}

#pomoc .file-preview {
    font-size: 12px;
}

#pomoc .chat-input-area {
    padding-top: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
}

#pomoc .selected-files {
    margin-bottom: 8px;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 12px;
}

#pomoc .selected-files .file-badge {
    display: inline-block;
    background: #e9ecef;
    padding: 2px 8px;
    margin: 2px;
    border-radius: 12px;
}

#pomoc .input-group-custom {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

#pomoc .input-group-custom textarea {
    flex: 1;
    resize: none;
}

#pomoc .btn-attach {
    padding: 8px 12px;
}

@media (max-width: 991px) {
    #pomoc .container-custom {
        height: auto;
    }

    #pomoc .main-row {
        flex: unset;
    }

    #pomoc .chat-wrapper,
    #pomoc .ticket-list {
        max-height: 400px; 
    }
	
    #pomoc .right-panel {
        margin-top: 4%;
        border-left: 0px;
    }

    #pomoc body {
        overflow: auto;
    }
	
}

.card
{
-webkit-box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.39); 
box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.39);
border: 1px solid #b2b2b2;
}

[data-bs-theme="dark"] .card
{
-webkit-box-shadow: 0px 0px 12px 0px #464646; 
box-shadow: 0px 0px 12px 0px #464646;
border: 1px solid #494949;
}

.card-img
{
	transition: transform .2s;
}

.card-img:hover
{
	transform: scale(1.01);
}

.car
{
	transition: transform .2s;
}

.car:hover
{
	transform: scale(1.01);
}