@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;
}

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

[data-bs-theme="dark"] .group-info-card {
  background: #1a1d21 !important;
  border-color: #1a1d21 !important;
}

[data-bs-theme="dark"] .post-action-item:hover {
  background: transparent;
}
[data-bs-theme="dark"] .post-action-item {
  color:#adb5bd ;
}

/* [data-bs-theme="dark"] .plan-deatils-primary-border-color {
border-color: #8b85ff !important;
} */

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

[data-bs-theme="dark"] .dark-success-white {
  color: #000 !important;
}

[data-bs-theme="dark"] .offer-skills-heading-white {
  color: #fff !important;
}

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

/* promote challange */
[data-bs-theme="dark"] .black-promote-promo-text {
  color: #000 !important;
}

[data-bs-theme="dark"] .red-promote-promo-text {
  color: #c34d4d !important;
}

[data-bs-theme="dark"] .offblack-promotion-text {
  color: #000000c9 !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;
}

.chat-contact-bar {
  /* height: calc(100vh - 280px) */
  height: calc(100vh - 218px);
}

@media (max-width: 991.98px) {
  .chat-contact-bar {
    /* height: calc(100vh - 320px) */
    height: calc(100vh - 284px);
  }
}

.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;
}

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

.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;
}

@media (max-width: 575.98px) {
  .pb-xs-60 {
    padding-bottom: 60px !important;
  }
}

/* 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-150 {
  box-shadow: 0px 0px 6px 0px #d9734424;
}

.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;
  overflow-x: hidden;
  padding-right: 15px;
}

.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;
  }

  .max-500-col {
    flex-direction: column !important;
  }
}

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

  .signup-card {
    height: auto;
    max-height: 55vh;
    padding-right: 10px;
  }
}

/* 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"] .text-dark-black {
  color: #262e35 !important;
}

[data-bs-theme="dark"] .text-dark-black-light {
  color: #262e35 !important;
}

[data-bs-theme="dark"] .text-dark-white {
  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"] .show-your-skills {
  color: #000 !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;
}

[data-bs-theme="dark"] .custome-border-color {
  border: 1px solid #343a40 !important;
}

.text-dark-black-light {
  color: #262e35 !important;
}

.custome-border-color {
  border: 1px solid #dc354524 !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;
}

/* security module */
[data-bs-theme="dark"] .security-updated-design .setting-content h6 {
  color: #eff2f7 !important;
}

[data-bs-theme="dark"] .security-updated-design .setting-item:hover {
  background: #212529;
}

/* 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);
}

/* Hide bottom navigation on mobile when keyboard is open */
@media (max-width: 991.98px) {
  body.keyboard-open .side-menu {
    display: none !important;
  }
}

#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;
}

.text-dark-white {
  color: #eff2f7 !important;
}

@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;
}

.layout-wrapper:has(.user-chat.user-chat-show) .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: 991px) {
  .floating-rewards-btn {
    bottom: 80px;
  }
}

@media (max-width: 768px) {
  .floating-rewards-btn {
    bottom: 75px;
    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 0.4s;
  transition: all 0.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;
}

/* Modal Design */
.preview-modal {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Modal Body */
.preview-image-wrapper {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background Blur */
.preview-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(114, 105, 239, 0.12),
      rgba(255, 140, 66, 0.1));
  backdrop-filter: blur(8px);
  z-index: 1;
}

/* Image Style */
.preview-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.preview-image:hover {
  transform: scale(1.02);
}

/* Gradient Button */
.gradient-primary {
  background: linear-gradient(135deg, #7269ef, #ff8c42);
  transition: all 0.3s ease;
}

.gradient-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(114, 105, 239, 0.35);
}

/* Download Button */
#modalDownloadBtn:hover {
  background: #f5f5f5;
  color: #fff !important;
}

/* Close Button */
.btn-close {
  opacity: 1;
}

/* challenge module  */
#communityTabs .nav-link {
  white-space: nowrap;
}

/* Firefox */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #bdbdbd transparent;
}

/* Chrome, Edge, Safari */
.custom-scrollbar::-webkit-scrollbar {
  height: 1px;
  /* Horizontal scrollbar thickness */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #bdbdbd;
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #8a8a8a;
}

.break-anywhere {
  overflow-wrap: anywhere;
}

/* Shared Post Link Color override (Sender/Right side only) */
li.right a[onclick*="handleSharedPostClick"],
li.right a[onclick*="handleSharedChallengeClick"] {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

li.right a[onclick*="handleSharedPostClick"]:hover,
li.right a[onclick*="handleSharedChallengeClick"]:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Shared Post Link Color override (Receiver/Left side -> Dark Primary) */
li:not(.right) a[onclick*="handleSharedPostClick"],
li:not(.right) a[onclick*="handleSharedChallengeClick"] {
  color: #7f7bf9 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

li:not(.right) a[onclick*="handleSharedPostClick"]:hover,
li:not(.right) a[onclick*="handleSharedChallengeClick"]:hover {
  color: #6962f0 !important;
}

.top-border-contact {
  border-top: 1px solid var(--bs-sidebar-sub-bg);
  border-radius: 8px;
}

button#modalDownloadBtn {
  background-color: #e6ebf5 !important;
  color: #000;
}

button#modalDownloadBtn:hover {
  background-color: #e6ebf5 !important;
  color: #000 !important;
}

.profile-dropdown-menu {
  min-width: 220px;
  padding: 10px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.profile-dropdown-item {
  border-radius: 12px;
  padding: 10px 14px !important;
  color: #343a40 !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.profile-dropdown-item i {
  color: #343a40 !important;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.profile-dropdown-item:hover {
  color: #fe7b3f !important;
  transform: scale(1.05);
}

.profile-dropdown-item:hover i {
  color: #fe7b3f !important;
}

/* Dark Mode */
[data-bs-theme="dark"] .profile-dropdown-item {
  color: #eff2f7 !important;
}

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

[data-bs-theme="dark"] .profile-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

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

.profile-dropdown-divider {
  margin: 8px 0;
  opacity: 0.15;
}

.profile-logout-item:hover {
  background: #fff1f2 !important;
  color: #ef4444 !important;
}

.profile-logout-item:hover i {
  color: #ef4444 !important;
}

[data-bs-theme="dark"] .profile-logout-item:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
}

[data-bs-theme="dark"] .profile-logout-item:hover i {
  color: #f87171 !important;
}

/* ==========================================================================
   iOS & Android Native App Safe Area & Toastr Layout Adjustments
   ========================================================================== */

/* Push down Toastr notifications below the Dynamic Island / Notch on iOS/Android */
.platform-ios #toast-container,
.platform-android #toast-container {
  top: calc(env(safe-area-inset-top) + 55px) !important;
  z-index: 2147483647 !important;
}

