@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #6c63ff;
  --secondary-color: #f5f7fb;
  --color-orange-sunset: #fe7b3f;
  --heading-color: #222222;
  --text-color: #6e7191;
  --input-border-color: #cccccc;
  --input-focus-border-color: #6c63ff;
  --input-focus-shadow: rgba(108, 99, 255, 0.4);
  --color-rose-500: #cc4d65;
  --color-rose-700: #dc3545;
  --color-danger-50: #dc35450f;
  --color-gray-50: #f9f9f9;
  --color-gray-400: #ebebeb;
  --color-gray-500: #757575;
  --color-gray-800: #2d2d2d;
  --color-silver-300: #f5f5f5;
  --color-silver-400: #e5e0e0;
  --color-red-100: #d973440f;
  --color-red-200: #d973444d;
  --color-orange-50: #d973440a;
  --color-orange-100: #fdd9ca;
  --color-orange-150: #d973442b;
  --color-orange-200: #ffeee7;
  --color-orange-250: #fff1eb;
  --color-orange-300: #ffa57c;
  --color-orange-500: #d97344;
  --color-green: #00a33f;
  --color-green-50: #00a33f1a;
  --color-green-200: #00a33f33;
  --color-black: #000000;
  --color-blue-50: #336FFF1A;
  --color-blue-500: #336FFF;
  --color-red-50: #FF02021A;
  --color-red-500: #FF0202;
  --color-amber-50: #E3902B1A;
  --color-amber-500: #E3902B;
  --color-sunset-orange: #E3902B;
  --color-royal-purple: #663CAE;
  --color-ocean-teal: #14B8BB;
  --color-yellow-50:#ffd16621;
}

/* Dark Theme Variable Mapping */
[data-bs-theme="dark"] {
  --primary-color: #8b85ff;

  --secondary-color: #212529;

  --heading-color: #eff2f7;
  --text-color: #adb5bd;

  --input-border-color: #363d43;
  --input-focus-border-color: #8b85ff;
  --input-focus-shadow: rgba(139, 133, 255, 0.35);

  --color-orange-sunset: #ff9b66;

  --color-rose-500: #ff6b88;
  --color-rose-700: #ff5c70;

  --color-danger-50: rgba(220, 53, 69, 0.12);

  --color-gray-50: #1a1d21;
  --color-gray-400: #2e343a;
  --color-gray-500: #8b95a1;
  --color-gray-800: #eff2f7;

  --color-silver-300: #262e35;
  --color-silver-400: #363d43;

  --color-red-100: rgba(217, 115, 68, 0.08);
  --color-red-200: rgba(217, 115, 68, 0.25);

  --color-orange-50: rgba(217, 115, 68, 0.05);
  --color-orange-100: rgba(253, 217, 202, 0.15);
  --color-orange-150: rgba(217, 115, 68, 0.18);
  --color-orange-200: rgba(255, 238, 231, 0.08);
  --color-orange-250: rgba(255, 241, 235, 0.06);
  --color-orange-300: #ffb28c;
  --color-orange-500: #ff9b66;

  --color-green: #25c26e;
  --color-green-200: rgba(37, 194, 110, 0.2);

  --color-black: #ffffff;

  --color-blue-50: rgba(51, 111, 255, 0.15);
  --color-blue-500: #6c8fff;

  /* Optional Bootstrap Sync */
  --bs-body-bg: #1a1d21;
  --bs-body-color: #adb5bd;
  --bs-border-color: #2e343a;
}
/* Table Dark Mode */
[data-bs-theme="dark"] table,
[data-bs-theme="dark"] .table {
  color: #adb5bd !important;
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .table-light,
[data-bs-theme="dark"] .table th,
[data-bs-theme="dark"] .table td {
  background-color: #212529 !important;
}

/* Offcanvas */
[data-bs-theme="dark"] .offcanvas {
  background-color: #212529 !important;
  color: #eff2f7 !important;
}

/* Pagination */
[data-bs-theme="dark"] .page-link {
  background-color: #262e35 !important;
  border-color: #363d43 !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .page-item.active .page-link {
  background-color: #6c63ff !important;
  border-color: #6c63ff !important;
  color: #fff !important;
}

/* Nav Tabs */
[data-bs-theme="dark"] .nav-tabs {
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  background-color: #262e35 !important;
  border-color: #2e343a #2e343a #262e35 !important;
  color: #fff !important;
}

/* Scrollbar */
[data-bs-theme="dark"] ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
  background: #1a1d21;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #363d43;
  border-radius: 10px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #495057;
}

/* Toast */
[data-bs-theme="dark"] .toast {
  background-color: #262e35 !important;
  color: #eff2f7 !important;
  border-color: #2e343a !important;
}

/* Tooltip */
[data-bs-theme="dark"] .tooltip-inner {
  background-color: #363d43 !important;
  color: #fff !important;
}

/* Accordion */
[data-bs-theme="dark"] .accordion-body {
  background-color: #212529 !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .text-black {
  color: var(--heading-color) !important;
}

.hover-arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* Arrow Animation */
.hover-arrow-btn img {
  transition: transform 0.3s ease;
}

