.scrollable-content {
  max-height: 300px; /* Adjust as needed */
  overflow-y: auto;
}
.custom-radius-bottom {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}
.button-text:hover{
  font-weight: 600;
}

html, body, * {
  scrollbar-width: thin !important;
  scrollbar-color: #b0b0b0 #ffffff !important;
}

*::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

*::-webkit-scrollbar-track {
  background: #ffffff !important;
}

*::-webkit-scrollbar-thumb {
  background-color: #b0b0b0 !important;
  border-radius: 10px !important;
  border: 2px solid #ffffff !important;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #808080 !important;
}

[data-bs-theme="dark"] {
  scrollbar-width: thin !important;
  scrollbar-color: #555 #1e1e1e !important;
}

[data-bs-theme="dark"] *::-webkit-scrollbar-track {
  background: #1e1e1e !important;
}

[data-bs-theme="dark"] *::-webkit-scrollbar-thumb {
  background-color: #555 !important;
  border-radius: 10px !important;
  border: 2px solid #1e1e1e !important;
}

[data-bs-theme="dark"] *::-webkit-scrollbar-thumb:hover {
  background-color: #888 !important;
}

[data-bs-theme="dark"] #chat-messages {
  scrollbar-width: thin !important;
  scrollbar-color: #555 #1e1e1e !important;
}

[data-bs-theme="dark"] #chat-messages::-webkit-scrollbar-track {
  background: #1e1e1e !important;
}

[data-bs-theme="dark"] #chat-messages::-webkit-scrollbar-thumb {
  background-color: #555 !important;
  border-radius: 10px !important;
  border: 2px solid #1e1e1e !important;
}

[data-bs-theme="dark"] #chat-messages::-webkit-scrollbar-thumb:hover {
  background-color: #888 !important;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease-in-out;
}
.bg-blurred{
	background: hsla(0, 0%, 100%, 0.08) !important;
    backdrop-filter: blur(2px) !important;
}
.bg-blurred-dark {
  background: rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(2px);
}
.profile-tab-button{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}.form-control:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 5px rgba(92, 184, 92, 0.5);
}
.btn-primary {
    border-radius: 50px;
    padding: 15px;
    font-size: 1.2rem;
    background-color: #007bff;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #0056b3;
}
.btn-tab {
    font-size: 1rem;
    background: hsla(0, 0%, 100%, 0.08);
    backdrop-filter: blur(2px);
    border:1px solid transparent;
    border-radius: 8px;
    padding: 8px 16px;
}
[data-bs-theme="dark"] .btn-tab {
  background-color: transparent;
}
.btn-tab.active{
    background: rgba(0, 0, 0, 0.03);
    border:1px solid transparent;
    backdrop-filter: blur(2px);
    border-radius: 8px 8px 0px 0px;
    padding: 8px 16px;
}
[data-bs-theme="dark"] .btn-tab.active {
  background-color: rgb(255 255 255 / 9%);
  backdrop-filter: blur(2px);
}
.invalid-feedback {
    color: red;
    font-size: 0.9rem;
}
.alert {
    margin-top: 20px;
    border-radius: 8px;
    padding: 15px;
}
.alert-dismissible {
    padding-right: 35px;
}
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.4rem;
    color: #000;
}
[data-bs-theme="dark"] .user-profile-card {
  background-color: rgb(255 255 255 / 9%);
  backdrop-filter: blur(2px);
}
@media (min-width:1900px){
   html {
      transform-origin: top center;
      overflow-x:hidden;
   }
  header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
	}
}
.h-160px{
    height: 160px;
}
#leftsidebar {
   	background: hsla(0, 0%, 100%, 0.08); 
    backdrop-filter: blur(2px);
}
@media (max-width: 992px){
  	[data-bs-theme="light"] #leftsidebar {
       background-color: white;
    }
   [data-bs-theme="dark"] #leftsidebar {
    	background-color: black;
  	}
 }