@media (max-width: 991.98px) {

  /* Push down fixed page headers on iOS/Android to avoid status bar/notch overlap */
  .platform-ios .user-chat-topbar,
  .platform-android .user-chat-topbar {
    padding-top: calc(env(safe-area-inset-top) + 12px) !important;
  }

  /* Push down the left sidebar tabs header on iOS/Android */
  .platform-ios .chat-leftsidebar,
  .platform-android .chat-leftsidebar {
    padding-top: env(safe-area-inset-top) !important;
  }

  /* Adjust active chat conversation scroll area height and position */
  .platform-ios .chat-conversation,
  .platform-android .chat-conversation {
    margin-top: calc(73px + env(safe-area-inset-top)) !important;
    margin-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    height: calc(100vh - 151px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  }

  /* Extend chat input section background through safe area bottom padding */
  .platform-android .chat-input-section {
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  .platform-ios .chat-input-section {
    padding-bottom: calc(4px + env(safe-area-inset-bottom)) !important;
  }

  /* When the keyboard is visible on iOS, remove safe-area padding to prevent the gap above keyboard */
  html.keyboard-is-visible.platform-ios .chat-input-section {
    padding-bottom: 4px !important;
  }

  /* Compensate main panel scroll heights for the topbar shift */
  .platform-ios div[style*="height: calc(100vh - 91px)"],
  .platform-android div[style*="height: calc(100vh - 91px)"],
  .platform-ios div[style*="height: calc(100vh - 104px)"],
  .platform-android div[style*="height: calc(100vh - 104px)"],
  .platform-ios .main-content-section div.px-4.pb-4.w-100.overflow-auto,
  .platform-android .main-content-section div.px-4.pb-4.w-100.overflow-auto,
  .platform-ios .main-content-area div[style*="height: calc(100vh - 104px)"],
  .platform-android .main-content-area div[style*="height: calc(100vh - 104px)"] {
    height: calc(100vh - 104px - env(safe-area-inset-top)) !important;
  }

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

  /* Shift user profile sidebar down on iOS & Android to clear the notch/status bar */
  .platform-ios .user-profile-sidebar,
  .platform-android .user-profile-sidebar {
    padding-top: env(safe-area-inset-top) !important;
  }

  /* Prevent last list items from being covered by the bottom navigation bar on mobile */
  /* .chat-user-list,
  .group_list,
  .contactList,
  #global-search-results-list,
  .messages__history,
  .permotion__user,
  .challenges__user {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  } */
}

/* Modern Dot Loader */
.dot-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.dot-loader span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation: dotBounce 1.4s ease-in-out infinite both;
}

.dot-loader span:nth-child(1) {
  animation-delay: -0.32s;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dot-loader span:nth-child(2) {
  animation-delay: -0.16s;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.dot-loader span:nth-child(3) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

@keyframes dotBounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Glass Container (optional - for better look) */
.glass-loader-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-bs-theme="dark"] .glass-loader-container {
  background: rgba(26, 32, 44, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loading Text Gradient */
.loading-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 2s linear infinite;
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.custome-iframe {
  width: 100%;
  height: 100vh;
  border: none;
}

.alert-warning-popup {
  border: none !important;
  background-color: transparent !important;
}

/* ===== Channel Promotion Card Styles ===== */

/* 🔹 PINNED Channel Card - Gold Border Only */
.channel-card-pinned {
  /* border: 2px solid #ffd700 !important; */
  background: #ffffff !important;

  position: relative;
  overflow: hidden;
}

.channel-card-pinned .badge.bg-warning {
  background: #ffd700 !important;
  color: #1a1d21 !important;
  font-weight: 600;
  font-size: 8px !important;
  padding: 2px 10px !important;
  border-radius: 20px;
}

/* 🔹 HIGHLIGHTED Channel Card - Red Border Only */
.channel-card-highlighted {
  /* border: 2px solid #ff6b6b !important; */
  background: #ffffff !important;

  position: relative;
  overflow: hidden;
}

.channel-card-highlighted .badge.bg-danger {
  background: #ff6b6b !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 8px !important;
  padding: 2px 10px !important;
  border-radius: 20px;
}

.channel-card-pinned:hover {
  transition: box-shadow 0.3s ease;

  box-shadow:
    0 20px 25px -5px rgba(255, 215, 0, 0.18),
    0 30px 60px rgba(255, 215, 0, 0.25) !important;
}

/* Dark Mode */
[data-bs-theme="dark"] .channel-card-pinned:hover {
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25) !important;
}

.channel-card-highlighted:hover {
  transition: box-shadow 0.3s ease;

  box-shadow:
    0 20px 25px -5px rgba(255, 107, 107, 0.18),
    0 30px 60px rgba(255, 107, 107, 0.25) !important;
}

/* Dark Mode */
[data-bs-theme="dark"] .channel-card-highlighted:hover {
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.25) !important;
}

.explore-card-custome-hover:hover {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  box-shadow: 0 12px 30px rgba(124, 77, 255, 0.22) !important;
}

/* 🔹 Banner Image - Clean */
.channel-card-pinned .position-relative img,
.channel-card-highlighted .position-relative img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #f0f0f0;
}

/* 🔹 Responsive */
@media (max-width: 576px) {

  .channel-card-pinned .position-relative img,
  .channel-card-highlighted .position-relative img {
    height: 120px;
  }
}

.comm-pop-heading {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.btn.btn-sm.btn-rose.text-white.rounded-3.px-3.py-1 {
  color: #fff !important;
}

.chaat-bboxx {
  position: absolute;
  left: 10px;
  margin-top: 5px;
}

label.form-check.chaat-bboxx input {
  background-color: #ccc;
}

.notification-item-section:hover {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-sidebar {
  height: calc(100vh - 200px);
  /* Adjust according to your header/footer */
}

.chat-sidebar .simplebar-content {
  padding: 0 !important;
}

.chat-sidebar .simplebar-track.simplebar-vertical {
  right: 0;
}

@media (max-width: 375px) {
  .comm-pop-heading {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-btnn {
    font-size: 12px !important;
    padding: 9px 14px !important;
  }

  div#creator-channel-blocked-alert {
    margin: 14px 0px !important;
  }

  .exploree-area {
    padding: 20px !important;
  }

  .img-mobile-view {
    height: 100%;
  }

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

  .chat-conversation .right .chat-avatar {
    margin-left: 4px !important;
  }

  .receiver_name {
    display: block;
    max-width: 120px;
    /* adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .message_typing {
    display: flex;
    align-items: center;
  }

  .message_typing i {
    flex-shrink: 0;
  }

  #userProfileBar span.avatar-title.rounded-circle.bg-soft-primary.text-primary.group_img.w-5.h-5 {
    width: 30px !important;
    margin-left: -9px imo !important;
  }
}

.notification-item-section.unread {
  overflow-x: hidden;
}

.notifictionns-lik {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* Small devices */
@media (min-width: 376px) and (max-width: 400px) {
  .comm-pop-heading {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-btnn {
    font-size: 12px !important;
    padding: 9px 14px !important;
  }

  div#creator-channel-blocked-alert {
    margin: 14px 0px !important;
  }

  .exploree-area {
    padding: 20px !important;
  }

  .img-mobile-view {
    height: 100%;
  }
}

/* Small devices */
@media (min-width: 376px) and (max-width: 400px) {
  .comm-pop-heading {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-btnn {
    font-size: 12px !important;
    padding: 9px 14px !important;
  }

  div#creator-channel-blocked-alert {
    margin: 14px 0px !important;
  }

  .exploree-area {
    padding: 20px !important;
  }

  .img-mobile-view {
    height: 100%;
  }

  .notification-item-section.unread {
    overflow-x: hidden;
  }

  .notifictionns-lik {
    overflow-wrap: break-word;
    word-break: break-all;
  }
}

@media (min-width: 401px) and (max-width: 450px) {
  .comm-pop-heading {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-btnn {
    font-size: 12px !important;
    padding: 9px 14px !important;
  }

  div#creator-channel-blocked-alert {
    margin: 14px 0px !important;
  }

  .exploree-area {
    padding: 20px !important;
  }

  .img-mobile-view {
    height: 100%;
  }

  .notification-item-section.unread {
    overflow-x: hidden;
  }

  .notifictionns-lik {
    overflow-wrap: break-word;
    word-break: break-all;
  }
}

@media (min-width: 451px) and (max-width: 500px) {
  .comm-pop-heading {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-btnn {
    font-size: 12px !important;
    padding: 9px 14px !important;
  }

  div#creator-channel-blocked-alert {
    margin: 14px 0px !important;
  }

  .img-mobile-view {
    height: 100%;
  }
}

@media (min-width: 501px) and (max-width: 550px) {
  .img-mobile-view {
    height: 100%;
  }
}

/* ============================================
   Leave Icon Button
   ============================================ */
.leave-icon-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.leave-icon-btn:hover {
  background: #fef2f2;
  color: #dc2626;
  transform: scale(1.15);
  opacity: 1;
}

.leave-icon-btn:active {
  transform: scale(0.9);
}

/* ============================================
   Owner Badge
   ============================================ */
.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.owner-badge i {
  font-size: 10px;
}

/* ============================================
   Open Badge
   ============================================ */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.open-badge i {
  font-size: 9px;
}

/* ============================================
   Active Community Highlight
   ============================================ */
/* #users li.active {
  background: #fff8f5;
  border-left: 3px solid #ff6b35;
  border-radius: 8px;
  padding-left: 8px;
} */

/* #users li.active .community-name {
  color: #ff6b35;
}

#users li {
  padding: 6px 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  list-style: none;
}

#users li:hover {
  background: #fafafa;
}

#users li a {
  text-decoration: none;
  color: inherit;
  width: 100%;
}  */

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .leave-icon-btn {
    font-size: 18px;
    padding: 2px 6px;
  }

  .owner-badge,
  .open-badge {
    font-size: 8px;
    padding: 1px 6px;
  }

  .owner-badge i,
  .open-badge i {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .leave-icon-btn {
    font-size: 16px;
  }

  .owner-badge {
    font-size: 7px;
    padding: 1px 5px;
  }

  .open-badge {
    font-size: 7px;
    padding: 1px 5px;
  }
}

/* Status indicators */
.chat-user-img .user-status.online {
  background: #0ab39c;
  border: 2px solid #fff;
}

.chat-user-img .user-status.offline {
  background: #a6b0c3;
  border: 2px solid #fff;
}

.chat-user-img.busy .user-status {
  background: #a6b0c3;
  border: 2px solid #fff;
}

/* Sender name for group messages - shows only for others, not own messages */
.sender-name {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  padding-left: 4px;
}

/* Hide sender name for your own messages (right side) */
.right .sender-name {
  display: none;
}

/* Dark mode */
[data-bs-theme="dark"] .sender-name {
  color: #a29bfe !important;
}

#attachfile3.hidden-attach-item {
  display: none !important;
}

.align-baseline-custome {
  align-items: baseline !important;
}

.margin-top-custom-22px {
  position: relative;
  top: 35px !important;
}

/* ============================================================ */
/* ========== 🎁 GIFT VOUCHER CSS ========== */
/* ============================================================ */

/* ---------- Gift Icon Wrapper ---------- */
.gift-icon-wrapper {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ---------- Gift Pending Card ---------- */
.gift-pending-card {
  background: linear-gradient(135deg, #fff5e6, #ffe8d0);
  border-radius: 16px;
  padding: 20px 15px;
  border: 2px dashed #ff8c42;
  position: relative;
  overflow: hidden;
}

.gift-pending-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 107, 53, 0.05) 0%,
      transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ---------- Gift Emoji Animations ---------- */
.gift-emoji-wrapper {
  position: relative;
  display: inline-block;
}

.gift-emoji {
  font-size: 48px;
  display: inline-block;
  animation: giftBounce 2s ease-in-out infinite;
}

.gift-sparkle {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 20px;
  animation: sparkle 1.5s ease-in-out infinite;
}

.gift-sparkle-2 {
  position: absolute;
  bottom: -5px;
  left: -15px;
  font-size: 16px;
  animation: sparkle 1.8s ease-in-out infinite 0.5s;
}

@keyframes giftBounce {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

/* ---------- Gradient Text ---------- */
.text-gradient {
  background: linear-gradient(135deg, #ff6b35, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Gift Button ---------- */
.btn-gift-gradient {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white !important;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-gift-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
  color: white !important;
}

.btn-gift-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.btn-gift-outline {
  background: transparent;
  color: #ff6b35;
  border: 2px solid #ff6b35;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gift-outline:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
}

/* ---------- Gift Redeemed Card ---------- */
.gift-redeemed-card {
  background: linear-gradient(135deg, #f0fff4, #e8f5e9);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #a5d6a7;
  transition: all 0.3s ease;
}

.gift-check-animate {
  display: inline-block;
  animation: checkPop 0.5s ease;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.badge-expiry {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
  color: #f57c00;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.gift-progress {
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.gift-progress-bar {
  background: linear-gradient(90deg, #ff6b35, #ffb84d);
  border-radius: 10px;
  transition: width 1s ease;
}

/* ---------- Gift Expired Card ---------- */
.gift-expired-card {
  background: #fff5f5;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #ffcdd2;
}

/* ============================================================ */
/* ========== 🎁 GIFT POPUP CSS ========== */
/* ============================================================ */

.gift-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.gift-popup-container {
  background: white;
  border-radius: 28px;
  max-width: 440px;
  width: 92%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px 25px 25px;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

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

.gift-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.gift-popup-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.gift-popup-icon {
  position: relative;
  display: inline-block;
}

.gift-big-emoji {
  font-size: 64px;
  display: inline-block;
  animation: giftBounce 2s ease-in-out infinite;
}

.gift-big-sparkle {
  position: absolute;
  top: -15px;
  right: -20px;
  font-size: 28px;
  animation: sparkle 1.5s ease-in-out infinite 0.3s;
}

/* ============================================================ */
/* ========== 🎴 SCRATCH CARD CSS ========== */
/* ============================================================ */

.scratch-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.scratch-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.scratch-card-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b35, #ffb84d, #ff6b35);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border-radius: 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.scratch-card-cover .scratch-instruction {
  color: white;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.scratch-card-cover .scratch-instruction i {
  font-size: 44px;
  display: block;
  margin-bottom: 8px;
  animation: scratchPulse 1.5s ease-in-out infinite;
}

.scratch-card-cover .scratch-instruction p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes scratchPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15) rotate(10deg);
    opacity: 1;
  }
}

.scratch-card-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 18px;
}

.scratch-card-reveal.reveal-visible {
  opacity: 1;
}

.reveal-content {
  text-align: center;
  padding: 20px;
}

.reveal-content .text-gradient {
  font-size: 22px;
}

/* ============================================================ */
/* ========== 🎉 SUCCESS MODAL CSS ========== */
/* ============================================================ */

.gift-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.gift-success-modal {
  background: white;
  border-radius: 28px;
  padding: 40px 35px;
  max-width: 380px;
  width: 92%;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.gift-success-icon {
  display: inline-block;
  background: linear-gradient(135deg, #fff5e6, #ffe8d0);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 40px;
}

.gift-success-emoji {
  font-size: 48px;
  display: inline-block;
  animation: giftBounce 2s ease-in-out infinite;
}

.gift-amount-display {
  background: #f0fff4;
  border-radius: 16px;
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #a5d6a7;
}

.gift-amount-display h2 {
  font-size: 42px;
  margin-bottom: 0;
}

.gift-expiry-info {
  background: #fff8e1;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #f57c00;
  font-weight: 500;
}

/* ============================================================ */
/* ========== 📋 IMPROVED GIFT LIST MODAL ========== */
/* ============================================================ */

.gift-list-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}

.gift-list-modal {
  background: white;
  border-radius: 24px;
  padding: 0;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.gift-list-header {
  display: flex;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #fff8f5, #fff0e8);
  position: sticky;
  top: 0;
  z-index: 2;
}

.gift-list-header-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.gift-list-header-icon i {
  color: white;
  font-size: 20px;
}

.gift-list-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gift-list-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #666;
}

.gift-list-close:hover {
  background: rgba(255, 107, 53, 0.15);
  color: #ff6b35;
  transform: rotate(90deg);
}

/* ---------- Items Container ---------- */
.gift-list-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 12px;
  max-height: 55vh;
}

.gift-list-items::-webkit-scrollbar {
  width: 4px;
}

.gift-list-items::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.gift-list-items::-webkit-scrollbar-thumb {
  background: #ff8c42;
  border-radius: 10px;
}

/* ---------- Individual Gift Item ---------- */
.gift-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 14px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  animation: slideInItem 0.4s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
  border: 1px solid transparent;
}

.gift-list-item:hover {
  background: #f5f5f5;
  border-color: #ffe0d0;
  transform: translateX(4px);
}

@keyframes slideInItem {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gift-list-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.gift-list-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #fff5e6;
  border: 2px solid #ffe0d0;
}

.gift-list-item-icon.active {
  background: linear-gradient(135deg, #fff5e6, #ffe8d0);
  border-color: #ffb84d;
  animation: giftBounce 2s ease-in-out infinite;
}

.gift-list-item-icon.expired {
  background: #fff5f5;
  border-color: #ffcdd2;
  opacity: 0.6;
}

.gift-list-item-amount {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

.gift-list-item-currency {
  font-size: 13px;
  font-weight: 400;
  color: #888;
}

.gift-list-item-expiry {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.gift-list-item-expiry i {
  font-size: 14px;
}

.gift-list-item-expiry.text-danger {
  color: #ef5350 !important;
  font-weight: 500;
}

/* ---------- Status Badges ---------- */
.gift-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.gift-status-badge i {
  font-size: 14px;
}

.gift-status-badge.redeemed {
  background: #e8f5e9;
  color: #2e7d32;
}

.gift-status-badge.pending {
  background: #fff8e1;
  color: #f57c00;
}

.gift-status-badge.expired {
  background: #ffebee;
  color: #c62828;
}

/* ---------- Progress Bar ---------- */
.gift-list-progress {
  height: 3px;
  background: #f0f0f0;
  border-radius: 10px;
  margin: -4px 16px 12px 72px;
  overflow: hidden;
}

.gift-list-progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s ease;
}

/* ---------- Footer ---------- */
.gift-list-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.gift-list-footer-btn {
  padding: 10px 40px;
  border: none;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.gift-list-footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
}

.gift-list-footer-btn:active {
  transform: scale(0.97);
}

/* ============================================================ */
/* ========== 🎊 CONFETTI & EMOJI ANIMATIONS ========== */
/* ============================================================ */

.confetti-piece {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(450px) rotate(720deg) scale(0.5);
    opacity: 0;
  }
}

.confetti-emoji {
  position: absolute;
  pointer-events: none;
  z-index: 11;
}

@keyframes emojiPop {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.5) rotate(180deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* ============================================================ */
/* ========== 📱 RESPONSIVE CSS ========== */
/* ============================================================ */

@media (max-width: 576px) {
  .gift-popup-container {
    padding: 20px 15px 20px;
    border-radius: 20px;
    max-width: 95%;
  }

  .scratch-card-wrapper {
    max-width: 220px;
  }

  .gift-success-modal {
    padding: 30px 20px;
  }

  .gift-success-emoji {
    font-size: 36px;
  }

  .gift-amount-display h2 {
    font-size: 32px;
  }

  .gift-popup-close {
    width: 32px;
    height: 32px;
    font-size: 14px;
    top: 10px;
    right: 10px;
  }

  .gift-big-emoji {
    font-size: 48px;
  }

  /* Gift List Mobile */
  .gift-list-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px;
  }

  .gift-list-header {
    padding: 16px 18px 12px;
  }

  .gift-list-title {
    font-size: 17px;
  }

  .gift-list-items {
    padding: 6px 14px 10px;
    max-height: 50vh;
  }

  .gift-list-item {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .gift-list-item-amount {
    font-size: 15px;
  }

  .gift-list-item-expiry {
    font-size: 12px;
  }

  .gift-list-item-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 18px;
  }

  .gift-list-progress {
    margin: -4px 12px 10px 62px;
  }

  .gift-list-footer {
    padding: 12px 16px 16px;
  }

  .gift-list-footer-btn {
    padding: 8px 30px;
    font-size: 13px;
    width: 100%;
  }

  .gift-status-badge {
    font-size: 10px;
    padding: 3px 10px;
  }
}

@media (max-width: 400px) {
  .scratch-card-wrapper {
    max-width: 180px;
  }

  .scratch-card-cover .scratch-instruction i {
    font-size: 30px;
  }

  .scratch-card-cover .scratch-instruction p {
    font-size: 12px;
  }

  .gift-popup-container {
    padding: 15px 10px;
  }

  .gift-list-item {
    flex-wrap: wrap;
    gap: 6px;
  }

  .gift-list-item-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 56px;
  }

  .gift-list-progress {
    margin-left: 56px;
  }
}

/* ============================================================ */
/* ========== 🔥 UTILITY CLASSES ========== */
/* ============================================================ */

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}

.rounded-4 {
  border-radius: 16px;
}

.shadow-card-soft {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ✅ USED Status Badge */
.gift-status-badge.used {
  background: #ede9fe;
  color: #7c3aed;
}

.gift-status-badge.used i {
  color: #7c3aed;
}

/* ✅ Gift List Item Icon - Used */
.gift-list-item-icon.used {
  background: linear-gradient(135deg, #ede9fe, #d8b4fe);
  border-color: #7c3aed;
}

/* ✅ Gift List Item - Used Text */
.gift-list-item-expiry.text-success {
  color: #7c3aed !important;
}

.translate-down-hover:hover {
  /* transform: translateY(-3px); */
  transition: all;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(114, 105, 239, 0.35);
}

/* CradleAI Custom SweetAlert Contacts Permission Modal Styling */
.contacts-swal-popup {
  font-family: "Inter", sans-serif !important;
  border-radius: 20px !important;
  padding: 30px 20px !important;
}

.contacts-swal-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-top: 15px !important;
}

.contacts-swal-html {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #7a7f9a !important;
  padding: 10px 20px !important;
}

.contacts-swal-confirm {
  background: linear-gradient(135deg, #a464df 0%, #f49282 100%) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(164, 100, 223, 0.3) !important;
  margin-right: 12px !important;
  outline: none !important;
  cursor: pointer !important;
}

.contacts-swal-cancel {
  background: #e6ebf5 !important;
  color: #7a7f9a !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
}

.contacts-swal-confirm:hover,
.contacts-swal-cancel:hover {
  opacity: 0.9 !important;
}

/* Custom Notifications Background for Light and Dark Modes */
#notificationsContentSection {
  background-color: #f5f7fb !important;
}

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

/* challanges date field */
[data-bs-theme="dark"] #create_c_start_date,
[data-bs-theme="dark"] #create_c_deadline,
[data-bs-theme="dark"] #create_c_end_date {
  -webkit-text-fill-color: #fff !important;
}

/* Enforce absolute top z-index for Toastr notifications to show over modals/backdrops globally */
#toast-container {
  z-index: 2147483647 !important;
}

/* Add this to your existing styles */
.fund-status-badge {
  cursor: default !important;
  user-select: none;
}

.fund-status-badge:hover {
  cursor: default !important;
}

.p-scroll-mange {
  max-height: 200px;
  overflow-y: auto;
}

.scroll-auto-profile .simplebar-content {
  min-height: 400px !important;
  overflow-y: auto !important;
}

/* Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 11px;
  margin-top: 4px;
}

.form-control.is-invalid~.invalid-feedback,
.form-select.is-invalid~.invalid-feedback {
  display: block;
}

#tipModal .form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

#tipModal .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.3rem rgba(220, 53, 69, 0.3) !important;
}

/* User Profile Sidebar Layout & Scroll Fixes */
.user-profile-sidebar {
  flex-direction: column !important;
  height: 100vh !important;
  overflow: hidden !important;
}

/* Override inline display styles set by Javascript when sidebar is active */
.user-profile-sidebar[style*="display: block"] {
  display: flex !important;
}

/* Non-scrollable header containers inside the sidebar */
.user-profile-sidebar>div:nth-child(1),
.user-profile-sidebar>div:nth-child(2) {
  flex: 0 0 auto !important;
}

/* Make the profile description wrapper scrollable and occupy remaining space */
.user-profile-sidebar .user-profile-desc {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

/* Custom simplebar flex adaptation */
.user-profile-sidebar .user-profile-desc[data-simplebar] {
  display: flex !important;
  flex-direction: column !important;
}

.user-profile-sidebar .user-profile-desc .simplebar-wrapper,
.user-profile-sidebar .user-profile-desc .simplebar-mask,
.user-profile-sidebar .user-profile-desc .simplebar-offset,
.user-profile-sidebar .user-profile-desc .simplebar-content-wrapper {
  height: 100% !important;
  width: 100% !important;
}

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

.margin-bottom-3px {
  margin-bottom: 2px !important;
}

.overflow-y-auto-class {
  overflow-y: auto !important;
  height: 100dvh;
}

.font-size-15 {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ri-arrow-right-s-line-custom {
  font-size: 18px;
  margin-left: auto;
  margin-right: 10px;
}

.security-updated-design .setting-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0px;
  border-bottom: 1px solid #ececec;
  transition: 0.25s;
}

.security-updated-design .setting-item:hover {
  background: #faf8ff;
}

.security-updated-design .setting-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.security-updated-design .setting-content {
  flex: 1;
}

.security-updated-design .setting-content h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #2d2d2d;
}

.security-updated-design .setting-content p {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 13px;
  color: #7a7a7a;
  line-height: 1.45;
}

.security-updated-design .security {
  background: #eef3ff;
  color: #5b5fe9;
}

.security-updated-design .sound {
  background: #f3efff;
  color: #8b5cf6;
}

.security-updated-design .push {
  background: #eef9ff;
  color: #4f8ef7;
}

.security-updated-design .kyc {
  background: #fff5eb;
  color: #ff9800;
}

.security-updated-design .twofa {
  background: #ebfff6;
  color: #16a34a;
}

.security-updated-design .delete {
  background: #fff1f2;
  color: #ef4444;
}

.security-updated-design .security-card {
  padding: 20px;
  border-top: 1px solid #ececec;
}

.security-updated-design .security-card.danger {
  border-top: 1px solid #ececec;
}

.security-updated-design .security-card {
  border-top: 1px solid #ececec;
  padding: 22px;
}

.security-updated-design .qr-card {
  background: #fafbff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.security-updated-design .qr-icon {
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 16px;
  background: #eef3ff;
  color: #6c63ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.security-updated-design .qr-image {
  width: 220px;
  max-width: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

.security-updated-design .alert-success {
  border-radius: 12px;
}

/* Date Validation in the challange module */
/* Date validation styles */
.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff0f0 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Disable past dates in date picker */
input[type="date"]::-webkit-datetime-edit {
  color: #495057;
}

input[type="date"]:invalid::-webkit-datetime-edit {
  color: #999;
}

/* Style for disabled dates in date picker */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.7;
  cursor: pointer;
}

input[type="date"]:disabled::-webkit-calendar-picker-indicator {
  opacity: 0.3;
}

/* login */
.login-updated-design-custome .login-header {
  margin-bottom: 50px !important;
}

.login-updated-design-custome .welcome-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7b61ff, #5b8def);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(123, 97, 255, 0.2);
}

.login-updated-design-custome .otp-icon {
  background: linear-gradient(135deg, #6c63ff, #9c6bff);
}

.login-updated-design-custome .login-input {
  border-radius: 10px;
  overflow: hidden;
}

.login-updated-design-custome .login-input .input-group-text {
  background: #fff;
  border: none;
  color: #7b61ff;
  padding: 0 16px;
  font-size: 18px;
}

.login-updated-design-custome .login-input .form-control {
  border: none;
  height: 52px;
  box-shadow: none;
  font-size: 15px;
}

.login-updated-design-custome .login-input:focus-within {
  box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1);
}

.login-updated-design-custome .password-eye {
  cursor: pointer;
}

.login-updated-design-custome .login-btn {
  height: 50px;
  font-weight: 600;
  font-size: 15px;
}

.login-updated-design-custome .forgot-link {
  color: #7b61ff;
  font-weight: 500;
  text-decoration: none;
}

.login-updated-design-custome .forgot-link:hover {
  color: #5b8def;
}

.login-updated-design-custome .countery-input-group .input-group {
  flex-wrap: nowrap !important;
}

/* ================= CAPTCHA ================= */

.login-updated-design-custome .captcha-card {
  background: #fafbfd;
  border: 1px solid #eceff5;
  border-radius: 18px;
  padding: 16px;
}

.login-updated-design-custome .captcha-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.login-updated-design-custome .captcha-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef3ff;
  color: #7269ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.login-image {
  width: 100%;
  height: 100%;
}

.login-updated-design-custome .captcha-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* contact icons design */
.updated-contact-custom-design .section-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}

.updated-contact-custom-design .contact-action-btn {
  width: 42px;
  height: 42px;
  border: none;
  outline: none;
  border-radius: 12px;
  background: #f8f9fb;
  color: #7b61ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: 0.25s ease;
  position: relative;
}

.updated-contact-custom-design .contact-action-btn:hover {
  background: #ff7a00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

.updated-contact-custom-design .contact-action-btn .badge {
  font-size: 10px;
  padding: 4px 6px;
}

@media (min-width: 768px) and (max-width: 992px) {
  .login-updated-design-custome .g-recaptcha {
    transform: scale(0.82);
    -webkit-transform: scale(0.82);
  }
}

@media (max-width: 430px) {
  .login-updated-design-custome .g-recaptcha {
    transform: scale(0.82);
    -webkit-transform: scale(0.82);
  }
}

@media (max-width: 400px) {
  .login-updated-design-custome .g-recaptcha {
    transform: scale(0.76);
    -webkit-transform: scale(0.76);
  }
}

@media (max-width: 400px) {
  .login-updated-design-custome .g-recaptcha {
    transform: scale(0.66);
    -webkit-transform: scale(0.66);
  }
}

/* Fix dropdown on mobile - prevent parent click */
/* .dropdown {
    position: relative;
    z-index: 10;
}

.dropdown .dropdown-toggle {
    position: relative;
    z-index: 11;
}

.dropdown-menu {
    z-index: 9999 !important;
} */

/* 
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: absolute !important;
        z-index: 9999 !important;
        min-width: 160px !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
    }
} */

/* footer */

@media (min-width: 992px) {
  .forgot-password-content1234 {
    margin-top: -100px;
  }
}

@media (min-width: 1400px) {
  .forgot-password-content1234 {
    margin-top: -200px;
  }
}

@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  43% {
    transform: translateY(-10px);
  }

  70% {
    transform: translateY(-6px);
  }

  90% {
    transform: translateY(-2px);
  }
}

.animate-bounce {
  animation: bounce 1.5s infinite;
}

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

.custom-max-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.custome-flex-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.community-card-custome {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.community-card-custome:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.community-card-custome .community-avatar {
  width: 55px;
  height: 55px;
  object-fit: cover;
  flex-shrink: 0;
}

.text-align-font-14 {
  text-align: left !important;
  font-size: 14px !important;
}

/* explore about */

.group-info-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  padding: 14px;
  transition: 0.25s;
}

.group-info-card:hover {
  border-color: #7269ef30;
  box-shadow: 0 8px 24px rgba(114, 105, 239, 0.08);
}

.group-info-card .group-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #7b8190;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.group-info-card .receiver_name1 {
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  word-break: break-word;
}

.group-info-card #group_description_text {
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.group-edit-btn,
.group-description-edit-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.shadow-custome {
  box-shadow: 0 0 15px rgba(139, 133, 255, 0.5) !important;
}

@media (max-width: 576px) {
  .group-info-card .d-flex.justify-content-between {
    flex-direction: column;
    gap: 12px;
  }

  .group-edit-btn,
  .group-description-edit-btn {
    width: 100%;
  }
}

/*  */

@media (max-width: 1400px) {
  .custom-max-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 1125px) {
  .custome-flex-container {
    flex-direction: column;
  }

  .custome-flex-container>#detailPostsColumn,
  .custome-flex-container>#detailSuggestionsColumn {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 440px) {
  .responsive-flex-custome {
    flex-direction: column !important;
  }

  .coustome-align-self-end {
    align-self: flex-end;
  }
}

@media (max-width: 400px) {
  .login-padding-inline-10px {
    padding-inline: 10px !important;
  }
}

@media (max-width: 380px) {
  .custome-res-design {
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
}

.post-actions-instagram {
  max-width: 200px;
  padding-top: 20px;
  gap: 10px;
}

.post-action-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 999px;
  transition: 0.25s ease;
  user-select: none;
  color: #000000bf;
  min-height: 42px;
}

.post-action-item:hover {
  background: #f6f7fb;
  color: #7269ef;
  transform: translateY(-1px);
}

.post-action-item i {
  font-size: 22px;
  line-height: 1;
  transition: 0.25s;
}

.post-action-item span {
  font-size: 14px;
  font-weight: 600;
}

.post-action-item:active {
  transform: scale(0.96);
}

@media (max-width: 576px) {
  .post-actions-instagram {
    gap: 6px;
  }

  .post-action-item {
    flex: 1;
    padding: 10px 6px;
    gap: 5px;
  }

  .post-action-item i {
    font-size: 20px;
  }

  .post-action-item span {
    font-size: 13px;
  }
}

/* wallet and transaction user profile  and user pprofile*/
.personal-profile-setting .profile-info-card {
  background: transparent;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0px !important;
  padding: 10px;
  padding-top: 0px;
  transition: 0.25s;
}

.personal-profile-setting .profile-info-card:hover {
  border-color: #7269ef25;
  box-shadow: 0 8px 24px rgba(114, 105, 239, 0.08);
}

.personal-profile-setting .profile-user-icon {
  background: #eef4ff;
  color: #4f7cff;
}

.personal-profile-setting .profile-email-icon {
  background: #f3f4f6;
  color: #64748b;
}

.personal-profile-setting .profile-time-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.personal-profile-setting .profile-location-icon {
  background: #ecfdf5;
  color: #10b981;
}

.personal-profile-setting .profile-label {
  font-size: 12px;
  font-weight: 600;
  color: #98a2b3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.personal-profile-setting .profile-info-card h5 {
  font-weight: 600;
  word-break: break-word;
}

.wallet-and-transaction .settings-menu .list-group-item {
  background: transparent;
  border-bottom: 1px solid #edf0f7 !important;
  border-radius: 0px !important;
}

.wallet-and-transaction .settings-menu .list-group-item:hover {
  background: #fafbff;
  border-color: #7269ef25 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(114, 105, 239, 0.08);
}

.wallet-and-transaction .settings-icon,
.personal-profile-setting .profile-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.wallet-and-transaction .wallet-icon {
  background: #eef4ff;
  color: #4f7cff;
  align-self: baseline;
}

.wallet-and-transaction .pin-icon {
  background: #fff8e8;
  color: #f59e0b;
}

.wallet-and-transaction .kyc-icon {
  background: #ecfdf5;
  color: #10b981;
}

.wallet-and-transaction .settings-arrow {
  font-size: 22px;
  color: #adb5bd;
  transition: 0.25s;
  align-self: baseline;
}

.wallet-and-transaction .settings-menu .list-group-item:hover .settings-arrow {
  transform: translateX(5px);
  color: #7269ef;
}

.wallet-and-transaction .settings-menu h6 {
  font-size: 14px;
}

.wallet-and-transaction .settings-menu small {
  font-size: 12px;
}

.wallet-and-transaction .history-icon {
  background: #eef9ff;
  color: #0ea5e9;
  align-self: baseline;
}

.wallet-and-transaction .rewards-icon {
  background: #fef3c7;
  color: #f59e0b;
  align-self: baseline;
}

.avtar-custome {
  min-width: 25px;
  min-height: 25px;
  cursor: pointer;
}

#user-status-display {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  color: #495057 !important;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

#user-status-display i {
  margin-left: 2px;
  transition: 0.25s;
}

#user-status-display[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.dropdown-menu {
  border: none;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dropdown-menu .dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 500;
  transition: 0.2s;
}