.hover-arrow-btn:hover img {
  transform: translateX(6px);
}

.swal2-popup {
  font-family: "Roboto", sans-serif;
}

/* object-fit-img */
.object-fit-contain {
  object-fit: contain;
}

.object-fit-cover {
  object-fit: cover;
}

/* Line Clamp */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text-justify{
    text-align: justify;
}

.z-max {
  z-index: 9999 !important;
}

.max-w-60{
  max-width:60%;
}

@media (max-width: 1400px) {
  .max-w-60{
    max-width: 100% !important;
  }
}

.max-w-64{
  max-width:64%;
}

@media (max-width: 1400px) {
  .max-w-64{
    max-width: 100% !important;
  }
}

.w-110 {
  width: 110px;
}

.w-32 {
  width: 32px;
}

.w-36 {
  width: 36px;
}

.w-28 {
  width: 28px;
}

.w-16 {
  width: 16px;
}

.w-20 {
  width: 20px;
}

.w-28 {
  width: 28px;
}

.w-40 {
  width: 40px;
}

.w-90 {
  width: 90px;
}

.w-180 {
  width: 180px;
}

.w-md-35 {
  width: 35%;
}

.w-md-65 {
  width: 65%;
}

.w-fit {
  width: fit-content;
}

.mw-150 {
  min-width: 150px;
}

.mw-350 {
  max-width: 350px;
}

.mw-440 {
  max-width: 440px;
}

.mw-460 {
  max-width: 460px;
}

.room-pills {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
}

.h-16 {
  height: 16px;
}

.h-15 {
  height: 15px;
}

.h-20 {
  height: 20px;
}

.h-32 {
  height: 32px;
}

.h-40 {
  height: 40px;
}

.h-300 {
  height: 300px;
}

/* Padding */
.pb-60 {
  padding-bottom: 60px;
}

.-mt-54 {
  margin-top: -54px;
}

.cursor-pointer {
  cursor: pointer;
}

.tab-btn {
  border-bottom: 2px solid #d9734414;
}

/* Bottom */
.bottom-minus-22 {
  top: 74px;
}

/* Button */
.btn-rose {
  background-color: #dc3545;
  color: #fff;
  border: none;
}

.btn-rose:hover {
  background-color: #c82333;
  color: #fff;
}

/* Button */
.btn-accept {
  background-color: #dc3545;
  color: #fff;
}

.btn-accept:hover {
  background-color: #c82333;
  color: #fff;
}

.btn-join-us {
  background-color: #f5b238;
}

.btn-join-us:hover {
  background-color: #ffd166;
}

.btn-join-request {
  background-color: #f5b238;
}

.open-btn {
  border: 1px solid #dc3545 !important;
  color: #dc3545;
  transition: all 0.3s ease;
}

.open-btn:hover {
  background-color: #c82333;
  color: #fff;
}

.btn-icon-slide-right i {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Button animate */
.btn-icon-slide-right:hover i {
  transform: translateX(6px);
}

/* Border radius */
.rounded-10 {
  border-radius: 10px !important;
}

.rounded-12 {
  border-radius: 10px !important;
}

.border-rose-700 {
  border: 1px solid var(--color-rose-700);
}

.border-gray-400 {
  border: 1px solid var(--color-gray-400);
}

.border-orange-150 {
  border: 1px solid var(--color-orange-150);
}

.border-red-100 {
  border: 1px solid var(--color-red-100);
}

.border-orange-500 {
  border: 1px solid var(--color-orange-500);
}
.border-orange-300 {
 border-top: 1px solid #D9734433
}

.border-transparent {
  border-color: transparent !important;
}

.community-members-border {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
}

/* Font weight */
.fw-medium {
  font-weight: 500;
}

/* Color */
.orange-sunset {
  color: var(--color-orange-sunset);
}

.text-rose-500 {
  color: var(--color-rose-500);
}

.text-gray-800 {
  color: var(--color-gray-800);
}

.text-silver-400 {
  color: var(--color-silver-400);
}

.text-orange-300 {
  color: var(--color-orange-300);
}

.text-orange-200 {
  color: var(--color-orange-200);
}

.text-green {
  color: var(--color-green);
}

.text-gray-500 {
  color: var(--color-gray-500);
}

.text-rose-700 {
  color: var(--color-rose-700);
}

.text-black {
  color: var(--color-black);
}

.text-blue-500 {
  color: var(--color-blue-500);
}

.text-red-500 {
  color: var(--color-red-500);
}

.text-amber-500 {
  color: var(--color-amber-500);
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #e3902b 0%,
    #cc4d65 33.64%,
    #663cae 67.19%,
    #14b8bb 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-200 {
  background: linear-gradient(90deg, #cc4d65 33.64%, #663cae 67.19%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-line {
  position: relative;
  padding-bottom: 10px;
}

.text-accent-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(217, 115, 68, 0.3) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

.text-summary-line {
  position: relative;
  padding-bottom: 10px;
}

.text-summary-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(217, 115, 68, 0.3) 0%,
    rgba(251, 251, 251, 0.3) 100%
  );
}