@media (max-width: 1200px) {
    .langlist{
        left: -20px !important;
    }
    #bd-theme{
        left: -35px !important;
    }
    .registration-card{
        height:350px;
        overflow-y: auto;
	}
}
@media (max-width: 768px) {
  .full-label {
    display: none;
  }
  .short-label {
    display: inline;
  }
}
@media (min-width: 769px) {
  .short-label {
    display: none;
  }
}
@media (max-width: 472px) {
  .footer-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-flex .nav {
    flex-direction: column;
    align-items: center;
  }
  .footer-flex .font-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
}
.font-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px;
  font-family: sans-serif;
}
.font-control a {
  padding: 0px 6px;
  border: 1px solid #888;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 100;
  cursor: pointer;
}
.font-control input[type="range"] {
  width: 120px;
}
.news-margin{
   	margin-top: 80px !important;
}
@media (max-width: 768px){
	.header-container{
    	max-width: 650px !important;
    }
}

@media (max-width: 668px){
	.header-container{
        justify-content: center;
        padding-left:50px !important;
        padding-right:50px !important;
        display: contents !important;
    }
    .news-margin{
    	margin-top: 60px !important;
    }
}
.chat-dropdown-menu {
  background-color: #fff;
  border-radius: 0.375rem; /* rounded corners */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #212529;
  border: 1px solid #ddd;
  z-index: 1050;
  margin-top: 0.5rem;
}

.chat-dropdown-menu li {
  list-style: none;
}
[data-bs-theme="light"] .chat-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.15s ease, border-left-color 0.15s ease;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.chat-dropdown-item:hover,
.chat-dropdown-item:focus {
  background-color: #f8f9fa;
  border-left-color: #0d6efd; /* bootstrap primary blue */
  color: #0d6efd;
  outline: none;
}
.notif{
	width: 350px;
  left: -150px !important;
  top: 50px !important;
}
@media (max-width: 700px) {
    .notif {
        width: 90% !important;
        left: 50% !important;
        top: 52% !important;
        transform: translate(-50%, -50%) !important;
        position: fixed !important;
    }
}
.registration{
	width:400px;
}
.auth{
  top: 55px !important;
}
@media (max-width: 700px){
	.auth{
      width: 90vw !important;
      transform: translate(-50%, -50%) !important;
      top: 47% !important;
      left: 50% !important;
      position: fixed !important;
      height:400px !important;
      overflow-y: auto;
    }
    .registration-open{
    	top: 57% !important;
        width:90vw !important;
    }
    header .user {
      max-width: 430px;
	}
}
.modal-backdrop {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7) !important;
}
.ll-form-label {
  color: black !important;
}
.ll-btn-langloc-outline {
  border-width: 2px;
  border-color: black !important;
  color: black !important;
  background-color: transparent;
  transition: 0.2s ease-in-out;
}
.ll-btn-langloc-outline:hover {
  background-color: #f0f0f0;
  border-color: black !important;
  color: black !important;
}
.ll-btn-langloc-outline:focus,
.ll-btn-langloc-outline:active,
.ll-btn-langloc-outline.focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: black !important;
  background-color: #f0f0f0 !important;
  color: black !important;
}
.ll-dropdown-list {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.ll-loc-btn,
.ll-lang-btn,
.ll-currency-btn {
  color: black !important;
}
.ll-loc-btn:hover,
.ll-lang-btn:hover,
.ll-currency-btn:hover {
  background-color: #ddd !important;
  color: black !important;
  transform: scale(1.02);
  transition: 0.2s;
}
.modal-title {
  color: black !important;
}
[data-bs-theme="dark"] {
  .modal-backdrop {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7) !important;
  }
  .modal-title {
    color: white !important;
  }
   .ll-modal-content {
     background-color: #141517 !important;
     color: #fff;
     border: 1px solid #fff;
   }
   .ll-modal-header {
     border-bottom: 1px solid #333 !important;
   }
   .ll-modal-title {
     color: #ffffff !important;
   }
   .ll-modal-body {
     color: #e0e0e0 !important;
   }
   .ll-form-label {
     color: #e0e0e0 !important;
   }
   .ll-btn-langloc-outline {
     border-color: #bbb !important;
     color: #ddd !important;
     background-color: transparent !important;
   }
   .ll-btn-langloc-outline:hover,
   .ll-btn-langloc-outline:focus,
   .ll-btn-langloc-outline:active {
     background-color: #333 !important;
     border-color: #ccc !important;
     color: #fff !important;
    }
    .ll-dropdown-list {
      background-color: #1e1e1e !important;
      border: 1px solid #444 !important;
      color: #ddd !important;
    }
   .ll-loc-btn,
   .ll-lang-btn,
   .ll-currency-btn {
     color: #ddd !important;
   }
  .ll-loc-btn:hover,
  .ll-lang-btn:hover,
  .ll-currency-btn:hover {
    background-color: #333 !important;
    color: #fff !important;
  }
}
.mobile-only {
	display: none;
}
@media (max-width:700px){
	.bottom-menu-item {
    	display: none !important;
    }
    .mobile-only {
        display: contents;
        width: 100%;
	}
}
    #selectedLangLocText{
    	font-size:15px !important;
    }

  .logo {
    width: 288px;
    max-width: 100%;
    height: auto;
  }
  
  @media (max-width: 1300px){
  	.logo{
	   width: 220px;
 	}
  }

  @media (max-width: 995px) {
    .logo {
      width: 200px;
    }
  }

  @media (max-width: 765px) {
    .logo {
      width: 180px;
    }
  }