.dropdown-menu .dropdown-item:hover {
  background: #f6f7fb;
  color: #7269ef;
}

@media (max-width: 992px) {
  .challange-count-badge {
    display: none !important;
  }
}

/*=========================================
 Audio Call Modal - Theme Design
==========================================*/

.audio-cutome-design .audio-modal-content {
  border: none;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.audio-cutome-design .modal-body {
  position: relative;
  padding: 55px 35px 35px;
  text-align: center;
}

/* Top Header */

.audio-cutome-design .audio-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 145px;
  background: linear-gradient(180deg,
      #e3902b -27.49%,
      #cc4d65 15.61%,
      #663cae 85.72%,
      #14b8bb 133.69%);
  border-bottom-left-radius: 45%;
  border-bottom-right-radius: 45%;
}

/* Avatar */

.audio-cutome-design .audio-user-details {
  position: relative;
  z-index: 2;
}

.audio-cutome-design .audio-avatar {
  width: 125px;
  height: 125px;
  padding: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(102, 60, 174, 0.3);
  animation: audioPulse 2.2s infinite;
}

.audio-cutome-design .audio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Name */

.audio-cutome-design .vcname {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #252525;
}

/* Audio Call */

.audio-cutome-design .audio-title {
  color: #663cae;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.audio-cutome-design .audio-title i {
  margin-right: 6px;
}

/* Divider */

.audio-cutome-design .audio-divider {
  width: 75px;
  height: 4px;
  margin: 20px auto;
  border-radius: 50px;
  background: linear-gradient(90deg, #e3902b, #cc4d65, #663cae, #14b8bb);
}

/* Calling Text */

.audio-cutome-design .audio-calling-text {
  color: #cc4d65 !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Buttons */

.audio-cutome-design .audio-action-buttons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 35px;
}

.audio-cutome-design .audio-btn {
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  transition: 0.35s;
}

.audio-cutome-design .audio-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

/* Reject */

.audio-cutome-design .audio-btn-decline {
  background: linear-gradient(135deg, #ff5f6d, #d90429);
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.3);
}

/* Accept */

.audio-cutome-design .audio-btn-accept {
  background: linear-gradient(135deg, #e3902b, #cc4d65, #663cae, #14b8bb);
  box-shadow: 0 12px 35px rgba(102, 60, 174, 0.3);
}

/* Ripple */

@keyframes audioPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 60, 174, 0.35);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(20, 184, 187, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 187, 0);
  }
}