.text-danger-line {
  position: relative;
  padding-bottom: 10px;
}

.text-danger-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(220, 53, 69, 0.3) 0%,
    rgba(251, 251, 251, 0.3) 100%
  );
}

.text-danger-line-200 {
  position: relative;
  padding-bottom: 12px;
}

.text-danger-line-200::after {
  content: "";
  position: absolute;
left: 50%;
transform: translateX(-50%);
  bottom: 0;
  width: 360px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(217, 115, 68, 0.3) 50%, rgba(255, 255, 255, 0.3) 100%);

}


/* Remove default border for all form inputs */
input.form-control,
textarea.form-control {
  border: none;
  border-radius: 8px;
  /* Optional: rounded edges */
  box-shadow: none;
  /* Remove default shadow */
  background-color: #f8f9fa;
  /* Optional: light background */
  transition: all 0.3s ease;
  padding: 0.6rem 1rem;
}

/* Focus effect: #6C63FF glow */
input.form-control:focus,
textarea.form-control:focus {
  outline: none;
  /* Remove default outline */
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.5);
  /* Glow shadow */
  border-radius: 8px;
}

/* Shadow-Color*/
.shadow-purple {
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.shadow-input-purple {
  box-shadow: 0 1px 4px rgba(108, 99, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.shadow-orange {
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.25) !important;
}

.modal-content.shadow-orange {
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.25) !important;
}

.shadow-orange-sm {
  box-shadow: 0 1px 4px rgba(255, 165, 0, 0.15);
}

.shadow-orange-md {
  box-shadow: 0 6px 18px rgba(255, 140, 0, 0.35);
}

.shadow-orange-xs {
  box-shadow: 1px 6px 18px 0px #d973443d !important;
}

.shadow-orange-50 {
  box-shadow: 1px 4px 6px 0px #d9734424;
}

.shadow-orange-100 {
  /* box-shadow: 1px 4px 10px 0px #D9734424 !important; */
  box-shadow: 0px 0px 2px 0px #D9734424 !important;

}

.shadow-orange-200 {
  box-shadow: 1px 6px 10px 0px #d9734429;
}

.shadow-sm {
  box-shadow: 1px 6px 12px 0px #0000001f;
}

.shadow-card-soft {
  box-shadow: 0px 0px 8px 0px #00000014;
}

.shadow-black-200 {
  box-shadow: 1px 6px 6px 0px #0000001f;
}

.shadow-gray-200 {
  box-shadow: -1px 6px 10px 0px #00000014;
}

.shadow-red-100 {
  box-shadow: 1px 4px 6px 0px #d973440f;
}

/* Bg-Color*/
.bg-light-primary {
  background-color: #234574 !important;
}

.gradient-primary {
  background: linear-gradient(
    90deg,
    #e3902b -21.97%,
    #cc4d65 35.02%,
    #663cae 72.93%,
    #14b8bb 122.4%
  );
}

.gradient-sunset {
  background: linear-gradient(
    180deg,
    #e3902b -27.49%,
    #cc4d65 15.61%,
    #663cae 85.72%,
    #14b8bb 133.69%
  );
}

.bg-soft-white {
  background-color: #fefcfe;
}

.bg-soft-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bg-soft-gradient {
  background: linear-gradient(
    180deg,
    rgba(250, 237, 250, 1) 0%,
    rgba(245, 234, 251, 1) 30%,
    rgba(238, 230, 252, 1) 70%,
    rgba(20, 184, 187, 0.06) 100%
  );
}

/* .bg-soft-gradient {
  background: linear-gradient(180deg,
      rgba(227, 144, 43, 0.06) -27.49%,
      rgba(204, 77, 101, 0.06) 15.61%,
      rgba(102, 60, 174, 0.06) 85.72%,
      rgba(20, 184, 187, 0.06) 133.69%);
} */

.bg-gradient-soft-100 {
  background: linear-gradient(
    180deg,
    rgba(227, 144, 43, 0.08) -27.49%,
    rgba(204, 77, 101, 0.08) 15.61%,
    rgba(102, 60, 174, 0.08) 85.72%,
    rgba(20, 184, 187, 0.08) 133.69%
  );
}

.bg-gradient-soft-200 {
  background: linear-gradient(
    90deg,
    rgba(227, 144, 43, 0.6) -21.97%,
    rgba(204, 77, 101, 0.6) 35.02%,
    rgba(102, 60, 174, 0.6) 72.93%,
    rgba(20, 184, 187, 0.6) 122.4%
  );
}

.bg-gradient-light {
  background: linear-gradient(
    180deg,
    rgba(227, 144, 43, 0.06) -27.49%,
    rgba(204, 77, 101, 0.06) 15.61%,
    rgba(102, 60, 174, 0.06) 85.72%,
    rgba(20, 184, 187, 0.06) 133.69%
  );
}

.bg-danger-50 {
  background-color: var(--color-danger-50);
}

.bg-red-100 {
  background-color: var(--color-red-100);
}

.bg-red-200 {
  background-color: var(--color-red-200);
}

.bg-orange-sunset {
  background-color: var(--color-orange-sunset);
}

.bg-rose-500 {
  background-color: var(--color-rose-500);
}

.bg-silver-400 {
  background-color: var(--color-silver-400);
}

.bg-silver-300 {
  background-color: var(--color-silver-300);
}

.bg-orange-100 {
  background-color: var(--color-orange-100);
}

.bg-orange-200 {
  background-color: var(--color-orange-200);
}

.bg-orange-250 {
  background-color: var(--color-orange-250);
}

.bg-orange-50 {
  background-color: var(--color-orange-50);
}

.bg-green-50 {
  background-color: var(--color-green-50);
}

.bg-green-200 {
  background-color: var(--color-green-200);
}

.bg-orange-50 {
  background-color: var(--color-orange-50) !important;
}

.bg-gray-400 {
  background-color: var(--color-gray-400);
}

.bg-gray-50 {
  background-color: var(--color-gray-50);
}

.bg-rose-700 {
  background-color: var(--color-rose-700);
}

.bg-blue-50 {
  background-color: var(--color-blue-50);
}

.bg-red-50 {
  background-color: var(--color-red-50);
}
.bg-red-500 {
  background-color: var(--color-red-500);
}

.bg-amber-50 {
  background-color: var(--color-amber-50);
}
.bg-sunset-orange{
    background-color: var(--color-sunset-orange);
}
.bg-royal-purple{
    background-color: var(--color-royal-purple);
}
.bg-ocean-teal{
    background-color: var(--color-ocean-teal);
}
.bg-yellow-50{
  background-color: var(--color-yellow-50);
}

/* Color */

/* Border-Color*/
.border-primary {
  border: 1px solid #6c63ff !important;
}

.border-light-primary {
  border: 1px solid #e5e5e5 !important;
}

.border-light-primary:hover {
  border: 1px solid #6c63ff !important;
}

.border-orange-sunset {
  border: 1px solid var(--color-orange-sunset);
}

/* Border-Radius */
.rounded-16 {
  border-radius: 16px;
}

.room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .room-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.create-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .create-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .create-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.register-bg {
  background-image: url("/assets/images/create-user.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.chat-wrapper {
  position: relative;
}

.chat-user {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/assets/images/create-user.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Optional overlay for better readability */
.chat-user::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.responsive-text {
  color: #fff;
}

.popup-card {
  height: 400px;
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .popup-card {
    height: 250px;
  }
}

.popup-card::-webkit-scrollbar {
  width: 2px;
}

.popup-card::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.popup-card::-webkit-scrollbar-thumb {
  background: #fe7b3f;
  border-radius: 10px;
}

.popup-card::-webkit-scrollbar-thumb:hover {
  background: #fe7b3f;
}



.signup-card {
  height: 450px;
  overflow-y: auto;
}

.signup-card::-webkit-scrollbar {
  width: 2px;
}

.signup-card::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.signup-card::-webkit-scrollbar-thumb {
  background: #fe7b3f;
  border-radius: 10px;
}

.signup-card::-webkit-scrollbar-thumb:hover {
  background: #fe7b3f;
}

.select2-container--open {
  background-color: #fff !important;
}

.custome-tab-scroll::-webkit-scrollbar {
  height: 3px;
}

.custome-tab-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custome-tab-scroll::-webkit-scrollbar-thumb {
  background: #fe7b3f;
  border-radius: 10px;
}

.custome-tab-scroll::-webkit-scrollbar-thumb:hover {
  background: #fe7b3f;
}


@media (max-width: 575.98px) {
  .custom-video-w {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .responsive-text {
    color: #000;
  }

  .signup-card {
    height: auto;
    max-height: 55vh;
  }
}

/* Smooth Transitions for Professional Feel */
body,
.side-menu,
.chat-leftsidebar,
.user-chat,
.card,
.modal-content,
.nav-link,
.btn,
.achievement-card,
.achievement-info,
.achievement-name,
.text-dark,
.text-muted {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

/* Dark Mode Overrides */
[data-bs-theme="dark"] {
  --bs-body-bg: #1a1d21;
  --bs-body-color: #adb5bd;
  --bs-light: #212529;
  --bs-dark: #f8f9fa;
  --bs-border-color: #2e343a;

  --secondary-color: #212529;
  --heading-color: #eff2f7;
  --text-color: #a6b0cf;
}

[data-bs-theme="dark"] .dark-gray-img {
  filter: grayscale(100%) brightness(0.7);
}

[data-bs-theme="dark"] .bg-soft-gradient {
  background: linear-gradient(
    180deg,
    rgba(227, 144, 43, 0.03) -27.49%,
    rgba(204, 77, 101, 0.03) 15.61%,
    rgba(102, 60, 174, 0.03) 85.72%,
    rgba(20, 184, 187, 0.03) 133.69%
  );
}

[data-bs-theme="dark"] .text-dark {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .achievement-card {
  background: #262e35 !important;
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .achievement-name {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .achievement-prog-container {
  background: #2e343a !important;
}

[data-bs-theme="dark"] .card {
  background-color: #262e35;
  border-color: #2e343a;
}

[data-bs-theme="dark"] .modal-content {
  background-color: #262e35;
  border-color: #2e343a;
}

[data-bs-theme="dark"] .form-control {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
  border-color: #363d43 !important;
}

/* Ensure sidebar icons look good in dark mode */
[data-bs-theme="dark"] .side-menu .nav-link {
  color: rgba(255, 255, 255, 0.6);
}

[data-bs-theme="dark"] .side-menu .nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Dark Mode Overrides for Consistency */
[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .layout-wrapper,
[data-bs-theme="dark"] .main-content-area,
[data-bs-theme="dark"] .user-chat,
[data-bs-theme="dark"] .user-chat-topbar,
[data-bs-theme="dark"] .chat-leftsidebar,
[data-bs-theme="dark"] .tab-pane,
[data-bs-theme="dark"] .card-body,
[data-bs-theme="dark"] .modal-body {
  background-color: #1a1d21 !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .user-chat-topbar,
[data-bs-theme="dark"] .bg-white.rounded-4,
[data-bs-theme="dark"] .bg-white.chat-card,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content {
  background-color: #212529 !important;
  background: #212529 !important;
  color: #adb5bd !important;
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .bg-gradient-light,
[data-bs-theme="dark"] .bg-soft-gradient {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
}

[data-bs-theme="dark"] .text-gray-800,
[data-bs-theme="dark"] .text-dark,
[data-bs-theme="dark"] .font-size-44.text-dark,
[data-bs-theme="dark"] .font-size-18.text-dark,
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5 {
  color: #eff2f7 !important;
}

/* Interactive Elements */
[data-bs-theme="dark"] .filter-pill {
  background-color: #2e343a;
  color: #adb5bd;
}

[data-bs-theme="dark"] .filter-pill.active-filter {
  background-color: #6c63ff;
  color: #fff;
}

[data-bs-theme="dark"] .dropdown-menu {
  background-color: #262e35;
  border-color: #2e343a;
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: #2e343a;
  color: #fff;
}

[data-bs-theme="dark"] .message_form__input,
[data-bs-theme="dark"] .form-control {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
}

/* Final Polish: Sidebar Hover & Contrast Fixes */
[data-bs-theme="dark"] .side-menu .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .chat-user-list li a:hover,
[data-bs-theme="dark"] .chat-list li a:hover {
  background-color: #2e343a !important;
}

[data-bs-theme="dark"] .chat-user-list li.active a,
[data-bs-theme="dark"] .chat-list li.active a {
  background-color: #363d43 !important;
  border-left: 3px solid #6c63ff;
}

[data-bs-theme="dark"] .room-card {
  background-color: #262e35 !important;
  border: 1px solid #2e343a;
}

[data-bs-theme="dark"] .room-card:hover {
  background-color: #2e343a !important;
}

[data-bs-theme="dark"] .message_form__input::placeholder {
  color: #6c757d !important;
}

[data-bs-theme="dark"] .bg-soft-success {
  background-color: rgba(40, 167, 69, 0.2) !important;
}

[data-bs-theme="dark"] .bg-soft-danger {
  background-color: rgba(220, 53, 69, 0.2) !important;
}

[data-bs-theme="dark"] .bg-soft-primary {
  background-color: rgba(108, 99, 255, 0.2) !important;
  color: #6c63ff !important;
}

/* Fix for Image 4: Selected Room background */
[data-bs-theme="dark"] .chat-user-list li.active,
[data-bs-theme="dark"] .chat-list li.active {
  background-color: #262e35 !important;
}

[data-bs-theme="dark"] .chat-user-list li.active * {
  color: #eff2f7 !important;
}

/* Professional Chat & Contact Refinements */
[data-bs-theme="dark"] .chat-input-section {
  background-color: #1a1d21 !important;
  border-top: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .chat-input-links {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .contact-list li .contact-list-title {
  color: #6c63ff !important;
  background-color: rgba(108, 99, 255, 0.05) !important;
  padding: 4px 12px !important;
  border-radius: 4px;
}

[data-bs-theme="dark"] .contact-list li a {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .contact-list li a:hover {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
}

.avatar-title img {
  width: 60%;
}

.start-text {
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 23px;
}

/* Ensure sub-list headers are subtle */
[data-bs-theme="dark"] .p-3.fw-semibold.text-uppercase.font-size-12.text-muted {
  color: #6c757d !important;
  background-color: #16191c !important;
  margin-top: 10px;
}

/* Overall Chat Page Consistency */
[data-bs-theme="dark"] .user-chat-topbar {
  border-bottom: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .chat-conversation li .chat-list .conversation-list {
  background-color: #262e35 !important;
  color: #eff2f7 !important;
}

[data-bs-theme="dark"]
  .chat-conversation
  li
  .chat-list
  .conversation-list
  .ctext-wrap {
  background-color: #262e35 !important;
  border: 1px solid #2e343a;
}

/* Professional Contact List & Chat Input Fixes */
.hover-bg-light:hover {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

[data-bs-theme="dark"] .hover-bg-light:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .first-letter-group .text-primary {
  color: #6c63ff !important;
  background-color: rgba(108, 99, 255, 0.1) !important;
}

[data-bs-theme="dark"] .contact-list li a:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Ensure selected contact is visible */
[data-bs-theme="dark"] .contact-list li.active a {
  background-color: rgba(108, 99, 255, 0.15) !important;
  color: #fff !important;
}

/* Fix chat input section contrast */
[data-bs-theme="dark"] .chat-input-section {
  background-color: #1a1d21 !important;
  border-top: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .chat-input-section .bg-white {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .chat-input-section .form-control {
  background-color: #2e343a !important;
  border-color: #363d43 !important;
  color: #eff2f7 !important;
}

/* Wallet & KYC Dark Mode Fixes */
[data-bs-theme="dark"] #walletContentSection,
[data-bs-theme="dark"] #kycContentSection {
  background-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .list-group-item {
  background-color: transparent !important;
  color: #adb5bd !important;
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .list-group-item:hover {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .input-group-text {
  background-color: #2e343a !important;
  border-color: #363d43 !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .alert-info {
  background-color: rgba(13, 110, 253, 0.15) !important;
  border-color: rgba(13, 110, 253, 0.3) !important;
  color: #6ea8fe !important;
}

[data-bs-theme="dark"] .alert-success {
  background-color: rgba(25, 135, 84, 0.15) !important;
  border-color: rgba(25, 135, 84, 0.3) !important;
  color: #75b798 !important;
}

[data-bs-theme="dark"] .alert-warning {
  background-color: rgba(255, 193, 7, 0.15) !important;
  border-color: rgba(255, 193, 7, 0.3) !important;
  color: #ffda6a !important;
}

[data-bs-theme="dark"] .alert-danger {
  background-color: rgba(220, 53, 69, 0.15) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
  color: #ea868f !important;
}

[data-bs-theme="dark"] .form-select {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
  border-color: #363d43 !important;
}

[data-bs-theme="dark"] .preview-box {
  background-color: #262e35 !important;
  border-color: #2e343a !important;
}

[data-bs-theme="dark"] .fund-status-success {
  background-color: rgba(25, 135, 84, 0.2) !important;
  color: #75b798 !important;
}

[data-bs-theme="dark"] .fund-status-pending {
  background-color: rgba(255, 193, 7, 0.2) !important;
  color: #ffda6a !important;
}

[data-bs-theme="dark"] .fund-status-danger {
  background-color: rgba(220, 53, 69, 0.2) !important;
  color: #ea868f !important;
}

.camera-icon-wrapper {
  background-color: #726cfe;
}

.camera-icon-wrapper i {
  color: #fff;
}

/* Professional avatar placeholders */
[data-bs-theme="dark"] .avatar-title.bg-soft-primary,
[data-bs-theme="dark"] .receiver_img .avatar-title {
  background-color: #f8f9fa !important;
  color: #6c63ff !important;
}

[data-bs-theme="dark"] .camera-icon-wrapper {
  background-color: #f8f9fa !important;
}

[data-bs-theme="dark"] .camera-icon-wrapper i {
  color: #6c63ff !important;
}

/* Professional UI: Loader & Welcome Screen Fixes */
[data-bs-theme="dark"] .loader_bg,
[data-bs-theme="dark"] .chat-loader-section {
  background-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .chat-welcome-section {
  background-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .chat-welcome-section .avatar-title.bg-white {
  background-color: transparent !important;
}

[data-bs-theme="dark"] .chat-welcome-section h4 {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .search-box .form-control {
  background-color: #2e343a !important;
  border: none !important;
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .search-box .input-group-text,
[data-bs-theme="dark"] .search-box .btn-link {
  background-color: #2e343a !important;
  border: none !important;
  color: #adb5bd !important;
}

/* Professional Contact Redesign Fixes */
.text-dark-mode-fix {
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .text-dark-mode-fix {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .dropdown-toggle i {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .dropdown-toggle:hover i {
  color: #eff2f7 !important;
}

/* Fix for decoupling: ensure hover applies to the whole row div */
.hover-bg-light {
  cursor: pointer;
}

.hover-bg-light a {
  color: inherit;
}

/* User Profile Sidebar Dark Mode Fixes */
[data-bs-theme="dark"] .user-profile-sidebar {
  background-color: #1a1d21 !important;
  border-left: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .border-bottom {
  border-bottom: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .text-center.p-4 {
  background-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .user-profile-desc {
  background-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .accordion-item {
  background-color: #262e35 !important;
  border: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .accordion-button {
  background-color: #262e35 !important;
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .accordion-button:not(.collapsed) {
  background-color: #2e343a !important;
}

[data-bs-theme="dark"] .group_receiverData {
  background-color: #262e35 !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .group_receiverData h5 {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .nav-btn {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .nav-btn:hover {
  color: #eff2f7 !important;
}

/* Professional Profile Sidebar Polish */
[data-bs-theme="dark"] .user-profile-sidebar .receiver_name {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .user-profile-sidebar .receiver_status {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .user-profile-sidebar hr {
  border-top-color: #2e343a !important;
}

/* Dark Mode Emoji Picker Refinements */
[data-bs-theme="dark"] .fg-emoji-picker {
  background-color: #262e35 !important;
  border: 1px solid #2e343a !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-categories {
  background-color: #1a1d21 !important;
  border-bottom: 1px solid #2e343a !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-container-title {
  color: #eff2f7 !important;
  font-weight: 600 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-search input {
  background-color: #2e343a !important;
  color: #eff2f7 !important;
  border: 1px solid #363d43 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-search svg {
  fill: #adb5bd !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-grid > li {
  background-color: #262e35 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-grid > li:hover {
  background-color: #3e4a56 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-categories li.active,
[data-bs-theme="dark"] .fg-emoji-picker-categories a:hover {
  background-color: #3e4a56 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-categories svg,
[data-bs-theme="dark"] .fg-emoji-picker-categories li a svg g path,
[data-bs-theme="dark"] .fg-emoji-picker-categories li a svg g g path {
  fill: #adb5bd !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-close-button {
  background-color: #363d43 !important;
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .fg-emoji-picker-close-button svg {
  fill: #eff2f7 !important;
}

/* Premium Azar-style Permission Popup */
#permissionPopup {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  background: #1a1d21;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  width: 320px;
  display: flex;
  flex-direction: column;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#permissionPopup.show {
  transform: translateX(0);
}

#permissionPopup .popup-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#permissionPopup .popup-header .domain {
  color: #eff2f7;
  font-weight: 600;
  font-size: 14px;
}

#permissionPopup .popup-header .popup-close {
  cursor: pointer;
  color: #adb5bd;
  font-size: 18px;
}

#permissionPopup .popup-body {
  padding: 20px;
}

#permissionPopup .device-stats {
  margin-bottom: 15px;
}

#permissionPopup .device-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #adb5bd;
  font-size: 12px;
  margin-bottom: 8px;
}

#permissionPopup .device-stat i {
  font-size: 16px;
}

#permissionPopup .preview-area {
  width: 100%;
  height: 160px;
  background: #262e35;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6e7191;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#permissionPopup .preview-area i {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.5;
}

#permissionPopup .preview-area .preview-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#permissionPopup .popup-footer {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#permissionPopup .btn-premium {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

#permissionPopup .btn-allow {
  background: #fe7b3f;
  color: white;
}

#permissionPopup .btn-allow:hover {
  background: #e66a2f;
}

#permissionPopup .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #eff2f7;
}

#permissionPopup .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Force message options dropdown to be visible on all screen sizes */
.chat-conversation .conversation-list .dropdown .dropdown-toggle {
  display: block !important;
}

/* SweetAlert2 Dark Mode Polish */
[data-bs-theme="dark"] .swal2-popup {
  background: #262e35 !important;
  color: #eff2f7 !important;
  border: 1px solid #363d43 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .swal2-title,
[data-bs-theme="dark"] .swal2-content,
[data-bs-theme="dark"] .swal2-html-container {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .swal2-footer {
  border-top-color: #2e343a !important;
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .swal2-loader {
  border-color: #7269ef transparent #7269ef transparent !important;
}

[data-bs-theme="dark"] .swal2-timer-progress-bar {
  background: #7269ef !important;
}

[data-bs-theme="dark"] .swal2-confirm {
  background-color: #7269ef !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .swal2-cancel {
  background-color: #ef476f !important;
}

[data-bs-theme="dark"] .swal2-success-circular-line-left,
[data-bs-theme="dark"] .swal2-success-circular-line-right,
[data-bs-theme="dark"] .swal2-success-fix {
  background-color: #262e35 !important;
}

[data-bs-theme="dark"] .swal2-container.swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
}

/* Reaction Floating Pill Design - Refined */
.reaction-container {
  position: absolute;
  bottom: -14px;
  background: var(--bs-white);
  border: 1px solid var(--bs-border-color);
  border-radius: 30px;
  /* More pill-like */
  padding: 2px 8px;
  /* Balanced padding */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  /* More professional shadow */
  z-index: 15;
  /* Higher z-index to avoid overlap from dropdown area */
  display: flex !important;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  width: fit-content;
  /* Critical: prevent stretching */
  transition: all 0.2s ease;
  user-select: none;
  pointer-events: auto !important;
  /* Ensure it captures clicks */
  cursor: pointer;
}

.reaction-container.empty {
  display: none !important;
}

.reaction-container .badge {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 500;
  line-height: 1;
}

/* Positioning: Move pills away from the bubble's tail/avatar side for professional look */

/* Receiver Messages (Left Side) - Pill on bottom-right */
.user-chat-content .ctext-wrap-content .reaction-container {
  left: auto;
  right: 10px;
}

/* Sender Messages (Right Side) - Pill on bottom-left */
.right .user-chat-content .ctext-wrap-content .reaction-container {
  right: auto;
  left: 10px;
}

/* Dark Mode support */
[data-bs-theme="dark"] .reaction-container {
  background-color: #262e35;
  border-color: #2e343a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .reaction-container .text-dark {
  color: #eff2f7 !important;
}

/* Smooth transitions for typing indicators */
.chat_typing_ {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing text in sidebar */
.typing .text-success {
  font-size: 11px;
  font-style: italic;
}

.sidberr-aress {
  width: 100%;
  max-width: 130px;
}

a#createCommunityBtn i {
  background: linear-gradient(
    180deg,
    #e3902b -27.49%,
    #cc4d65 15.61%,
    #663cae 85.72%,
    #14b8bb 133.69%
  );
  color: #fff;
  border-radius: 20px;
  font-size: 25px;
}

.user-chat-nav.float-end {
  margin-bottom: 36px;
}

/* User Verified Badge Styles */
.user-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #0095f6;
  /* Standard Verified Blue */
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.user-verified-badge:hover {
  transform: scale(1.1);
}

/* Size variations for badges */
.avatar-xs .user-verified-badge {
  width: 13px;
  height: 13px;
  bottom: -1px;
  right: -1px;
  border-width: 1px;
}

.avatar-xs .user-verified-badge i {
  font-size: 9px;
  color: #fff;
  font-weight: bold;
}

.avatar-sm .user-verified-badge {
  width: 16px;
  height: 16px;
  bottom: 0px;
  right: 0px;
}

.avatar-sm .user-verified-badge i {
  font-size: 11px;
  color: #fff;
}

.avatar-md .user-verified-badge {
  width: 20px;
  height: 20px;
  bottom: 2px;
  right: 2px;
}

.avatar-md .user-verified-badge i {
  font-size: 14px;
  color: #fff;
}

.avatar-lg .user-verified-badge {
  width: 26px;
  height: 26px;
  bottom: 4px;
  right: 4px;
  border-width: 2px;
}

.avatar-lg .user-verified-badge i {
  font-size: 18px;
  color: #fff;
}

[data-bs-theme="dark"] .user-verified-badge {
  border-color: #2a2f34;
}

.messageList.mt-3 {
  padding: 10px 31px;
}

/* custom class scrollbar */

.custom-scrollbar::-webkit-scrollbar {
  width: 0px !important;
}

/* 
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555;
} */

.ctext-wrap-content {
  max-width: 900px;
}

.labbel-name {
  font-size: 13px;
}

.btn-soft-danger {
  background-color: rgba(220, 53, 69, 0.08);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 10px;
}
.cropper-container {
  width: 100% !important;
}

.floating-rewards-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(135deg, #726cfe 0%, #ffa57c 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(114, 108, 254, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Hide button when chat is open */
body.conversation-active .floating-rewards-btn {
  display: none !important;
}

.rewards-notification {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

@media (max-width: 768px) {
  .floating-rewards-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
  }
  .floating-rewards-btn span {
    display: none;
  }
  .floating-rewards-btn i {
    font-size: 18px;
    margin: 0;
  }
}

.responsive-carousel-img {
  height: 40vh;
  object-fit: cover;
}

@media (max-width: 768px) {
  .responsive-carousel-img {
    height: 35vh;
  }
}

@media (max-width: 480px) {
  .responsive-carousel-img {
    height: 25vh;
  }
}

/* Mention Auto-complete Styles */
.mention-list-container {
  position: absolute;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 200px;
  overflow-y: auto;
  z-index: 10000;
  min-width: 250px;
  left: 280px !important;
  transform: none !important;
  right: auto !important;
}

.mention-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mention-list-item:hover {
  background-color: var(--color-orange-50);
}

.mention-list-item.active {
  background-color: var(--color-orange-100);
}

.mention-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mention-avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.mention-info {
  flex: 1;
}

.mention-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
}

.mention-email {
  font-size: 11px;
  color: var(--text-color);
}

/* Highlight mentioned text in comment */
.mention-highlight {
  background-color: rgba(235, 117, 6, 0.2);
  border-radius: 4px;
  padding: 0 2px;
  color: var(--color-orange-sunset);
  font-weight: 500;
  cursor: pointer;
}

.mention-highlight:hover {
  background-color: rgba(254, 123, 63, 0.3);
  text-decoration: underline;
}
.contact-list li .contacts-profile {
    position: relative;
    display: block;
    padding: 15px 15px;
    color: var(--bs-secondary-color);
    -webkit-transition: all .4s;
    transition: all .4s;
    border-top: 1px solid var(--bs-sidebar-sub-bg);
    border-radius: 8px;
    margin-top: 6px;
}


 /* .contact-list li.active .contacts-profile {
    background-color: var(--bs-white);
    box-shadow: 1px 1px 10px 0px #0000000F;
}

.contact-list li .contacts-profile {
    position: relative;
    display: block;
    padding: 15px 15px;
    color: var(--bs-secondary-color);
    -webkit-transition: all .4s;
    transition: all .4s;
    border-top: 1px solid var(--bs-sidebar-sub-bg);
    border-radius: 8px;
    margin-top: 6px;
} */
.channel-comment-text{
    word-break: break-word;
    overflow-wrap: break-word;
}