@media (max-width: 700px) {
 	.header{
    	position:absolute !important;
    }
	.dropdown-menu{
    	top: 50% !important;
    }
}

@media (max-width: 400px) {
  .header {
    flex-direction:column;
	  align-items:center;
    gap:10px;
  }
}

  .bullet-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    font-size: 11px;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    padding: 0 4px;
    top: -2px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .text {
    flex: 1;
  }

  .text strong {
    font-weight: bold;
  }

  .time {
    font-size: 12px;
    color: gray;
  }

  .status {
    width: 10px;
    height: 10px;
    background: #16a34a;
    border-radius: 50%;
    margin-left: 10px;
  }
  .notification-icon{
    width: 16px;
    position: relative;
    right: 25px;
    top: 10px;
  }
  .notification-bg{
  	background-color: #16a34a1a;
  }
@media (max-width: 991px) {
  #leftsidebar {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      position: fixed;
      z-index: 1050;
      top: 0;
      left: 0;
      height: 100vh;
      background: #fff;
  }

  #leftsidebar.open {
      transform: translateX(0);
  }
}
.fixed-bottom {
    position: fixed !important;
    bottom: 0;
    width: 100%;
    z-index: 1040; 
}
.line{
  align-self:center;
}
.bottom-container{
    gap: 20px;
}
.notification-icon-block{
    position: relative;
    top: 5px;
}
@media(max-width: 400px){
    .notification-icon-block{
        top: 0px;
    }
}
#registration-form {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 25px;
}
[data-bs-theme="dark"] .fieldset-bg {
    background-color: var(--bs-body-bg) !important;
}
.dropdown-menu.show-context {
    display: block !important;
    z-index: 1050;
}
.sender-message-time{
  font-size: 10px;
  align-self: flex-end;
  font-style: italic;
  color: black !important;
}
.receiver-message-time{
  font-size: 10px;
  align-self: flex-end;
  font-style: italic;
  color: black !important;
}
[data-bs-theme="dark"] .sender-message-time {
    color: white !important;
}
[data-bs-theme="dark"] .receiver-message-time {
    color: white !important;
}

#chat-messages {
    display: none;
    scroll-padding-bottom: 1rem;
    min-height: 0;
}

#chat-messages:not(.d-none) {
    display: flex !important;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 6px 16px;
    font-size: 12px;
    transition: border-color 0.2s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #007bff;
}

#chat-messages.no-scroll {
    overflow-y: hidden !important;
    scrollbar-width: none !important;
}

#chat-messages.no-scroll::-webkit-scrollbar {
    display: none !important;
}

@media (max-width: 992px) {
  .notif-icon-line {
    display: flex !important;
  }
}

@media (max-width: 700px) {
  .notif-icon-line {
    display: none !important;
  }
}

.bg-reverse{
  background-color: var(--body-bg-reverse) !important;
  color: var(--body-color-reverse) !important;
}