.welcome-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--bs-body-color);
  margin: 14px 0px;
  line-height: 1.2;
}

.brand-text {
  background: linear-gradient(90deg, #ff7a18, #ff4d9d, #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark Mode */
[data-bs-theme="dark"] .welcome-description,
[data-theme="dark"] .welcome-description {
  color: #adb5bd;
}

/* logout updated code  */
:root {
  --logout-bg: #ffffff;
  --logout-title: #1f2937;
  --logout-text: #4b5563;
  --logout-secondary: #f4f5f8;
  --logout-secondary-hover: #e8ebf2;
}

[data-bs-theme="dark"] {
  --logout-bg: #202733;
  --logout-title: #f8fafc;
  --logout-text: #bfc7d5;
  --logout-secondary: #313b4b;
  --logout-secondary-hover: #3b4658;
}

.logout-wrapper-custome.logout-popup {
  background: var(--logout-bg);
  border-radius: 20px !important;
  padding: 28px 26px !important;
  min-height: auto !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.logout-wrapper-custome .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.logout-wrapper-custome .swal2-title {
  display: none;
}

.logout-wrapper-custome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logout-wrapper-custome .logout-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7b61ff, #9a6cff);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(123, 97, 255, 0.28);
}

.logout-wrapper-custome h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--logout-title);
}

.logout-wrapper-custome .logout-message {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--logout-title);
  text-align: center;
}

.logout-wrapper-custome .logout-subtitle {
  font-size: 15px;
  color: var(--logout-text);
  text-align: center;
  max-width: 330px;
  line-height: 1.5;
}

.logout-wrapper-custome .swal2-actions {
  margin-top: 22px !important;
  gap: 12px;
}

.logout-wrapper-custome .logout-confirm {
  min-width: 150px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #726cfe 0%, #ffa57c 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.logout-wrapper-custome .logout-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(123, 97, 255, 0.35);
}

.logout-wrapper-custome .logout-cancel {
  min-width: 150px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--logout-secondary);
  color: var(--logout-title);
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.btn-soft-light-custome {
  border-radius: 8px !important;
  background: var(--logout-secondary) !important;
  color: var(--logout-title) !important;
}

.logout-wrapper-custome .logout-cancel:hover {
  background: var(--logout-secondary-hover);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .logout-wrapper-custome.logout-popup {
    width: 90% !important;
    padding: 22px !important;
  }

  .logout-wrapper-custome h2 {
    font-size: 28px;
  }

  .logout-wrapper-custome .logout-message {
    font-size: 16px;
  }

  .logout-wrapper-custome .swal2-actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .logout-wrapper-custome .logout-confirm,
  .logout-wrapper-custome .logout-cancel {
    width: 100%;
  }
}

/* no request popup */
.no-request-popup {
  background: var(--logout-bg);
  border-radius: 20px !important;
  padding: 28px 26px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.no-request-custom .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.no-request-custom .no-request-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.no-request-custom .no-request-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(114, 108, 254, 0.28);
}

.no-request-custom h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--logout-title);
}

.no-request-custom .no-request-message {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--logout-title);
  text-align: center;
}

.no-request-custom .no-request-subtitle {
  max-width: 330px;
  text-align: center;
  color: var(--logout-text);
  font-size: 15px;
  line-height: 1.5;
}

.no-request-custom .swal2-actions {
  margin-top: 22px !important;
}

.no-request-custom .no-request-confirm {
  min-width: 210px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #726cfe 0%, #ffa57c 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.no-request-custom .no-request-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.35);
}

@media (max-width: 576px) {
  .no-request-popup {
    width: 90% !important;
    padding: 22px !important;
  }

  .no-request-custom h2 {
    font-size: 26px;
  }

  .no-request-custom .no-request-confirm {
    width: 100%;
  }
}

/* clear all meassage popup */
.clear-chat-popup {
  border-radius: 22px !important;
  padding: 28px !important;
  background: var(--bs-body-bg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.clear-chat-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.clear-chat-popup .swal2-actions {
  margin-top: 24px !important;
  gap: 12px;
}

.clear-chat-confirm {
  min-width: 170px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.clear-chat-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.35);
}

.clear-chat-cancel {
  min-width: 150px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #f3f4f8;
  color: #4b5563;
  font-weight: 600;
  transition: 0.25s;
}

.clear-chat-cancel:hover {
  background: #e8ebf2;
}

[data-bs-theme="dark"] .clear-chat-cancel {
  background: #313b4b;
  color: #fff;
}

[data-bs-theme="dark"] .clear-chat-cancel:hover {
  background: #3d4758;
}

@media (max-width: 576px) {
  .clear-chat-popup .swal2-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 12px;
    margin-top: 20px !important;
  }

  .clear-chat-popup .swal2-actions .swal2-confirm,
  .clear-chat-popup .swal2-actions .swal2-cancel,
  .clear-chat-popup .clear-chat-confirm,
  .clear-chat-popup .clear-chat-cancel {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    justify-content: center;
  }
}

/* archive popup */
.archived-messages-custom-popup .modal-content {
  background: var(--bs-body-bg);
}

.archived-messages-custom-popup #archivedMessagesScroll::-webkit-scrollbar {
  width: 6px;
}

.archived-messages-custom-popup #archivedMessagesScroll::-webkit-scrollbar-thumb {
  background: #d3d3d3;
  border-radius: 10px;
}

[data-bs-theme="dark"] .archived-messages-custom-popup .modal-body>div:first-child {
  background: #2c3444 !important;
  border-color: #3d4657 !important;
}

[data-bs-theme="dark"] .archived-messages-custom-popup .modal-footer .btn {
  background: #313b4b !important;
  color: #fff !important;
}

.archived-messages-custom-popup .selected-archived {
  background: rgba(114, 108, 254, 0.12) !important;
  border-color: #726cfe !important;
  box-shadow: 0 4px 12px rgba(114, 108, 254, 0.15);
}

.archived-messages-custom-popup .archive-checkbox {
  accent-color: #726cfe;
  cursor: pointer;
}

.archived-messages-custom-popup #archivedMessagesList {
  padding: 0;
  margin: 0;
}

.archived-messages-custom-popup #archivedMessagesList li {
  list-style: none;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e8eaf3;
  background: #fff;
  transition: 0.25s ease;
  cursor: pointer;
}

.archived-messages-custom-popup #archivedMessagesList li:hover {
  transform: translateY(-2px);
  border-color: #726cfe30;
  box-shadow: 0 10px 24px rgba(114, 108, 254, 0.08);
}

.archived-messages-custom-popup #archivedMessagesScroll::-webkit-scrollbar {
  width: 6px;
}

.archived-messages-custom-popup #archivedMessagesScroll::-webkit-scrollbar-thumb {
  background: #d2d2d2;
  border-radius: 20px;
}

.archived-messages-custom-popup .modal-content {
  background: var(--bs-body-bg);
}

[data-bs-theme="dark"] .archived-messages-custom-popup .modal-body>div:first-child {
  background: #2c3444 !important;
  border-color: #3d4657 !important;
}

[data-bs-theme="dark"] .archived-messages-custom-popup #archivedMessagesList li {
  background: #2b3444 !important;
  border-color: #3d4657;
  color: #fff;
}

[data-bs-theme="dark"] .archived-messages-custom-popup #archivedMessagesList li:hover {
  background: #333d4f;
  border-color: #726cfe;
}

[data-bs-theme="dark"] .archived-messages-custom-popup .selected-archived {
  background: rgba(114, 108, 254, 0.18) !important;
  border-color: #726cfe !important;
}

.archived-messages-custom-popup .modal-footer .btn {
  background: #eef1f6;
  color: #4b5563;
  border: none;
  transition: 0.25s;
}

.archived-messages-custom-popup .modal-footer .btn:hover {
  background: #e4e8ef;
}

[data-bs-theme="dark"] .archived-messages-custom-popup .modal-footer .btn {
  background: #313b4b !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .archived-messages-custom-popup .modal-footer .btn:hover {
  background: #3d4758 !important;
}

/* archive message moved popup */
.archive-message-popup {
  border-radius: 22px !important;
  padding: 28px !important;
  background: var(--bs-body-bg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.archive-message-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.archive-message-popup .swal2-actions {
  margin-top: 22px !important;
  gap: 12px;
}

.archive-message-confirm {
  min-width: 165px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.archive-message-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.35);
}

.archive-message-cancel {
  min-width: 150px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: #f2f4f8;
  color: #4b5563;
  font-weight: 600;
  transition: 0.25s;
}

.archive-message-cancel:hover {
  background: #e8ebf2;
}

[data-bs-theme="dark"] .archive-message-cancel {
  background: #313b4b;
  color: #fff;
}

[data-bs-theme="dark"] .archive-message-cancel:hover {
  background: #3d4758;
}

@media (max-width: 576px) {
  .archive-message-popup {
    width: 90% !important;
    padding: 22px !important;
  }

  .archive-message-popup .swal2-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .archive-message-popup .swal2-actions button {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center;
  }
}

/* no community custom popup */

.no-community-popup {
  border-radius: 22px !important;
  padding: 28px !important;
  background: var(--bs-body-bg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.no-community-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.no-community-popup .swal2-actions {
  margin-top: 22px !important;
}

.no-community-confirm {
  min-width: 170px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.no-community-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.35);
}

@media (max-width: 576px) {
  .no-community-popup {
    width: 90% !important;
    padding: 22px !important;
  }

  .no-community-popup .swal2-actions button {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* comunity feed mohit */
.community-feed-updated-custom-design button {
  transition: 0.25s;
}

.community-feed-updated-custom-design #editImageBtn:hover {
  transform: scale(1.08);
}

[data-bs-theme="dark"] .community-feed-updated-custom-design {
  background: #202733 !important;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design>div:first-child {
  background: linear-gradient(135deg,
      rgba(114, 108, 254, 0.1),
      rgba(255, 165, 124, 0.05)) !important;

  border-bottom-color: #313b4b !important;
}

.community-feed-updated-custom-design textarea:focus {
  box-shadow: none !important;
  border: none !important;
}

.community-feed-updated-custom-design-toolbar-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(114, 108, 254, 0.08);
  color: #726cfe;
  transition: 0.25s;
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
}

.community-feed-updated-custom-design-toolbar-btn:hover {
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design textarea {
  color: #fff;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design textarea::placeholder {
  color: #9aa4b5;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design .community-feed-updated-custom-design-toolbar-btn {
  background: #313b4b;
  color: #bfc7d5;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design .community-feed-updated-custom-design-toolbar-btn:hover {
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
}

.community-feed-updated-custom-design #postBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(114, 108, 254, 0.3);
}

.community-feed-updated-custom-design #postBtn:active {
  transform: scale(0.98);
}

.community-feed-updated-custom-design #postBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.community-feed-updated-custom-design textarea::-webkit-scrollbar {
  width: 6px;
}

.community-feed-updated-custom-design textarea::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 20px;
}

[data-bs-theme="dark"] .community-feed-updated-custom-design textarea::-webkit-scrollbar-thumb {
  background: #495468;
}

@media (max-width: 768px) {
  .community-feed-updated-custom-design h4 {
    font-size: 22px !important;
  }

  .community-feed-updated-custom-design #communityAvatar {
    width: 56px !important;
    height: 56px !important;
  }

  .community-feed-updated-custom-design #postBtn {
    width: 100%;
    min-width: 100%;
  }

  .community-feed-updated-custom-design-footer {
    flex-direction: column;
    align-items: stretch !important;
  }
}

@media (max-width: 576px) {
  .community-feed-updated-custom-design {
    border-radius: 18px !important;
  }

  

  .community-feed-updated-custom-design-toolbar-btn {
    width: 40px;
    height: 40px;
  }

  .position-custome-at-mobile {
    top: 20px !important;
  }
}

.delete-post-popup {
  border-radius: 22px !important;
  padding: 28px !important;
  background: var(--bs-body-bg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.delete-post-popup .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.delete-post-popup .swal2-actions {
  margin-top: 24px !important;
  gap: 12px;
}

.delete-post-confirm {
  min-width: 170px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.delete-post-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.35);
}

.delete-post-cancel {
  min-width: 150px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #f2f4f8;
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.delete-post-cancel:hover {
  background: #e8ebf2;
}

[data-bs-theme="dark"] .delete-post-cancel {
  background: #313b4b;
  color: #fff;
}

[data-bs-theme="dark"] .delete-post-cancel:hover {
  background: #3d4758;
}

@media (max-width: 576px) {
  .delete-post-popup {
    width: 90% !important;
    padding: 22px !important;
  }

  .delete-post-popup .swal2-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .delete-post-popup .swal2-actions button {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center;
  }
}

/* mohit invotion */

.invotion-idea-custome-card {
  transition: 0.3s;
}

.invotion-idea-custome-card:hover {
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] .invotion-idea-custome-card {
  background: #202733 !important;
}

[data-bs-theme="dark"] .invotion-idea-custome-card .progress {
  background: #313b4b !important;
}

[data-bs-theme="dark"] .invotion-idea-custome-card span[style*="background:#f2f4f8"] {
  background: #313b4b !important;
  color: #fff !important;
}

.invotion-idea-custome-card-action-btn {
  height: 42px;

  border: none;

  border-radius: 12px;

  background: rgba(114, 108, 254, 0.08);

  color: #726cfe;

  font-size: 14px;

  font-weight: 600;

  padding: 0 18px;

  transition: 0.25s;
}

.invotion-idea-custome-card-action-btn:hover {
  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;
}

.invotion-idea-custome-card-view-btn {
  height: 42px;

  border: none;

  border-radius: 8px;

  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;

  font-size: 14px;

  font-weight: 600;

  padding: 0 20px;

  transition: 0.25s;
}

.invotion-idea-custome-card-view-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 22px rgba(114, 108, 254, 0.25);

  color: #fff;
}

[data-bs-theme="dark"] .invotion-idea-custome-card-action-btn {
  background: #313b4b;

  color: #fff;
}

@media (max-width: 576px) {

  .invotion-idea-custome-card-action-btn,
  .invotion-idea-custome-card-view-btn {
    width: 100%;

    justify-content: center;
  }
}

.invotiion-view-detail-popup {
  border-radius: 22px !important;

  padding: 24px !important;

  background: var(--bs-body-bg);
}

.invotiion-view-detail-popup .swal2-html-container {
  margin: 0 !important;

  padding: 0 !important;
}

.invotiion-view-detail-actions {
  margin-top: 22px !important;
}

.invotiion-view-detail-close-btn {
  min-width: 160px !important;

  height: 46px !important;

  border: none !important;

  border-radius: 8px !important;

  background: linear-gradient(135deg, #726cfe, #ffa57c) !important;

  color: #fff !important;

  font-weight: 600;
}

[data-bs-theme="dark"] .invotiion-view-detail-custom .progress {
  background: #313b4b !important;
}

[data-bs-theme="dark"] .invotiion-view-detail-custom span[style*="rgba(114,108,254,.08)"] {
  background: #313b4b !important;

  color: #fff !important;
}

@media (max-width: 576px) {
  .invotiion-view-detail-close-btn {
    width: 100% !important;
  }
}

/* updated membership card */
.membership-custome-updated-card {
  transition: 0.3s;
  border: 1px solid transparent !important;
}

.membership-custome-updated-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid #726cfe !important;
}

.membership-custome-updated-card ul li {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  margin-bottom: 10px;
}

.membership-custome-updated-card ul li::before {
  content: "✓";

  width: 22px;

  height: 22px;

  border-radius: 50%;

  background: rgba(114, 108, 254, 0.1);

  color: #726cfe;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 12px;

  font-weight: 700;

  flex-shrink: 0;
}

[data-bs-theme="dark"] .membership-custome-updated-card {
  background: #202733 !important;
}

.membership-custome-updated-card-edit-btn {
  border: none;

  height: 42px;

  padding: 0 22px;

  border-radius: 12px;

  background: rgba(114, 108, 254, 0.08);

  color: #726cfe;

  font-size: 14px;

  font-weight: 600;

  transition: 0.25s;
}

.membership-custome-updated-card-edit-btn:hover {
  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;
}

.membership-custome-updated-card-menu-btn {
  width: 42px;

  height: 42px;

  border: none;

  border-radius: 12px;

  background: rgba(114, 108, 254, 0.08);

  color: #726cfe;

  transition: 0.25s;
}

.membership-custome-updated-card-menu-btn:hover {
  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;
}

[data-bs-theme="dark"] .membership-custome-updated-card-edit-btn,
[data-bs-theme="dark"] .membership-custome-updated-card-menu-btn {
  background: #313b4b;

  color: #fff;
}

@media (max-width: 576px) {
  .membership-custome-updated-card .card-body {
    padding: 18px !important;
  }

  .membership-custome-updated-card-edit-btn {
    width: 100%;
  }
}

/* my membershipcard */
.my-membershib-updated-card {
  transition: 0.3s;
  border: 1px solid transparent !important;
}

.my-membershib-updated-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid #726cfe !important;
}

[data-bs-theme="dark"] .my-membershib-updated-card {
  background-color: #202733 !important;
}

@media (max-width: 576px) {
  .my-membershib-updated-card h5 {
    font-size: 20px !important;
  }
}

.expplore-page-custome-card {
  transition: 0.3s;

  background: var(--bs-body-bg);
}

.expplore-page-custome-card-view-btn {
  border: none;

  height: 42px;

  padding: 0 18px;

  border-radius: 12px;

  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;

  font-size: 14px;

  font-weight: 600;

  transition: 0.25s;
}

.expplore-page-custome-card-view-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 22px rgba(114, 108, 254, 0.25);
}

[data-bs-theme="dark"] .expplore-page-custome-card {
  background: #202733 !important;
}

[data-bs-theme="dark"] .expplore-page-custome-card-view-btn {
  color: #fff;
}

@media (max-width: 576px) {
  .expplore-page-custome-card-view-btn {
    width: 100%;
  }
}

.wallet-funding-custom-design .payment-option {
  cursor: pointer;
}

.wallet-funding-custom-design .payment-option:hover {
  transform: translateY(-3px);
  border-color: #6366f1 !important;
  box-shadow: 0 0.8rem 1.8rem rgba(99, 102, 241, 0.12) !important;
}

.wallet-funding-custom-design .payment-option.active {
  border: 2px solid #6366f1 !important;
  background: rgba(99, 102, 241, 0.05) !important;
  box-shadow: 0 0.8rem 1.8rem rgba(99, 102, 241, 0.12) !important;
}

.wallet-funding-custom-design .payment-option.active .check-icon {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.wallet-funding-custom-design .form-control:focus {
  box-shadow: none !important;
}

[data-bs-theme="dark"] .wallet-funding-custom-design {
  background: #1c1f26 !important;
}

[data-bs-theme="dark"] .wallet-funding-custom-design .payment-option,
[data-bs-theme="dark"] .wallet-funding-custom-design .input-group,
[data-bs-theme="dark"] .wallet-funding-custom-design .rounded-4 {
  background: #232730 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .wallet-funding-custom-design .payment-option.active {
  box-shadow: 0 0.8rem 1.8rem rgba(99, 102, 241, 0.12) !important;
}

[data-bs-theme="dark"] .wallet-funding-custom-design .check-icon {
  background: #232730;
}

.status-active {
  background: #dcfce7 !important;
  color: #166534 !important;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.status-completed {
  background: #e2e8f0 !important;
  color: #334155 !important;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.status-draft {
  background: #fef9c3 !important;
  color: #854d0e !important;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.status-upcoming {
  background: #dbeafe !important;
  color: #1e40af !important;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.status-ongoing {
  background: #fef3c7 !important;
  color: #92400e !important;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

/* Dark Mode Support */
[data-bs-theme="dark"] .status-active {
  background: #1a3a2a !important;
  color: #6fcf97 !important;
}

[data-bs-theme="dark"] .status-completed {
  background: #2d3748 !important;
  color: #a0aec0 !important;
}

[data-bs-theme="dark"] .status-draft {
  background: #3d3a1a !important;
  color: #f6e05e !important;
}

[data-bs-theme="dark"] .status-upcoming {
  background: #1a2a4a !important;
  color: #63b3ed !important;
}

[data-bs-theme="dark"] .status-ongoing {
  background: #3d2a1a !important;
  color: #f6ad55 !important;
}

/* payment processing popuo */
.payment-processing-popup {
  border-radius: 22px !important;

  padding: 30px !important;
}

.payment-processing-spinner {
  animation: payment-processing-spin 1s linear infinite;
}

@keyframes payment-processing-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

[data-bs-theme="dark"] .payment-processing-popup {
  background: #202733 !important;
}

/* payment-error-popup */

.payment-error-popup {
  border-radius: 22px !important;

  padding: 10px !important;
  padding-bottom: 25px !important;
}

.payment-error-confirm {
  min-width: 180px;

  height: 48px;

  border: none;

  border-radius: 14px;

  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;

  font-size: 16px;

  font-weight: 600;

  transition: 0.25s;
}

.payment-error-confirm:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.25);
}

[data-bs-theme="dark"] .payment-error-popup {
  background: #202733 !important;
}

/* min max popup of the pament */
.common-warning-popup {
  border-radius: 22px !important;

  padding: 30px !important;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.common-warning-popup .swal2-html-container {
  margin: 0 !important;

  padding: 0 !important;
}

.common-warning-popup .swal2-actions {
  margin-top: 24px !important;
}

.common-warning-confirm {
  min-width: 180px;

  height: 48px;

  border: none;

  border-radius: 14px;

  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;

  font-size: 16px;

  font-weight: 600;

  transition: 0.25s;
}

.common-warning-confirm:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.28);
}

[data-bs-theme="dark"] .common-warning-popup {
  background: #202733 !important;
}

@media (max-width: 576px) {
  .common-warning-popup {
    width: 90% !important;

    padding: 24px !important;
  }

  .common-warning-confirm {
    width: 100%;

    min-width: 100%;
  }

  .common-warning-popup .swal2-actions {
    width: 100%;
  }
}

/* publish channel popup */

.publish-channel-popup {
  border-radius: 22px !important;

  padding: 30px !important;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.publish-channel-popup .swal2-html-container {
  margin: 0 !important;

  padding: 0 !important;
}

.publish-channel-popup .swal2-actions {
  margin-top: 24px !important;

  gap: 12px;
}

.publish-channel-confirm {
  min-width: 170px;

  height: 48px;

  border: none;

  border-radius: 14px;

  background: linear-gradient(135deg, #726cfe, #ffa57c);

  color: #fff;

  font-size: 16px;

  font-weight: 600;

  transition: 0.25s;
}

.publish-channel-confirm:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(114, 108, 254, 0.3);
}

.publish-channel-cancel {
  min-width: 170px;

  height: 48px;

  border: none;

  border-radius: 14px;

  background: #eef1f6;

  color: #374151;

  font-size: 16px;

  font-weight: 600;

  transition: 0.25s;
}

.publish-channel-cancel:hover {
  background: #e3e8f2;

  transform: translateY(-2px);
}

[data-bs-theme="dark"] .publish-channel-popup {
  background: #202733 !important;
}

[data-bs-theme="dark"] .publish-channel-cancel {
  background: #313b4b;

  color: #fff;
}

[data-bs-theme="dark"] .publish-channel-cancel:hover {
  background: #3d485c;
}

@media (max-width: 576px) {
  .publish-channel-popup {
    width: 90% !important;

    padding: 24px !important;
  }

  .publish-channel-popup .swal2-actions {
    flex-direction: column-reverse;

    width: 100%;
  }

  .publish-channel-confirm,
  .publish-channel-cancel {
    width: 100%;

    min-width: 100%;
  }
}

/* vtn-payment-detail-cpopup-custom  */

.vtn-payment-detail-cpopup-custom {
  border-radius: 18px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

.vtn-payment-detail-cpopup-custom .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

.vtn-payment-detail-cpopup-custom .swal2-loading {
  display: none !important;
}

.vtn-payment-detail-cpopup-custom .spinner-border {
  animation-duration: 0.8s;
}

.vtn-payment-detail-cpopup-custom .bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.10) !important;
}

.vtn-payment-detail-cpopup-custom .text-primary {
  color: #0d6efd !important;
}

.dark .swal2-container .vtn-payment-detail-cpopup-custom,
.dark-mode .swal2-container .vtn-payment-detail-cpopup-custom,
[data-theme="dark"] .swal2-container .vtn-payment-detail-cpopup-custom,
[data-bs-theme="dark"] .swal2-container .vtn-payment-detail-cpopup-custom {
  background-color: #1f2937 !important;
}








/* Channel COMMENTS SECTION */

.detail-comments-section {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg,
      rgba(245, 235, 249, 0.95),
      rgba(238, 233, 250, 0.95));
  border: 1px solid rgba(183, 82, 157, 0.12);
  box-shadow: 0 4px 18px rgba(112, 64, 130, 0.06);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.detail-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 11px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(183, 82, 157, 0.14);
}

.detail-comments-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #343044;
}

.detail-comments-title i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #e85d8f, #7b4ab8);
  font-size: 14px;
}

.detail-comments-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 420px;
  overflow-y: auto;
  padding: 2px 2px 4px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.detail-comments-list::-webkit-scrollbar {
  display: none;
}

.detail-comments-list>div {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(128, 89, 153, 0.09);
  box-shadow: 0 2px 8px rgba(80, 50, 100, 0.045);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.detail-comments-list>div:hover {
  z-index: 20;
  border-color: rgba(183, 82, 157, 0.18);
  box-shadow: 0 5px 14px rgba(91, 53, 113, 0.08);
}

.detail-comments-list .dropdown {
  position: relative;
  z-index: 100;
}

.detail-comments-list .dropdown-menu {
  z-index: 9999 !important;
}

.detail-comments-loadmore-wrapper {
  padding-top: 11px;
}

.detail-comments-loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 13px;
  border: 1px solid rgba(183, 82, 157, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: #8a3f9d;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.detail-comments-loadmore:hover {
  color: #fff;
  background: linear-gradient(135deg, #e85d8f, #7b4ab8);
  border-color: transparent;
  transform: translateY(-1px);
}

.detail-comments-loadmore i {
  font-size: 14px;
}

[data-bs-theme="dark"] .detail-comments-section {
  background: linear-gradient(145deg,
      rgba(34, 28, 48, 0.98),
      rgba(29, 25, 43, 0.98));
  border-color: rgba(210, 106, 180, 0.14);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .detail-comments-header {
  border-bottom-color: rgba(210, 106, 180, 0.13);
}

[data-bs-theme="dark"] .detail-comments-title {
  color: #f1edf6;
}

[data-bs-theme="dark"] .detail-comments-list>div {
  background: rgb(44 37 59 / 17%);
  border-color: rgb(210 106 180 / 3%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

[data-bs-theme="dark"] .detail-comments-list>div:hover {
  border-color: rgba(210, 106, 180, 0.24);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .detail-comments-loadmore {
  background: rgba(255, 255, 255, 0.06);
  color: #e69bc8;
  border-color: rgba(210, 106, 180, 0.18);
}

[data-bs-theme="dark"] .detail-comments-loadmore:hover {
  color: #fff;
  background: linear-gradient(135deg, #d9588c, #7546ad);
  border-color: transparent;
}

/* Community Feed Comments  Scoped only to this section*/


.community-feed-coustome-comment-section .comment-item {
  min-width: 0;
}

.community-feed-coustome-comment-section .comment-message {
  line-height: 1.45;
  word-break: break-word;
  white-space: normal;
}

.community-feed-coustome-comment-section .comment-menu-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.community-feed-coustome-comment-section .comment-menu-btn:hover {
  background: rgba(123, 74, 184, .08);
}

[data-bs-theme="dark"] .community-feed-coustome-comment-section .comment-menu-btn:hover {
  background: rgba(255, 255, 255, .07);
}

/* CHALLENGE CREATION ELIGIBILITY MODAL Fully scoped design */

.challange-creation-eligibility-custome-design .modal-content {
  background: var(--bs-body-bg);
}


.challange-creation-eligibility-custome-design .challange-eligibility-mini-icon {
  color: #fff;
  background: linear-gradient(135deg, #7269ef, #ff8c42);
  box-shadow: 0 5px 14px rgba(118, 91, 234, .18);
}

.challange-creation-eligibility-custome-design .challange-eligibility-mini-icon i {
  font-size: 18px;
}


.challange-creation-eligibility-custome-design .challange-eligibility-lock-icon {
  background: linear-gradient(135deg, #7269ef, #ff8c42);
}

.challange-creation-eligibility-custome-design .challange-eligibility-lock-inner {
  background: linear-gradient(135deg, #7269ef, #ff8c42);

  box-shadow:
    0 8px 24px rgba(118, 91, 234, .25);
}


.challange-creation-eligibility-custome-design .challange-eligibility-item {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.challange-creation-eligibility-custome-design .challange-eligibility-item:hover {
  border-color: rgba(123, 74, 184, .22);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(80, 50, 110, .06);
}



.challange-creation-eligibility-custome-design .challange-eligibility-item-icon {
  font-size: 18px;
}

.challange-creation-eligibility-custome-design .challange-score-icon {
  color: #6754d9;
  background: rgba(103, 84, 217, .10);
}

.challange-creation-eligibility-custome-design .challange-badge-icon {
  color: #d08b16;
  background: rgba(255, 193, 7, .12);
}

.challange-creation-eligibility-custome-design .challange-tier-icon {
  color: #c45b94;
  background: rgba(196, 91, 148, .11);
}


.challange-creation-eligibility-custome-design .progress {
  background-color: rgba(127, 127, 127, .13);
}


.challange-creation-eligibility-custome-design .challange-tier-badge {
  display: inline-flex;
  align-items: center;

  padding: 3px 9px;

  border-radius: 20px;

  color: #8b4795;
  background: rgba(139, 71, 149, .10);

  font-size: 11px;
  font-weight: 700;
}

.challange-creation-eligibility-custome-design .challange-eligibility-info {
  background: rgba(41, 156, 219, .07);
  border: 1px solid rgba(41, 156, 219, .09);
}

.challange-creation-eligibility-custome-design .challange-info-icon {
  color: #299cdb;
  background: rgba(41, 156, 219, .11);
  font-size: 14px;
}




.challange-creation-eligibility-custome-design .info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.challange-creation-eligibility-custome-design .info-icon .tooltip-text {
  position: absolute;
  z-index: 1056;

  bottom: calc(100% + 8px);
  left: 50%;

  width: 245px;

  padding: 9px 11px;

  border-radius: 8px;

  background: #252130;
  color: #fff;

  font-size: 11px;
  line-height: 1.5;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  transform: translate(-50%, 4px);

  transition: all .2s ease;

  pointer-events: none;

  box-shadow: 0 7px 22px rgba(0, 0, 0, .20);
}

.challange-creation-eligibility-custome-design .info-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.challange-creation-eligibility-custome-design .challange-eligibility-close-btn {
  border: 0;

  color: #fff;

  background: linear-gradient(135deg, #7269ef, #ff8c42);

  box-shadow:
    0 6px 16px rgba(118, 91, 234, .18);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.challange-creation-eligibility-custome-design .challange-eligibility-close-btn:hover {
  color: #fff;

  filter: brightness(1.04);

  transform: translateY(-1px);

  box-shadow:
    0 8px 20px rgba(118, 91, 234, .25);
}

.challange-creation-eligibility-custome-design .challange-eligibility-close-btn:active {
  transform: translateY(0);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .modal-content {
  background: #202832;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, .42) !important;
}


/* Header icon */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-mini-icon {
  box-shadow:
    0 6px 18px rgba(118, 91, 234, .22);
}


/* Hero */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-lock-icon {
  background: linear-gradient(135deg, #7269ef, #ff8c42);
}


/* Requirement cards */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-item {
  background: #27313b;
  border-color: rgba(255, 255, 255, .055);
}

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-item:hover {
  background: #2a3540;
  border-color: rgba(173, 130, 226, .20);
  box-shadow:
    0 7px 20px rgba(0, 0, 0, .20);
}


/* Progress background */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .progress {
  background-color: rgba(255, 255, 255, .08);
}


/* Tier badge */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-tier-badge {
  color: #d9a1d0;
  background: rgba(196, 91, 148, .14);
}


/* Information panel */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-info {
  background: rgba(41, 156, 219, .08);
  border-color: rgba(41, 156, 219, .12);
}


/* Close button */

[data-bs-theme="dark"] .challange-creation-eligibility-custome-design .challange-eligibility-close-btn {
  color: #fff;
}










/* =========================================
   DETAIL POST HEADER
   ========================================= */

.detail-post-card-custom {
  border: 1px solid rgba(123, 74, 184, .07);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.detail-post-card-custom:hover {
  border-color: rgba(123, 74, 184, .14);
}




.detail-post-card-custom .detail-post-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(216, 95, 159, .18);
}




.detail-post-card-custom .detail-post-creator-name {
  font-size: 14px;
  line-height: 1.2;
}




.detail-post-card-custom .detail-post-meta {
  color: var(--bs-secondary-color);
  font-size: 11px;
}

.detail-post-card-custom .detail-post-meta i {
  font-size: 11px;

}




.detail-post-card-custom .detail-post-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.detail-post-card-custom .detail-post-status i {
  font-size: 10px;
}

.detail-post-card-custom .detail-post-status-public {
  color: #4d72c9;
  background: rgba(77, 114, 201, .09);
}

.detail-post-card-custom .detail-post-status-membership {
  color: #9a58a8;
  background: rgba(154, 88, 168, .10);
}

.detail-post-card-custom .detail-post-status-draft {
  color: #bd8317;
  background: rgba(189, 131, 23, .10);
}




.detail-post-card-custom .detail-post-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--bs-secondary-color);
}

.detail-post-card-custom .detail-post-menu-btn::after {
  display: none;
}

.detail-post-card-custom .detail-post-menu-btn:hover {
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}




.detail-post-card-custom .detail-post-title {
  color: var(--bs-body-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}




.detail-post-card-custom .detail-post-description {
  color: var(--bs-secondary-color);
  font-size: 13px;
  line-height: 1.55;
}




.detail-post-card-custom .detail-post-see-more {
  display: inline-block;
  margin-left: 4px;

  color: #b54c92;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.detail-post-card-custom .detail-post-see-more:hover {
  color: #7b4ab8;
  text-decoration: underline;
}


.detail-post-card-custom .dropdown-menu {
  min-width: 130px;
  padding: 5px;
  background: var(--bs-body-bg);
}

.detail-post-card-custom .dropdown-item {
  border-radius: 6px;
  font-size: 12px;
  padding: 7px 9px;
}

.detail-post-card-custom .dropdown-item:hover {
  background: var(--bs-tertiary-bg);
}


[data-bs-theme="dark"] .detail-post-card-custom {
  background: var(--bs-body-bg) !important;
  border-color: rgba(255, 255, 255, .055);
}

[data-bs-theme="dark"] .detail-post-card-custom:hover {
  border-color: rgba(190, 117, 207, .18);
}

[data-bs-theme="dark"] .detail-post-card-custom .detail-post-status-public {
  color: #91a9ef;
  background: rgba(91, 119, 211, .14);
}

[data-bs-theme="dark"] .detail-post-card-custom .detail-post-status-membership {
  color: #d29bd8;
  background: rgba(170, 91, 177, .14);
}

[data-bs-theme="dark"] .detail-post-card-custom .detail-post-status-draft {
  color: #e7bd70;
  background: rgba(211, 153, 47, .13);
}

[data-bs-theme="dark"] .detail-post-card-custom .detail-post-meta i {
  color: #abb4d2;

}




/* share challange updated design */


.share-challenge-custom-design .modal-content {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}


.share-challenge-custom-design .share-challenge-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-challenge-custom-design .share-challenge-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  box-shadow: 0 5px 14px rgba(123, 74, 184, .18);
}

.share-challenge-custom-design .share-challenge-header-icon i {
  font-size: 18px;
}

.share-challenge-custom-design .share-challenge-image-wrapper {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(232, 93, 143, .10),
      rgba(123, 74, 184, .12));
}

.share-challenge-custom-design .share-challenge-image {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.share-challenge-custom-design .share-challenge-description {
  max-width: 380px;
  line-height: 1.55;
}


.share-challenge-custom-design .share-challenge-section {
  padding: 14px;
  border-radius: 14px;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}

.share-challenge-custom-design .share-challenge-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.share-challenge-custom-design .share-challenge-section-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
}

.share-challenge-custom-design .share-challenge-section-icon i {
  font-size: 14px;
}

.share-challenge-custom-design .custome-shadow-of-purple {
  box-shadow: 0 1px 2px rgba(139, 92, 246, 0.3) !important;
}

.share-challenge-custom-design .form-check-input[type=checkbox] {

  border-color: #00000030 !important;
}

.share-challenge-custom-design .form-check-input:checked {
  background-color: #7269ef !important;

}

.share-challenge-custom-design .share-contact-checkbox:not(:checked) {
  background-color: #f7f7f7;
}

.share-challenge-custom-design .share-challenge-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.share-challenge-custom-design .share-challenge-social-item {
  min-height: 70px;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: var(--bs-body-color);
  font-size: 10px;
  font-weight: 500;

  cursor: pointer;

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.share-challenge-custom-design .share-challenge-social-item:hover {
  transform: translateY(-2px);
  background: rgba(123, 74, 184, .04);
  box-shadow: 0 5px 14px rgba(123, 74, 184, .08);
}


.share-challenge-custom-design .share-challenge-social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-challenge-custom-design .share-challenge-social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}


.share-challenge-custom-design .share-challenge-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  color: var(--bs-secondary-color);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .7px;
}

.share-challenge-custom-design .share-challenge-divider::before,
.share-challenge-custom-design .share-challenge-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--bs-border-color);
}

.share-challenge-custom-design .share-challenge-search {
  border: 1px solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.share-challenge-custom-design .share-challenge-search:focus {
  border-color: rgba(123, 74, 184, .45);
  box-shadow: 0 0 0 3px rgba(123, 74, 184, .08);
}

.share-challenge-custom-design .share-challenge-search::placeholder {
  color: var(--bs-secondary-color);
  opacity: .8;
}

.share-challenge-custom-design .share-challenge-search-icon {
  color: var(--bs-secondary-color);
  z-index: 2;
}

.share-challenge-custom-design .share-challenge-list-icon {
  width: 27px;
  height: 27px;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #8b4c9f;
  background: rgba(123, 74, 184, .09);
}

.share-challenge-custom-design .share-challenge-list-icon i {
  font-size: 14px;
}

.share-challenge-custom-design .share-challenge-scroll {
  max-height: 190px;
  overflow: auto;
  padding: 2px;
}

.share-challenge-custom-design .share-challenge-footer {
  display: flex;
  gap: 10px;
}

.share-challenge-custom-design .share-challenge-cancel-btn,
.share-challenge-custom-design .share-challenge-send-btn {
  width: 50%;
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.share-challenge-custom-design .share-challenge-cancel-btn {
  border: 1px solid rgb(35 17 57 / 34%);
  background: transparent;
  color: #b54c7e;
}

.share-challenge-custom-design .share-challenge-cancel-btn:hover {
  background: rgba(232, 93, 143, .06);
}

.share-challenge-custom-design .share-challenge-send-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #726cfe, #ffa57c);
  box-shadow: 0 5px 14px rgba(123, 74, 184, .20);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.share-challenge-custom-design .share-challenge-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(123, 74, 184, .26);
}

.share-challenge-custom-design .share-challenge-send-btn i {
  font-size: 14px;
}

[data-bs-theme="dark"] .share-challenge-custom-design .modal-content {
  background: #211d2b;
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-section {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .08);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-social-item {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .08);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-social-item:hover {
  background: rgba(123, 74, 184, .12);
  border-color: rgba(210, 106, 180, .25);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .20);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-search {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .10);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-search:focus {
  border-color: rgba(210, 106, 180, .40);
  box-shadow: 0 0 0 3px rgba(123, 74, 184, .12);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-list-icon {
  color: #d99bc7;
  background: rgba(210, 106, 180, .10);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-cancel-btn {
  color: #e39abb;
  border-color: rgba(210, 106, 180, .28);
}


[data-bs-theme="dark"] .share-challenge-custom-design .share-challenge-cancel-btn:hover {
  background: rgb(35 17 57 / 34%);
}

[data-bs-theme="dark"] .share-challenge-custom-design .share-contact-checkbox:not(:checked) {
  background-color: #f7f7f7 !important;
}

[data-bs-theme="dark"] .share-challenge-custom-design .form-check-input[type=checkbox] {
  border-color: transparent !important;
}

/* Mobile */

@media (max-width: 400px) {

  .share-challenge-custom-design .share-challenge-social-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .share-challenge-custom-design .share-challenge-social-item {
    min-height: 64px;
    font-size: 9px;
  }

  .share-challenge-custom-design .share-challenge-social-icon,
  .share-challenge-custom-design .share-challenge-social-icon img {
    width: 25px;
    height: 25px;
  }

}

.community-feed-coustome-comment-section .custome-avatar-height-width {
  width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  min-width: 30px !important;
}

@media (max-width:575px) {
  .community-feed-updated-custom-design .custome-button-width-on-mobile-screen {
    width: 100% !important;
  }
}



/* Join Community First - SweetAlert */

.join-community-first-model-custome-popup {
  width: 460px !important;
  max-width: calc(100% - 32px) !important;
  padding: 32px 30px 28px !important;
  border-radius: 22px !important;
  background: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.join-community-first-model-custome-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 16px;
}

.join-community-first-model-custome-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(114, 108, 254) 0%, rgb(255, 165, 124) 100%);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(126, 91, 230, 0.25);
}

.join-community-first-model-custome-icon i {
  line-height: 1;
}

.join-community-first-model-custome-html {
  margin: 0 !important;
  padding: 0 !important;
}

.join-community-first-model-custome-content {
  width: 100%;
}

.join-community-first-model-custome-title {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--bs-body-color);
}

.join-community-first-model-custome-description {
  max-width: 370px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--bs-secondary-color);
}

.join-community-first-model-custome-community-name {
  color: #8a3f9d;
  font-weight: 700;
}

.join-community-first-model-custome-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 370px;
  margin: 20px auto 0;
  padding: 12px 14px;
  text-align: left;
  border-radius: 12px;
  background: rgba(13, 202, 240, 0.07);
  border: 1px solid rgba(13, 202, 240, 0.16);
}

.join-community-first-model-custome-info-icon {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(13, 202, 240, 0.12);
  color: var(--bs-info);
  font-size: 14px;
}

.join-community-first-model-custome-info-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--bs-secondary-color);
}

.join-community-first-model-custome-actions {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 26px 0 0 !important;
}

.join-community-first-model-custome-confirm-btn,
.join-community-first-model-custome-cancel-btn {
  width: 150px !important;
  min-width: 150px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.join-community-first-model-custome-confirm-btn i,
.join-community-first-model-custome-cancel-btn i {
  font-size: 16px;
}

.join-community-first-model-custome-confirm-btn {
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgb(114, 108, 254) 0%, rgb(255, 165, 124) 100%) !important;
  box-shadow: 0 7px 18px rgba(124, 92, 232, 0.22) !important;
}

.join-community-first-model-custome-confirm-btn:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, rgb(114, 108, 254) 0%, rgb(255, 165, 124) 100%) !important;
  box-shadow: 0 10px 24px rgba(124, 92, 232, 0.30) !important;
}

.join-community-first-model-custome-confirm-btn:active {
  transform: translateY(0) !important;
}

.join-community-first-model-custome-cancel-btn {
  border: 1px solid transparent !important;
  background: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color) !important;
  box-shadow: none !important;
}

.join-community-first-model-custome-cancel-btn:hover {
  transform: translateY(-2px) !important;
  background: var(--bs-secondary-bg) !important;
  color: var(--bs-body-color) !important;
  border-color: var(--bs-border-color) !important;
}

.join-community-first-model-custome-cancel-btn:active {
  transform: translateY(0) !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-popup {
  background: #252b32 !important;
  color: #f2f4f7 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.55) !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-title {
  color: #f5f7fa !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-description {
  color: #b8bec8 !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-community-name {
  color: #c49bea !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-icon {
  background: linear-gradient(135deg, rgb(114, 108, 254) 0%, rgb(255, 165, 124) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(121, 87, 237, 0.30);
}

[data-bs-theme="dark"] .join-community-first-model-custome-info {
  background: rgba(13, 202, 240, 0.07);
  border-color: rgba(13, 202, 240, 0.16);
}

[data-bs-theme="dark"] .join-community-first-model-custome-info-icon {
  background: rgba(13, 202, 240, 0.11);
  color: #55c7e9;
}

[data-bs-theme="dark"] .join-community-first-model-custome-info-text {
  color: #aeb6c2;
}

[data-bs-theme="dark"] .join-community-first-model-custome-cancel-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e5e8ed !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .join-community-first-model-custome-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
}

@media (max-width: 575.98px) {
  .join-community-first-model-custome-popup {
    width: calc(100% - 24px) !important;
    max-width: 420px !important;
    padding: 26px 20px 22px !important;
    border-radius: 19px !important;
  }

  .join-community-first-model-custome-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 25px;
  }

  .join-community-first-model-custome-title {
    font-size: 23px;
  }

  .join-community-first-model-custome-description {
    font-size: 13px;
  }

  .join-community-first-model-custome-info {
    margin-top: 17px;
  }

  .join-community-first-model-custome-actions {
    gap: 8px !important;
  }

  .join-community-first-model-custome-confirm-btn,
  .join-community-first-model-custome-cancel-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}
.hide-scrollbar-from-community-textarea{
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hide-scrollbar-from-community-textarea::-webkit-scrollbar {
  display: none;
}