.p-0{padding: 0 !important;}
.text-pink {
  color: #e90e8b !important;
}

.home-slider .owl-dots .owl-dot span {
  display: none !important;
}

.text-blue {
  color: #3daeff;
}

.bg-blue {
  background: #3daeff !important;
  border-color: #3daeff !important;
}
.bg-pink {
  background-color: #e90e8b !important;
}

.btn-red {
  background-color: #e90e2b !important;
}

.btn.dropdown-toggle::after {
  vertical-align: 0.15em;
}

.profile-photo {
  position: relative;
}
.profile-photo .profile-pic-edit {
  bottom: 29px;
  position: relative;
  right: 40px;
  background: #e90e8b;
  border-radius: 50%;
  padding: 5px;
}

.star-cont div a img {
  width: 50px;
  height: 50px;
}
/* .nav-item .dropdown-menu li:hover {
  background: #e90e8b;
  color: #fff !important;
}
.nav-item .dropdown-menu li a {
  transition: color 0s;
}

.nav-item .dropdown-menu li:hover a {
  color: #fff !important;
} */

.inbox-people {
  min-width: 340px !important;
}

.bg-msgboard {
  width: 50%;
  height: 50%;
  max-width: 200px;
  max-height: 200px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  object-fit: cover;
  opacity: 0.5;
}

.emoji-box {
  letter-spacing: 0.8rem !important;
  font-size: 3rem !important;
}
.cms-wrapper {
  margin: unset;
  width: unset;
}
@media only screen and (max-width: 1050px) {
  .bg-msgboard {
    width: 50%;
    height: 50%;
    max-width: 90px;
    max-height: 90px;
  }
}

.text-danger {
  font-size: 1rem !important;
}

.footer-menu-box ul li {
  margin-bottom: unset !important;
}

.footer-adress-info .social-btn a {
  display: flex;
}
.breadcrumb-list {
  display: flex !important;
}

.accordion {
  font-size: 1rem;
}

.accordion-item {
  margin: 10px;
}

.accordion-button {
  /* background-color: rgba(0,0,0,0.02); */
  /* border: 1px solid rgba(231, 13, 137,0.5); */
  background: hsla(0, 0%, 44%, 0.06);
}

.custom-toggler {
  display: none;
}

.navbar-toggler.close-btn {
  display: none !important;
}

.custom-toggler .hamburger {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(233 14 139)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}
@media only screen and (max-width: 1299px) {
  .custom-toggler {
    display: flex !important;
  }
  .navbar-toggler.close-btn {
    display: block !important;
  }
  .dropdown-menu.show {
    color: #000;
  }
  .login-signup a {
    color: #fff !important;
  }
}

.didnot-recived {
  font-size: 1rem !important;
}
.form-link {
  text-decoration: underline !important;
}
.header-search .search-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.owl-dots {
  margin-bottom: 30px;
}
/* .form-group{
  margin-bottom: 15px;
} */

.text-danger {
  margin: 0px 3px 0px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.profile-pic {
  overflow: hidden;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-select-height {
  padding: 10px 25px;
  height: 48px !important;
}

.pagination-box ul li {
  cursor: pointer !important;
}

.audio-wrapper {
  padding: 6px 6px;
  height: 65px;
  border: 2px solid #e90e8b !important;
  box-shadow: inset 0px 0px 2px 10px #fff;
  overflow: hidden;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.audio-btn {
  background-color: #e90e8b;
  appearance: none;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;

  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border: none;
  outline: none;
  color: #fff !important;
}
.action-box-head {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  z-index: 1;
}

.action-box-head-L a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  cursor: pointer !important;
}

.action-box-head-L {
  display: flex;
  align-items: center;
  /* z-index: 999; */
}
.edit-btn {
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  color: #292d32;
}

.delete-btn {
  background: #292d32;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
}

.btn-close {
  margin: 0px !important;
}

.modal-title {
  width: 100% !important;
}

.cursor-pointer {
  cursor: pointer !important;
  user-select: none;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: transparent;
}

.btn:disabled {
  color: #e90e8b;
  filter: grayscale(50%);
}

.description-ellipse p {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.para-ellipse {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-ellipse {
  /* display: inline-block; */
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loading-indicator:before {
  content: "";
  background: rgba(0, 0, 0, 0.9);
  opacity: 0.2;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  background-size: 50px;
}

.loading-indicator:after {
  content: url(../images/logo.svg);
  position: fixed;
  width: 100%;
  top: 40%;
  left: 0;
  z-index: 1001;
  color: #fffb00;
  z-index: 99999;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: PFDinMonoRegular;
}

.float-animation {
  animation: float 1s linear infinite;
  -webkit-animation: float 1s linear infinite;
}

.form-head {
  text-align: center;
}

.video-box .detail-video {
  object-fit: contain !important;
}

.content-parent {
  text-align: initial;
}

.dropdown-styles li {
  /* border-bottom: 2px solid #ccc; */
}

.list-marker-white::marker {
  color: #fff !important;
}

.actionBtn {
  display: flex;
  align-items: center;
}
.actionBtn a {
  margin-right: 10px;
}
.actionBtn a:last-child {
  margin-right: 0;
}
.actionBtn .blue-btn {
  background: #3daeff;
  border-color: #3daeff;
}
.actionBtn .blue-info {
  background: #f9c10b;
  border-color: #f9c10b;
}

.model-profile-info .owl-dots.disabled {
  display: block !important;
}

.model-profile-info .owl-stage-outer {
  max-height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.model-profile-info .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.model-profile-info .owl-carousel div.owl-nav > button {
  background: #e90e8b;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 23px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.model-profile-info .owl-carousel div.owl-nav > button span {
  margin-bottom: 4px;
}
.model-profile-info .owl-item {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.model-profile-info .owl-item div {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.audio-modal.thmub-box figure {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: solid 1px #f5f5f5;
  height: 230px;
}

.audio-modal.thmub-box figure img {
  width: auto;
  height: auto;
  object-fit: contain;
}

figure > div > div.owl-nav {
  position: absolute;
  top: 33%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.cart-carousel .owl-carousel .owl-nav button {
  background: #e90e8b !important;
  color: inherit;
  border: none;
  padding: 0px !important;
  font: inherit;
  height: 20px;
  width: 20px;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-carousel .owl-carousel .owl-nav button span {
  display: inline-block;
  margin-bottom: 2px;
}

.modal-header .btn-close {
  position: absolute !important;
  right: 10px;
  top: 10px;
}

.pink-btn-shadow {
  box-shadow: 0rem 0rem 1rem #e90e8b99;
}

.tip-btn {
  background-color: #e90e8b99;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;

  /* border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%; */
}
.tip-btn .tip-text {
  margin-top: 0.3px;
  font-weight: bolder;
}
.badge-gold {
  cursor: pointer;
  background-color: #ffd700 !important;
  color: #fff;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.badge-gold:hover {
  color: #fff !important;
  background-color: #e90e8b !important;
}
.sent_msg-bg {
  color: #fff !important;
  background: #3daeff;
  border: 1px solid #3daeff;
}

.sent_msg-bg p {
  color: #fff !important;
}

.user-details .chat-container {
  padding: 0px;
  margin: 0px;
}

.user-details .my-chat-box-main {
  padding: 0px !important;
  margin: 0px !important;
}

.modal-fullscreen {
  height: fit-content !important;
  min-height: 100vh !important;
}

.EmojiPickerReact {
  height: 450px;
  width: 350px;
  position: absolute !important;
  z-index: 999 !important;
  right: 0px !important;
  margin-top: 8px !important;
}

.emoji-container:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  right: 10px;
  background: red;
  z-index: -1;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}

.form-input-container {
  display: flex !important;
  justify-content: "space-around";
  align-items: "center";
}
.form-input {
  padding: 0.375rem 0.75rem;
  border: none;
  width: 100%;
  height: 42px;
  background: transparent;
}

.form-input:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.text-area-btn-float {
  bottom: 0px;
  right: 9px;
}

.order-product-list {
  padding-top: 15px;
  text-align: left;
}
.order-product-list h2 {
  font-size: 18px;
  font-weight: bold;
}
.order-detail-modal-bg .product-cart-list figure {
  height: 125px;
}
.order-detail-modal-bg .product-cart-list {
  padding: 15px;
  max-height: 292px;
  overflow: auto;
}

.quantity button:disabled {
  background: #ccc;
}

.dark-theme .quantity button:disabled {
  background: var(--slate-400) !important;
  border-color: var(--slate-400) !important;
  color: var(--slate-600) !important;
  cursor: not-allowed !important;
}

.desc-dots {
  display: inline-block;
  width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desc-dots + a {
  display: inline-block;
  vertical-align: top;
  margin-top: -1px;
}

.pass-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  height: 20px;
  width: 20px;
}
.stopWatchBtn {
  display: flex;
  border: #094fb7 solid 3px;
  border-radius: 10px;
  padding: 5px;
}
.startBtn {
  padding-left: 5px;
}
.stopBtn {
  padding-left: 5px;
}
.stop-msg {
  padding-left: 5px;
}

.favorite-btn {
  height: 48px;
  line-height: 45px;
  padding: 0px 25px;
  border: solid 1px #e90e8b;
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
}
.favorite-btn:hover {
  background: #fa68bb;
  color: #fff;
  border-color: #fa68bb;
}
.tip-list-btn {
  margin-left: 10px;
  padding: 0px 20px;
  background: #e90e8b;
  border: solid 1px #e90e8b;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
}

.list-model {
  display: grid;
}

.content-terms-modal .modal-content {
  border-radius: 10px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
}

.content-terms-modal .modal-dialog {
  max-width: 800px;
  margin: 1.75rem auto;
}

.content-terms-modal .modal-header {
  border-bottom: 1px solid #dee2e6;
}

.pdf-container {
  overflow: hidden;
  background: #f9f9f9;
  border: 1px solid #ddd;
}
.rounded-circle-img {
  width: 50%;
  height: auto;
  max-width: 200px;
  margin-right: 20px;
  object-fit: cover;
  border: 2px solid #007bff;
}

.incoming-call-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.call-popup {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.call-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.video-call-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0px;
  box-sizing: border-box;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0px;
  width: 100%;
  max-width: 100%;
  padding: 0px;
  box-sizing: border-box;
}

.remote-video-box {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.remote-video-box video {
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0px;
}

.local-video-box {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30%;
  max-width: 250px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.local-video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
}

.controls {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.8);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.control-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-button:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .remote-video-box {
    width: 100%;
    height: auto;
  }

  .local-video-box {
    width: 100%;
    max-width: 200px;
    max-height: 170px;
    height: auto;
    bottom: 10px;
    right: 10px;
  }

  .control-button {
    padding: 8px;
  }
}

.profile-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-color: transparent;
  border-radius: 0 !important;
}

.profile-video > div {
  all: unset !important;
  width: 100% !important;
  height: 100% !important;
  /* position: relative !important; */
  overflow: hidden !important;
  background-color: transparent !important;
}

/* ------------------- */

label.error {
  color: red !important;
  font-weight: bold !important;
  font-size: 14px !important;
  background-color: #fff5f5;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

/* You can place this in App.css or wherever your styles are */
.blurred {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
  position: relative;
}

.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .col-md-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .profile-video-box {
    margin-bottom: 20px;
  }
}

textarea::-webkit-scrollbar {
  width: 6px;
}

textarea::-webkit-scrollbar-track {
  background: transparent;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

.global-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.profile-message-box {
  height: 100%; /* to allow flex height stretching */
}

.profile-message-box-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.public-chat-list ul {
  padding-left: 0;
}

.message-send-box input.form-control {
  padding-right: 3rem; /* space for emoji icon */
}

.video-list-loader {
  position: "absolute";
  top: 0;
  left: 0;
  width: "100%";
  height: "100%";
  display: "flex";
  align-items: "center";
  justify-content: "center";
  background: "rgba(0,0,0,0.2)";
  z-index: 2;
  pointer-events: "none";
}

/* video + chat */
.video-chat-wrap {
  padding: 0;
}
.video-chat-wrap > .container-fluid {
  padding: 0;
}
.video-chat-wrap .row {
  margin: 0;
}
.video-chat-wrap .row > * {
  padding: 0;
}
.video-chat-wrap .profile-video-box {
  height: 100vh;
  padding: 0;
  background: transparent;
}
.video-chat-wrap .profile-video {
  height: 100vh;
  width: 100%;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  background: transparent;
}
.profile-video video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

/* Fix for dynamically created Agora video elements */
.profile-video > div > video,
.profile-video video,
.broadcaster-video-wrapper video,
.video-chat-wrap video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.video-chat-wrap .col-md-8 {
  width: calc(100% - 420px);
}
.video-chat-wrap .col-md-4 {
  width: 420px;
}
.video-chat-wrap .col-md-4 .tab-pane {
  height: 100%;
}
.tab-chat-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.message-input-container {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  /* margin-top: auto; */
  flex-shrink: 0;
  z-index: 10;
  padding: 12px 16px !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.message-input-container .form-control {
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 12px 96px 12px 14px !important;
  font-size: 14px !important;
  background: #f8fafc;
  transition: all 0.2s;
}

.message-input-container .form-control:focus {
  border-color: #e90e8b !important;
  box-shadow: 0 0 0 3px rgba(233, 14, 139, 0.08) !important;
  outline: none;
  background: #fff;
}

.message-input-container .form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Override input.css `textarea.form-control { height: 100px }` — chat composer stays single-line compact */
.message-input-container textarea.form-control,
.tab-chat-wrap textarea.form-control {
  height: auto !important;
  min-height: 44px !important;
  max-height: 120px !important;
  line-height: 1.45 !important;
  resize: none !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.message-input-container .chat-input-actions {
  position: absolute;
  right: 18px;
  top: auto;
  bottom: 20px;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  z-index: 4;
}

.message-input-container .emoji-toggle-btn {
  border: none;
  background: transparent;
  padding: 0;
}

.message-input-container .text-area-btn-float {
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50%;
  background: #eef2f7;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.message-input-container .text-area-btn-float img {
  width: 17px !important;
  height: 17px !important;
  object-fit: contain;
  opacity: 0.95;
}

.message-input-container .text-area-btn-float:active {
  transform: scale(0.96);
  background: rgba(148, 163, 184, 0.16);
}

/* Keep composer icons stable on hover (no jump/outside movement) */
.message-input-container .text-area-btn-float:hover {
  transform: scale(1.02) !important;
}

.message-input-container .chat-send-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4ba8 0%, #ff3fa6 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(233, 14, 139, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 3;
}

.message-input-container .chat-send-btn svg {
  width: 15px;
  height: 15px;
}

.message-input-container .chat-send-btn:hover {
  transform: scale(1) !important;
  box-shadow: 0 4px 10px rgba(233, 14, 139, 0.34);
}

.message-input-container .chat-send-btn:active {
  transform: scale(0.98);
}

.message-input-container .chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.public-chat-list {
  height: 100%;
  max-height: calc(100vh - 200px) !important;
  padding: 20px 24px !important;
  background: #fafbfc;
  flex: 1;
  overflow-y: auto;
}

.public-chat-list::-webkit-scrollbar {
  width: 5px;
}

.public-chat-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.public-chat-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.public-chat-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.profile-message-box {
  padding: 0 !important;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
/* .message-send-box input.form-control {
  padding-right: 6rem !important;
} */
.tab-chat-wrap .emoji-container {
  position: absolute !important;
  bottom: 100%;
  right: 12px;
  left: auto;
  margin-bottom: 8px;
  z-index: 2200;
}

.tab-chat-wrap .emoji-container .EmojiPickerReact {
  position: relative !important;
  right: auto !important;
  margin-top: 0 !important;
  width: min(320px, calc(100vw - 32px)) !important;
  max-width: min(320px, calc(100vw - 32px)) !important;
  height: 340px !important;
}

.tab-chat-wrap .emoji-container aside {
  position: relative !important;
  width: 100%;
}
.public-chat-list .welcome-msg-text {
  background-color: #e0f2fe;
  text-align: center;
  padding: 14px 18px;
  border-radius: 16px;
  margin: 12px 0;
  border: 1px solid #bae6fd;
  box-shadow: 0 1px 3px rgba(14, 165, 233, 0.1);
}

.public-chat-list .welcome-msg-text .chat-bubble-box {
  background: transparent !important;
  color: #0369a1;
  font-size: 14px;
  padding: 0;
  font-weight: 500;
  box-shadow: none !important;
}

.public-chat-list .welcome-msg-text small {
  color: #0284c7;
  margin-top: 8px;
}
.profile-message-box-inner {
  padding: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.04);
}

.message-tab-head {
  padding: 20px 24px !important;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  margin: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.message-tab-head h5 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
}
.public-chat-list .user-my-chat,
.public-chat-list .user-your-chat {
  padding: 4px 0;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
.public-chat-list .chat-bubble {
}
.user-my-chat .chat-bubble-box,
.user-your-chat .chat-bubble-box {
  background: #f3f4f6;
  border-radius: 16px;
  display: inline-block;
  padding: 12px 16px;
  word-break: break-word;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  line-height: 1.5;
  font-size: 14px;
}
.user-my-chat .chat-bubble,
.user-your-chat .chat-bubble {
  max-width: 75%;
  display: flex;
  flex-direction: column;
}
.user-my-chat .chat-bubble {
  text-align: right;
  margin-left: auto;
}
.public-chat-list small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
  opacity: 0.9;
  font-weight: 500;
}

.user-my-chat small {
  text-align: right;
  padding-right: 4px;
}

.user-your-chat small {
  text-align: left;
  padding-left: 4px;
}
.user-my-chat .chat-bubble-box {
  background: #e90e8b !important;
  color: #fff !important;
  border-radius: 16px 16px 4px 16px !important;
  margin-left: auto;
  box-shadow: 0 2px 4px rgba(233, 14, 139, 0.15) !important;
}

.user-your-chat .chat-bubble-box {
  background: #e0f2fe !important;
  color: #0c4a6e !important;
  border-radius: 16px 16px 16px 4px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.user-your-chat .chat-bubble-box strong {
  color: #0369a1;
  font-weight: 600;
}

.message-send-box {
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03);
}

/* Chat Input Field Styling */
.tab-chat-wrap .form-control {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 60px 12px 16px !important;
  font-size: 14px !important;
  transition: all 0.2s;
  background: #f8fafc;
  color: #1e293b;
}

.tab-chat-wrap .form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.tab-chat-wrap .form-control:focus {
  border-color: #e90e8b !important;
  box-shadow: 0 0 0 3px rgba(233, 14, 139, 0.08) !important;
  outline: none;
  background: #fff;
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn) {
  background: #e90e8b !important;
  border: none !important;
  border-radius: 50% !important;
  color: #fff !important;
  padding: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(233, 14, 139, 0.25);
  margin-left: 8px;
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn):hover {
  background: #c00d76 !important;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(233, 14, 139, 0.4) !important;
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn):active {
  transform: translateY(0) scale(1);
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn):disabled {
  background: #cbd5e1 !important;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none !important;
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn):disabled:hover {
  transform: none;
}

.tab-chat-wrap button[aria-label="Send message"]:not(.chat-send-btn) svg {
  fill: #fff;
  width: 20px;
  height: 20px;
}

.tab-chat-wrap .text-area-btn-float {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.tab-chat-wrap .text-area-btn-float:hover {
  background: #f1f5f9;
  transform: translateY(-50%) scale(1.05);
}

.tab-chat-wrap .text-area-btn-float img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.tab-chat-wrap .text-area-btn-float:hover img {
  opacity: 1;
}
/* video + chat */

/* Modal container */
.buy-modal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

/* ------------------------------------------------ */

.plan-head.bg-gradient-1 {
  background: linear-gradient(136.79deg, #4a6fff 24.22%, #88a2ff 100%);
}
.plan-head.bg-gradient-2 {
  background: linear-gradient(136.79deg, #34c759 24.22%, #75f98c 100%);
}
.plan-head.bg-gradient-3 {
  background: linear-gradient(136.79deg, #ff9500 24.22%, #ffc472 100%);
}
.plan-head.bg-gradient-4 {
  background: linear-gradient(136.79deg, #fe375f 24.22%, #ff7c9f 100%);
}
.plan-head.bg-gradient-5 {
  background: linear-gradient(136.79deg, #af52de 24.22%, #d579fa 100%);
}

/* Plan head styling */
.plan-head {
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  color: white;
  text-align: center;
}

/* Owl Carousel Navigation Buttons */
.profile-about-modal .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.profile-about-modal .owl-carousel .owl-nav button {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-about-modal .owl-carousel .owl-nav button:hover {
  background: #fff !important;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Broadcaster Component Enhanced Styles
   ======================================== */

/* Broadcaster Video Wrapper */
.broadcaster-video-wrapper {
  position: relative;
  background: transparent;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none;
}

/* Embedded Video Call - Top Left Corner */
.embedded-video-call {
  position: absolute;
  top: 80px;
  left: 20px;
  width: 280px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 200;
  border: 2px solid #fa68bb;
  cursor: grab;
  touch-action: none;
}

.embedded-video-call-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.embedded-call-username {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.embedded-call-close-btn {
  background: rgba(255, 0, 0, 0.7);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  font-size: 14px;
}

.embedded-call-close-btn:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.embedded-call-close-btn i {
  line-height: 1;
}

.embedded-remote-video {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embedded-remote-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Broadcaster Controls Overlay - Positioned at Top */
.broadcaster-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  z-index: 100;
  pointer-events: none;
}

.broadcaster-controls-overlay > * {
  pointer-events: all;
}

.broadcaster-header-info {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* User Info Section */
.broadcaster-user-info {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

.broadcaster-avatar {
  position: relative;
  margin: 0;
  width: 50px;
  height: 50px;
  min-width: 50px;
  margin-top: 1px; /* nudge to align top with username baseline */
}

.broadcaster-avatar img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.broadcaster-avatar:hover img {
  border-color: rgba(233, 14, 139, 0.6);
  box-shadow: 0 4px 16px rgba(233, 14, 139, 0.5);
}

.broadcaster-status-indicator {
  position: absolute !important;
  bottom: 0px !important;
  right: 0px !important;
  width: 14px !important;
  height: 14px !important;
  background: #10b981 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) !important;
  animation: pulse-live 2s infinite;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

@keyframes pulse-live {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
  }
}

.broadcaster-user-details {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 0;
}

.broadcaster-username {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.broadcaster-status {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}

.status-dot {
  width: 8px !important;
  height: 8px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  animation: blink-live 1.5s infinite;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.8) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

@keyframes blink-live {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.status-text {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  visibility: visible !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.viewer-count {
  display: inline-flex !important;
  align-items: center;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  visibility: visible !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.viewer-count i {
  font-size: 14px;
}

/* Model meta details in the broadcaster overlay */
.broadcaster-model-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.broadcaster-model-details span {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  line-height: 1.4;
  letter-spacing: 0.1px;
}

/* Control Buttons */
.broadcaster-control-buttons {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}

.broadcaster-btn {
  /* width: 48px !important; */
  height: 48px !important;
  min-width: 48px !important;
  border: none !important;
  border-radius: 20% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 100;
}

.broadcaster-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.broadcaster-btn:hover::before {
  width: 300px;
  height: 300px;
}

.broadcaster-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.broadcaster-btn:active {
  transform: translateY(0);
}

.broadcaster-btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.broadcaster-btn:hover i {
  transform: scale(1.1);
}

.broadcaster-btn-mic {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.broadcaster-btn-mic.inactive {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  opacity: 0.7 !important;
}

.broadcaster-btn-camera {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.broadcaster-btn-camera.inactive {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  opacity: 0.7 !important;
}

.flip-only-mobile {
  display: none !important;
}

.broadcaster-btn-end {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.broadcaster-btn-end:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* ── Private Show Button – desktop base ── */
.private-show-btn {
  border-radius: 50px !important;     /* pill shape instead of the square 20% */
  min-width: auto !important;
  padding: 0 18px !important;
  gap: 7px !important;
  height: 42px !important;
  font-size: 13px !important;
}

.private-show-btn.inactive {
  padding: 0 14px !important;
}

.private-show-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.private-show-text {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.2px;
}

.broadcaster-btn-tip {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.broadcaster-btn-tip:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
}

/* Incoming Call Overlay Enhanced */
.incoming-call-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.call-popup {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* .call-popup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233, 14, 139, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
} */

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.call-popup-header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.call-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #e90e8b 0%, #9d0b52 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(233, 14, 139, 0.4);
  animation: ring 2s infinite;
}

@keyframes ring {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(233, 14, 139, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(233, 14, 139, 0.6);
  }
}

.call-popup-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}

.call-popup-username {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.call-buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-call-answer,
.btn-call-decline {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-call-answer {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.btn-call-answer:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-call-decline {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn-call-decline:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-call-answer:active,
.btn-call-decline:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .flip-only-mobile {
    display: inline-flex !important;
  }

  .broadcaster-header-info {
    flex-direction: column;
    align-items: stretch;
  }

  .broadcaster-user-info {
    justify-content: center;
  }

  .broadcaster-control-buttons {
    justify-content: center;
    width: 100%;
  }

  .broadcaster-btn {
    flex: 1;
    max-width: 80px;
  }

  .call-popup {
    padding: 32px 24px;
    margin: 20px;
  }

  .call-popup-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .call-popup-username {
    font-size: 24px;
  }

  .call-buttons {
    flex-direction: column;
  }

  .btn-call-answer,
  .btn-call-decline {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .broadcaster-controls {
    padding: 16px !important;
  }

  .broadcaster-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .broadcaster-avatar img {
    width: 56px;
    height: 56px;
  }

  .broadcaster-username {
    font-size: 16px;
  }

  .broadcaster-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 18px;
  }

.user-profile-box .dropdown-menu {
  transform-origin: top left !important;
  inset: auto auto 100% 0 !important;
  margin-top: 0 !important;

  left: -20px !important; 
}
}

/* ========================================
   Private Video Call - Mobile Responsive
   ======================================== */

/* Mobile Portrait - Very Small Screens */
@media (max-width: 480px) {
  .video-call-overlay {
    padding: 0;
  }
  
  .video-container {
    flex-direction: column;
    height: 100vh;
    gap: 0;
  }
  
  .remote-video-box {
    width: 100%;
    height: calc(100vh - 100px);
    border-radius: 0;
  }
  
  .remote-video-box video {
    border-radius: 0;
  }
  
  .local-video-box {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100px;
    max-width: 100px;
    height: 130px;
    border-radius: 12px;
  }
  
  .local-video-box video {
    border-radius: 12px;
  }
  
  .video-label {
    font-size: 11px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  
  .controls {
    bottom: 20px;
    padding: 10px 14px;
    gap: 12px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.85);
  }
  
  .control-button {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .profile-video {
    aspect-ratio: 9 / 16;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .video-call-overlay {
    padding: 0;
  }
  
  .video-container {
    flex-direction: row;
    height: 100vh;
  }
  
  .remote-video-box {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  
  .local-video-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: auto;
    width: 150px;
    max-width: 150px;
    height: 100px;
    border-radius: 12px;
  }
  
  .controls {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    gap: 10px;
  }
  
  .control-button {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .profile-video {
    aspect-ratio: 16 / 9;
  }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
  .video-call-overlay {
    padding: 0;
  }
  
  .video-container {
    height: 100vh;
  }
  
  .remote-video-box {
    width: 100%;
    height: calc(100vh - 120px);
    border-radius: 0;
  }
  
  .local-video-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 140px;
    max-width: 140px;
    height: 180px;
    border-radius: 14px;
  }
  
  .video-label {
    font-size: 12px;
    padding: 5px 10px;
  }
  
  .controls {
    bottom: 25px;
    padding: 12px 20px;
    gap: 14px;
    border-radius: 16px;
  }
  
  .control-button {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
}

/* Desktop and larger screens */
@media (min-width: 769px) {
  .video-call-overlay {
    padding: 20px;
  }
  
  .remote-video-box {
    border-radius: 16px;
  }
  
  .local-video-box {
    top: 30px;
    right: 30px;
    width: 220px;
    max-width: 250px;
  }
  
  .controls {
    bottom: 40px;
    padding: 14px 24px;
    gap: 16px;
  }
  
  .control-button {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
}

/* Control Button Hover Effects for Touch */
@media (hover: none) and (pointer: coarse) {
  .control-button:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .control-button:active {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0.95);
  }
}

/* End Call Button - Red always visible */
.control-button.end-call {
  background: #ef4444 !important;
}

.control-button.end-call:hover,
.control-button.end-call:active {
  background: #dc2626 !important;
}

/* Muted/Camera Off State */
.control-button.muted,
.control-button.camera-off {
  background: rgba(239, 68, 68, 0.3) !important;
  border: 2px solid rgba(239, 68, 68, 0.6);
}

/* Safe Area for iPhone notch/home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .video-call-overlay {
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  .controls {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* Prevent scroll when video call is active */
body.video-call-active {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Private Show Button styles consolidated in base section above */

/* ========================================
   Mobile Portrait - Video + Chat Layout
   ======================================== */
@media (max-width: 768px) {
  .profile-message-box #pills-tabContent,
  .profile-message-box #pills-public {
    overflow: visible !important;
  }

  /* Keep only the collapsible "Chat" bar title on mobile */
  .video-chat-wrap .message-tab-head {
    display: none !important;
  }

  /* Stack video and chat vertically */
  .video-chat-wrap .row {
    flex-direction: column !important;
  }
  
  /* Video section - takes about 60% height */
  .video-chat-wrap .col-md-8 {
    width: 100% !important;
    height: 60vh !important;
    min-height: 320px !important;
  }
  
  .video-chat-wrap .profile-video-box {
    height: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }
  
  .video-chat-wrap .profile-video {
    height: 100% !important;
    width: 100% !important;
    aspect-ratio: unset !important;
    background: transparent !important;
  }
  
  .video-chat-wrap .profile-video video {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .video-chat-wrap .profile-video {
    height: 100% !important;
    aspect-ratio: unset !important;
  }
  
  /* Chat column wrapper – auto height, always shows toggle bar */
  .video-chat-wrap .col-md-4.profile-message-box-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: none !important;
  }

  /* Chat content hidden by default (max-height: 0 approach – no parent height hacks) */
  .video-chat-wrap .chat-column-content {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    will-change: max-height, opacity, transform;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease, transform 0.24s ease;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Expanded when toggle is open */
  .video-chat-wrap .col-md-4.profile-message-box-wrap.chat-open .chat-column-content {
    max-height: 44vh !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Video: full height minus toggle bar when chat is closed */
  .video-chat-wrap .col-md-8 {
    width: 100% !important;
    height: calc(100dvh - 52px) !important;
    min-height: 200px !important;
    flex: 0 0 auto !important;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* Video shrinks when chat is open */
  .video-chat-wrap.chat-is-open .col-md-8 {
    height: 56vh !important;
  }

  .video-chat-wrap .profile-message-box {
    flex: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  .video-chat-wrap .public-chat-list {
    max-height: calc(44vh - 120px) !important;
  }
  
  /* Compact controls for mobile */
  .video-chat-wrap .broadcaster-controls-overlay {
    padding: 10px 12px !important;
  }
  
  .video-chat-wrap .broadcaster-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  
  .video-chat-wrap .broadcaster-avatar img {
    width: 32px !important;
    height: 32px !important;
  }
  
  .video-chat-wrap .broadcaster-username {
    font-size: 13px !important;
    max-width: 100px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  .video-chat-wrap .broadcaster-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 16px !important;
  }
  
  .video-chat-wrap .broadcaster-control-buttons {
    gap: 6px !important;
  }
  
  .video-chat-wrap .broadcaster-status {
    gap: 4px !important;
  }
  
  .video-chat-wrap .status-text {
    font-size: 10px !important;
  }
  
  .video-chat-wrap .viewer-count {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
}

/* ========================================
   Broadcaster Page - Full Responsive System
   ======================================== */

/* --- Base: prevent body scroll on the broadcaster page --- */
.video-chat-wrap {
  overflow: hidden;
}

/* ---- Desktop Large (>1024px) - side by side, fixed 420px chat ---- */
/* Already handled by base styles: col-md-8 = calc(100%-420px), col-md-4 = 420px */

/* ---- Tablet (769px – 1024px) - proportional side-by-side split ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-chat-wrap .col-md-8 {
    width: 62% !important;
    height: 100vh !important;
  }

  .video-chat-wrap .col-md-4 {
    width: 38% !important;
  }

  .video-chat-wrap .profile-video-box {
    height: 100vh !important;
  }

  .video-chat-wrap .profile-video {
    height: 100vh !important;
  }

  .video-chat-wrap .profile-message-box {
    height: 100vh !important;
  }

  .video-chat-wrap .public-chat-list {
    max-height: calc(100vh - 180px) !important;
  }

  /* Embedded call - slightly smaller on tablet */
  .embedded-video-call {
    width: 220px !important;
    height: 160px !important;
  }

  /* Slightly smaller broadcaster controls */
  .broadcaster-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .broadcaster-avatar img {
    width: 40px !important;
    height: 40px !important;
  }

  .broadcaster-btn {
    height: 40px !important;
    min-width: 40px !important;
    font-size: 17px !important;
  }

  .broadcaster-username {
    font-size: 14px !important;
  }
}

/* ---- Mobile Portrait (≤768px) - stacked video on top, chat below ---- */
@media (max-width: 768px) {
  /* Full-width columns */
  .video-chat-wrap .col-md-8 {
    width: 100% !important;
    height: calc(100dvh - 52px) !important;
    min-height: 200px !important;
    flex: 0 0 auto !important;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .video-chat-wrap.chat-is-open .col-md-8 {
    height: 56vh !important;
  }

  .video-chat-wrap .col-md-4,
  .video-chat-wrap .col-md-4.profile-message-box-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }

  .video-chat-wrap .profile-video-box {
    height: 100% !important;
    min-height: unset !important;
  }

  .video-chat-wrap .profile-video {
    height: 100% !important;
    min-height: unset !important;
  }

  .video-chat-wrap .profile-message-box {
    height: 100% !important;
  }

  .video-chat-wrap .public-chat-list {
    max-height: calc(44vh - 110px) !important;
  }

  /* Compact overlay padding */
  .video-chat-wrap .broadcaster-controls-overlay {
    padding: 8px 10px !important;
    backdrop-filter: blur(5px) !important;
  }

  /* Smaller avatar */
  .video-chat-wrap .broadcaster-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  .video-chat-wrap .broadcaster-avatar img {
    width: 30px !important;
    height: 30px !important;
  }

  .video-chat-wrap .broadcaster-status-indicator {
    width: 10px !important;
    height: 10px !important;
  }

  /* Smaller username */
  .video-chat-wrap .broadcaster-username {
    font-size: 12px !important;
    max-width: 90px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* ── Fix: override old global flex-direction: column rule ── */
  .video-chat-wrap .broadcaster-header-info {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }

  .video-chat-wrap .broadcaster-user-info {
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  /* ── Fix: override old global flex:1 / max-width:80px on buttons ── */
  .video-chat-wrap .broadcaster-btn {
    flex: 0 0 auto !important;       /* stop stretch */
    max-width: none !important;      /* stop 80px cap */
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 15px !important;
  }

  /* ── Fix: override old global width:100% on button row ── */
  .video-chat-wrap .broadcaster-control-buttons {
    flex: 0 0 auto !important;
    width: auto !important;          /* stop full-width stretch */
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .video-chat-wrap .broadcaster-status {
    gap: 4px !important;
  }

  .video-chat-wrap .status-text {
    font-size: 9px !important;
    letter-spacing: 0 !important;
  }

  .video-chat-wrap .viewer-count {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }

  /* Embedded video call - compact on mobile */
  .embedded-video-call {
    width: 160px !important;
    height: 120px !important;
    top: 56px !important;
    left: 10px !important;
    border-radius: 8px !important;
  }

  .embedded-call-username {
    font-size: 11px !important;
  }

  .embedded-call-close-btn {
    width: 20px !important;
    height: 20px !important;
    font-size: 12px !important;
  }

  /* Incoming call popup */
  .call-popup {
    padding: 24px 20px !important;
    margin: 16px !important;
    border-radius: 18px !important;
  }

  .call-popup-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 24px !important;
  }

  .call-popup-title {
    font-size: 16px !important;
  }

  .call-popup-username {
    font-size: 20px !important;
  }

  .call-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .btn-call-answer,
  .btn-call-decline {
    width: 100% !important;
    padding: 12px !important;
  }
}

/* ---- Very Small Mobile (≤480px) ---- */
@media (max-width: 480px) {
  .video-chat-wrap .col-md-8 {
    height: calc(100dvh - 52px) !important;
    min-height: 200px !important;
  }

  .video-chat-wrap.chat-is-open .col-md-8 {
    height: 55vh !important;
  }

  .video-chat-wrap .col-md-4.profile-message-box-wrap {
    height: auto !important;
    min-height: 0 !important;
  }

  .video-chat-wrap .public-chat-list {
    max-height: calc(44vh - 100px) !important;
  }

  /* Even more compact controls */
  .video-chat-wrap .broadcaster-controls-overlay {
    padding: 6px 8px !important;
  }

  .video-chat-wrap .broadcaster-avatar {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
  }

  .video-chat-wrap .broadcaster-avatar img {
    width: 26px !important;
    height: 26px !important;
  }

  .video-chat-wrap .broadcaster-username {
    font-size: 11px !important;
    max-width: 70px !important;
  }

  .video-chat-wrap .broadcaster-btn {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .video-chat-wrap .broadcaster-control-buttons {
    flex: 0 0 auto !important;
    width: auto !important;
    gap: 4px !important;
  }

  /* Tiny embedded call */
  .embedded-video-call {
    width: 130px !important;
    height: 96px !important;
    top: 50px !important;
    left: 8px !important;
  }

  /* Hide viewer count text on very small screens */
  .video-chat-wrap .viewer-count {
    display: none !important;
  }
}

/* ---- Landscape Mobile (≤768px landscape) ---- */
@media (max-width: 768px) and (orientation: landscape) {
  /* In landscape, keep side-by-side to maximise video height */
  .video-chat-wrap .row {
    flex-direction: row !important;
  }

  .video-chat-wrap .col-md-8 {
    width: 60% !important;
    height: 100vh !important;
    min-height: unset !important;
  }

  .video-chat-wrap .col-md-4,
  .video-chat-wrap .col-md-4.profile-message-box-wrap {
    width: 40% !important;
    height: 100vh !important;
    min-height: unset !important;
  }

  .video-chat-wrap .profile-video-box {
    height: 100vh !important;
  }

  .video-chat-wrap .profile-video {
    height: 100vh !important;
  }

  .video-chat-wrap .profile-message-box {
    height: 100vh !important;
  }

  .video-chat-wrap .public-chat-list {
    max-height: calc(100vh - 160px) !important;
  }

  /* Compact overlay in landscape */
  .video-chat-wrap .broadcaster-controls-overlay {
    padding: 6px 10px !important;
  }

  /* Restore row layout in landscape (same fixes as portrait) */
  .video-chat-wrap .broadcaster-header-info {
    flex-direction: row !important;
    align-items: center !important;
  }

  .video-chat-wrap .broadcaster-btn {
    flex: 0 0 auto !important;
    max-width: none !important;
  }

  .video-chat-wrap .broadcaster-control-buttons {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  .embedded-video-call {
    width: 140px !important;
    height: 100px !important;
    top: 48px !important;
  }
}

/* ---- Safe Area Support (iOS notch / home indicator) ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .video-chat-wrap {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---- Touch devices: remove hover transform flicker on buttons ---- */
@media (hover: none) and (pointer: coarse) {
  .broadcaster-btn:hover {
    transform: none !important;
  }

  .broadcaster-btn:active {
    transform: scale(0.93) !important;
  }
}

/* ========================================
   Dark Theme Styles for Developer CSS
   ======================================== */

.dark-theme .text-pink {
  color: var(--secondary-400) !important;
}

.dark-theme .text-blue {
  color: var(--primary-600) !important;
}

.dark-theme .heading.text-blue {
  color: var(--primary-600) !important;
}

.dark-theme .bg-blue {
  background: var(--primary-600) !important;
  border-color: var(--primary-600) !important;
}

.dark-theme .bg-pink {
  background-color: var(--secondary-600) !important;
}

.dark-theme .btn-red {
  background-color: var(--red-600) !important;
}

.dark-theme .profile-photo .profile-pic-edit {
  background: var(--secondary) !important;
}

/* FAQ Accordion styles moved to style.css for consistency */

.dark-theme .custom-toggler .hamburger {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255 255 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.dark-theme .dropdown-menu.show {
  color: var(--slate-200) !important;
}

.dark-theme .login-signup a {
  color: var(--white) !important;
}

.dark-theme .header-search .search-btn svg path {
  fill: var(--slate-400) !important;
}

.dark-theme .audio-wrapper {
  border-color: var(--secondary) !important;
  box-shadow: inset 0px 0px 2px 10px var(--slate-800) !important;
}

.dark-theme .pagination-box ul li {
  color: var(--slate-200) !important;
}

.dark-theme .pagination-box ul li.active {
  background: var(--secondary) !important;
  color: var(--white) !important;
}

.dark-theme .profile-pic {
  border-color: var(--slate-700) !important;
}

.dark-theme .gallery-select-height {
  background-color: var(--slate-200) !important;
  border-color: var(--slate-300) !important;
  color: var(--slate-800) !important;
}

.dark-theme .gallery-select-height:focus {
  background-color: var(--slate-200) !important;
  border-color: var(--primary) !important;
  color: var(--slate-900) !important;
}

.dark-theme .form-link {
  color: var(--secondary-400) !important;
}

.dark-theme .form-link:hover {
  color: var(--secondary-300) !important;
}

.dark-theme .text-danger {
  color: var(--red-600) !important;
}

.dark-theme .didnot-recived {
  color: var(--slate-600) !important;
}

.dark-theme label.error {
  background-color: var(--red-950) !important;
  color: var(--red-700) !important;
}

.dark-theme .loader-overlay {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

.dark-theme .spinner {
  border-color: var(--slate-700) !important;
  border-top-color: var(--primary) !important;
}

.dark-theme .global-loader {
  background: rgba(0, 0, 0, 0.9) !important;
}

.dark-theme .video-list-loader {
  background: var(--slate-800) !important;
}

.dark-theme .rate-modal-ui-header {
  background: linear-gradient(180deg, var(--secondary-600) 0%, var(--secondary-800) 100%) !important;
}

.dark-theme .tab-button.active {
  background: var(--secondary) !important;
  color: var(--white) !important;
}

.dark-theme .tab-button {
  color: var(--slate-400) !important;
}

.dark-theme .tab-button:hover {
  color: var(--slate-200) !important;
}

.dark-theme .profile-info-tab .nav-tabs li a.active {
  background: var(--secondary) !important;
  color: var(--white) !important;
}


.dark-theme .received_withd_msg-bg {
  background-color: var(--slate-200) !important;
}

.dark-theme .profile-pic-rounded.thmub-box > div {
  border-color: var(--slate-300) !important;
  background: var(--slate-200) !important;
}

.dark-theme .table tr:hover td {
  background-color: var(--slate-200) !important;
}

.dark-theme .breadcrumb-item a {
  color: var(--slate-400) !important;
}

.dark-theme .breadcrumb-item.active {
  color: var(--slate-200) !important;
}

.dark-theme .cms-wrapper {
  background: var(--slate-200) !important;
  color: var(--slate-600) !important;
  border: 1px solid var(--slate-300) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .inbox-people {
  background: var(--slate-200) !important;
  border-color: var(--slate-300) !important;
}

.dark-theme .public-chat-list {
  background: var(--slate-200) !important;
}

.dark-theme .message-send-box {
  background: var(--slate-200) !important;
  border-color: var(--slate-300) !important;
}

.dark-theme .message-send-box input {
  background-color: var(--slate-200) !important;
  color: var(--slate-800) !important;
}

.dark-theme .message-send-box input::placeholder {
  color: var(--slate-500) !important;
}

/* Global Text Visibility Fix for All Pages */
.dark-theme .text-center p,
.dark-theme .text-center span,
.dark-theme .text-center div {
  color: var(--slate-600) !important;
}

.dark-theme .text-center.text-muted {
  color: var(--slate-600) !important;
}

.dark-theme .py-5 p,
.dark-theme .py-5 span,
.dark-theme .py-5 div {
  color: var(--slate-600) !important;
}

.dark-theme .py-5.text-muted {
  color: var(--slate-600) !important;
}

.dark-theme .py-5.text-center.text-muted {
  color: var(--slate-600) !important;
}

/* Ensure all nested text is visible */
.dark-theme * {
  color: inherit;
}

.dark-theme p,
.dark-theme span,
.dark-theme div,
.dark-theme li,
.dark-theme td,
.dark-theme th {
  color: var(--slate-600) !important;
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
  color: var(--slate-800) !important;
}

/* Override Bootstrap text utilities */
.dark-theme .text-muted {
  color: var(--slate-600) !important;
}

.dark-theme .text-dark {
  color: var(--slate-700) !important;
}

.dark-theme .text-light {
  color: var(--slate-800) !important;
}

.dark-theme .text-white {
  color: var(--white) !important;
}

.dark-theme .text-black {
  color: var(--slate-800) !important;
}

/* ================================================================
   Dark Mode – Broadcaster / Audience / VideoCall pages
   Applied when body has class "dark-theme"
   ================================================================ */

/* ── Shared: chat panel (GroupChat inside .profile-message-box-wrap) ── */
.dark-theme .video-chat-wrap .profile-message-box-wrap {
  background: var(--slate-100) !important;
  border-color: var(--slate-300) !important;
}

.dark-theme .video-chat-wrap .profile-message-box,
.dark-theme .video-chat-wrap .profile-message-box-inner {
  background: var(--slate-100) !important;
}

.dark-theme .video-chat-wrap .message-tab-head {
  background: var(--slate-100) !important;
  border-bottom-color: var(--slate-300) !important;
}

.dark-theme .video-chat-wrap .message-tab-head h5 {
  color: var(--slate-700) !important;
}

.dark-theme .video-chat-wrap .public-chat-list {
  background: var(--slate-100) !important;
}

.dark-theme .video-chat-wrap .message-input-container {
  background: var(--slate-200) !important;
  border-top-color: var(--slate-300) !important;
  box-shadow: none !important;
}

.dark-theme .video-chat-wrap .message-input-container .form-control,
.dark-theme .video-chat-wrap .tab-chat-wrap .form-control {
  background: var(--slate-300) !important;
  border-color: var(--slate-400) !important;
  color: var(--slate-800) !important;
}

.dark-theme .video-chat-wrap .message-input-container .form-control::placeholder,
.dark-theme .video-chat-wrap .tab-chat-wrap .form-control::placeholder {
  color: var(--slate-500) !important;
}

.dark-theme .video-chat-wrap .message-input-container .form-control:focus {
  border-color: #e90e8b !important;
  background: var(--slate-300) !important;
}

/* Chat bubbles – other user */
.dark-theme .video-chat-wrap .user-your-chat .chat-bubble-box {
  background: var(--slate-300) !important;
  border-color: var(--slate-400) !important;
  color: var(--slate-700) !important;
}

/* Chat bubbles – my messages stay pink */
.dark-theme .video-chat-wrap .user-my-chat .chat-bubble-box {
  background: #e90e8b !important;
  color: #fff !important;
}

/* Timestamp under bubbles */
.dark-theme .video-chat-wrap .public-chat-list small {
  color: var(--slate-500) !important;
}

/* No-chat empty state */
.dark-theme .video-chat-wrap .no-chat-box {
  color: var(--slate-500) !important;
}

.dark-theme .video-chat-wrap .no-chat-box h5 {
  color: var(--slate-600) !important;
}

/* Scrollbar in dark mode */
.dark-theme .video-chat-wrap .public-chat-list::-webkit-scrollbar-thumb {
  background: var(--slate-400) !important;
}

/* Mobile portrait – glass chat overlay (keep semi-transparent, not solid) */
@media (max-width: 768px) and (orientation: portrait) {
  .dark-theme .video-chat-wrap .col-md-4.profile-message-box-wrap {
    background: rgba(15, 15, 15, 0.88) !important;
    backdrop-filter: blur(14px) !important;
  }

  .dark-theme .video-chat-wrap .profile-message-box,
  .dark-theme .video-chat-wrap .profile-message-box-inner,
  .dark-theme .video-chat-wrap .message-tab-head,
  .dark-theme .video-chat-wrap .public-chat-list {
    background: transparent !important;
  }

  .dark-theme .video-chat-wrap .message-input-container {
    background: rgba(30, 30, 30, 0.85) !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
  }
}

/* ── VideoCall page – dark mode already handled below in the VideoCall section ── */

/* ================================================================
   VideoCall Page  –  Full Responsive System
   ================================================================ */

/* ── Desktop base: side-by-side (video | chat) ── */
.video-call-page {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* ── Video panel ── */
.video-call-overlay {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.video-call-overlay .video-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Remote video fills the entire panel */
.video-call-overlay .remote-video-box {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  background: #111 !important;
  box-shadow: none !important;
}

.video-call-overlay .remote-video-box .profile-video {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

.video-call-overlay .remote-video-box .profile-video > div,
.video-call-overlay .remote-video-box .profile-video video,
.video-call-overlay .remote-video-box video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* Local video – PiP in top-right corner */
.video-call-overlay .local-video-box {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  /* Desktop: landscape preview (smaller + horizontal) */
  width: 210px !important;
  max-width: 210px !important;
  height: 122px !important;
  max-height: 122px !important;
  border-radius: 14px !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  background: #222 !important;
  z-index: 20 !important;
  cursor: grab;
  touch-action: none;
}

.video-call-overlay .local-video-box .profile-video {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
}

.video-call-overlay .local-video-box .profile-video > div,
.video-call-overlay .local-video-box .profile-video video,
.video-call-overlay .local-video-box video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* Video labels */
.video-call-overlay .video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  z-index: 5;
}

/* Controls – glass pill floating over video */
.video-call-overlay .controls {
  position: absolute !important;
  bottom: 32px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: rgba(10, 10, 20, 0.70) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  z-index: 100 !important;
  flex-wrap: nowrap !important;
}

/* Control buttons */
.video-call-overlay .control-button {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  flex-shrink: 0 !important;
}


.video-call-overlay .control-button:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  transform: scale(1.08) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.video-call-overlay .control-button:active {
  transform: scale(0.94) !important;
}

.video-call-overlay .control-button:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

/* End-call button – white background + red icon */
.video-call-overlay .end-call-btn {
  background: #ffffff !important;
  border-color: rgba(239, 68, 68, 0.30) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
  color: #ef4444 !important;
}

.video-call-overlay .end-call-btn svg,
.video-call-overlay .end-call-btn svg * {
  color: #ef4444 !important;
  fill: #ef4444 !important;
}

.video-call-overlay .end-call-btn:hover {
  background: #fff5f5 !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.30) !important;
  transform: scale(1.08) !important;
}

/* ── Chat sidebar – layout + theme-aware colors ── */
.video-call-page .chat-sidebar {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--slate-200);
}

/* Light mode: use CSS vars (auto-resolved from :root) */
.video-call-page .chat-sidebar .profile-message-box,
.video-call-page .chat-sidebar .profile-message-box-inner,
.video-call-page .chat-sidebar .tab-content,
.video-call-page .chat-sidebar .tab-pane,
.video-call-page .chat-sidebar .tab-chat-wrap,
.video-call-page .chat-sidebar .public-chat-list {
  background: var(--slate-50) !important;
}

.video-call-page .chat-sidebar .message-input-container {
  background: #fff !important;
  border-top: 1px solid var(--slate-200) !important;
}

.video-call-page .chat-sidebar .profile-message-box {
  height: 100% !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

.video-call-page .chat-sidebar .profile-message-box-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-call-page .chat-sidebar .tab-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-call-page .chat-sidebar .tab-pane {
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.video-call-page .chat-sidebar .tab-chat-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.video-call-page .chat-sidebar .public-chat-list {
  flex: 1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  max-height: none !important;
}

.video-call-page .chat-sidebar .message-input-container {
  flex-shrink: 0 !important;
}

.video-call-page .chat-sidebar .tab-chat-wrap .emoji-container {
  bottom: calc(100% + 4px);
  margin-bottom: 0;
}

/* ── VideoCall – Dark Mode (body.dark-theme) ── */
.dark-theme .video-call-page .chat-sidebar {
  border-left: 1px solid var(--slate-300) !important;
}

.dark-theme .video-call-page .chat-sidebar .profile-message-box,
.dark-theme .video-call-page .chat-sidebar .profile-message-box-inner,
.dark-theme .video-call-page .chat-sidebar .tab-content,
.dark-theme .video-call-page .chat-sidebar .tab-pane,
.dark-theme .video-call-page .chat-sidebar .tab-chat-wrap {
  background: var(--slate-100) !important;
}

.dark-theme .video-call-page .chat-sidebar .message-tab-head {
  background: var(--slate-100) !important;
  border-bottom: 1px solid var(--slate-300) !important;
}

.dark-theme .video-call-page .chat-sidebar .public-chat-list {
  background: var(--slate-100) !important;
}

.dark-theme .video-call-page .chat-sidebar .message-input-container {
  background: var(--slate-200) !important;
  border-top: 1px solid var(--slate-300) !important;
}

.dark-theme .video-call-page .chat-sidebar .message-input-container .form-control {
  background: var(--slate-300) !important;
  border-color: var(--slate-400) !important;
  color: var(--slate-800) !important;
}

.dark-theme .video-call-page .chat-sidebar .message-input-container .form-control::placeholder {
  color: var(--slate-500) !important;
}

.dark-theme .message-input-container textarea.form-control,
.dark-theme .tab-chat-wrap textarea.form-control,
.dark-theme .video-call-page .chat-sidebar .message-input-container textarea.form-control {
  height: auto !important;
  min-height: 44px !important;
  max-height: 120px !important;
  resize: none !important;
  overflow-y: auto !important;
}



/* ================================================================
   VideoCall – TABLET (769 – 1024px)
   ================================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-call-page .chat-sidebar {
    width: 300px;
  }

  .video-call-overlay .local-video-box {
    /* Tablet/Web: keep horizontal compact PiP */
    width: 170px !important;
    max-width: 170px !important;
    height: 100px !important;
    max-height: 100px !important;
  }

  .video-call-overlay .controls {
    padding: 10px 20px !important;
    gap: 12px !important;
  }

  .video-call-overlay .control-button {
    width: 46px !important;
    height: 46px !important;
    font-size: 16px !important;
  }
}

/* ================================================================
   VideoCall – MOBILE PORTRAIT (≤ 768px)
   Full-screen video + glass chat overlay at bottom
   ================================================================ */
@media (max-width: 768px) {
  /* Page becomes a stacking context */
  .video-call-page {
    position: relative;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  /* Video takes the full screen */
  .video-call-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    flex: none !important;
    z-index: 1;
  }

  .video-call-overlay .video-container {
    height: 100% !important;
    width: 100% !important;
  }

  /* Local PiP – smaller on mobile */
  .video-call-overlay .local-video-box {
    top: 12px !important;
    right: 12px !important;
    /* Mobile: portrait preview (vertical) */
    width: 118px !important;
    max-width: 118px !important;
    height: 170px !important;
    max-height: 170px !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
  }

  /* Controls – above toggle bar when chat closed; rises when chat opens */
  .video-call-overlay .controls {
    bottom: 68px !important;  /* above the 52px toggle bar */
    padding: 10px 18px !important;
    gap: 10px !important;
  }

  .video-call-page.chat-is-open .video-call-overlay .controls {
    bottom: calc(44vh + 16px) !important;
  }

  .video-call-overlay .control-button {
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
  }

  /* Chat sidebar – collapsed (toggle bar only) by default */
  .video-call-page .chat-sidebar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 52px !important;       /* only toggle bar visible */
    border-left: none !important;
    border-radius: 18px 18px 0 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 60 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* Expanded state */
  .video-call-page .chat-sidebar.chat-open {
    height: 44vh !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  /* GroupChat wrapper – hidden when sidebar is collapsed */
  .video-call-page .chat-sidebar .chat-sidebar-content {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    will-change: max-height, opacity, transform;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease, transform 0.24s ease;
    display: flex !important;
    flex-direction: column !important;
  }

  .video-call-page .chat-sidebar.chat-open .chat-sidebar-content {
    max-height: 44vh !important;
    flex: 1 !important;
    min-height: 0 !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Hide inner GroupChat header: mobile toggle already has Chat title */
  .video-call-page .chat-sidebar .message-tab-head {
    display: none !important;
  }

  .video-call-page .chat-sidebar .message-tab-head::before {
    display: none !important;
  }

  .video-call-page .chat-sidebar .message-tab-head h5 {
    display: none !important;
  }

  .video-call-page .chat-sidebar .public-chat-list {
    padding: 6px 12px !important;
    max-height: calc(44vh - 110px) !important;
  }

  .video-call-page .chat-sidebar .message-input-container {
    padding: 8px 12px !important;
  }

  .video-call-page .chat-sidebar .message-input-container .form-control {
    min-height: 42px !important;
    padding: 10px 56px 10px 12px !important;
  }

  .message-input-container .chat-input-actions {
    right: 20px;
    bottom: 20px;
    gap: 3px;
  }

  .video-call-page .chat-sidebar .message-input-container .text-area-btn-float,
  .message-input-container .text-area-btn-float {
    width: 26px !important;
    height: 26px !important;
  }

  .message-input-container .text-area-btn-float img {
    width: 16px !important;
    height: 16px !important;
  }

  .message-input-container .chat-send-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .message-input-container .chat-send-btn svg {
    width: 14px;
    height: 14px;
  }

  .tab-chat-wrap .emoji-container {
    right: 8px;
    left: 8px;
    bottom: calc(100% + 6px);
    z-index: 2500;
  }

  .tab-chat-wrap .emoji-container .EmojiPickerReact {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
  }
}

/* ================================================================
   VideoCall – VERY SMALL MOBILE (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .video-call-overlay .local-video-box {
    width: 96px !important;
    max-width: 96px !important;
    height: 136px !important;
    max-height: 136px !important;
    top: 10px !important;
    right: 10px !important;
    border-radius: 10px !important;
  }

  .video-call-overlay .controls {
    bottom: 68px !important;   /* above toggle bar, overrides 768px rule */
    padding: 8px 14px !important;
    gap: 8px !important;
  }

  .video-call-page.chat-is-open .video-call-overlay .controls {
    bottom: calc(46vh + 12px) !important;
  }

  .video-call-overlay .control-button {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }

  .video-call-page .chat-sidebar.chat-open {
    height: 46vh !important;
  }

  .video-call-page .chat-sidebar .public-chat-list {
    max-height: calc(46vh - 110px) !important;
  }
}

/* ================================================================
   VideoCall – LANDSCAPE MOBILE (≤ 768px landscape)
   Side-by-side: video left, chat right
   ================================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .video-call-page {
    flex-direction: row !important;
  }

  .video-call-overlay {
    position: relative !important;
    inset: auto !important;
    width: 60% !important;
    height: 100% !important;
    flex: none !important;
  }

  .video-call-page .chat-sidebar {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 40% !important;
    height: 100% !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
  }

  /* Hide toggle bar in landscape – always show full chat */
  .video-call-page .chat-sidebar .mobile-chat-toggle {
    display: none !important;
  }

  .video-call-page .chat-sidebar .message-tab-head::before {
    display: none;
  }

  .video-call-page .chat-sidebar .message-tab-head h5 {
    margin-top: 0 !important;
  }

  .video-call-overlay .controls {
    bottom: 16px !important;
  }

  .video-call-overlay .local-video-box {
    /* Mobile landscape: still keep portrait preview */
    width: 92px !important;
    max-width: 92px !important;
    height: 128px !important;
    max-height: 128px !important;
    top: 10px !important;
    right: 10px !important;
  }

  .video-call-page .chat-sidebar .public-chat-list {
    max-height: calc(100vh - 140px) !important;
  }
}

/* Safe area (iOS home indicator) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .video-call-page .chat-sidebar .message-input-container {
      padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
    }
  }
}

/* ================================================================
   Mobile Chat Toggle Button
   Used in Broadcaster, Audience, and VideoCall pages
   ================================================================ */

/* Hidden on desktop */
.mobile-chat-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* Show toggle on mobile */
  .mobile-chat-toggle {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    flex-shrink: 0;
    padding: 0 20px;
    background: #1e293b;
    color: #e2e8f0;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 18px 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
    touch-action: manipulation;
  }

  /* Drag-handle pill at top */
  .mobile-chat-toggle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
  }

  .mobile-chat-toggle:active {
    background: #263448;
    transform: scale(0.985);
  }

  .mobile-chat-toggle .chat-toggle-icon {
    font-size: 17px;
    opacity: 0.85;
  }

  /* Chevron rotates when open */
  .mobile-chat-toggle .chat-toggle-chevron {
    position: absolute;
    right: 18px;
    font-size: 20px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-chat-toggle.chat-open .chat-toggle-chevron {
    transform: rotate(180deg);
  }

  .mobile-chat-toggle.chat-open {
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.16);
  }

  /* Dark mode */
  .dark-theme .mobile-chat-toggle {
    background: #141414;
    color: #e2e8f0;
    border-top-color: rgba(255, 255, 255, 0.06);
  }

  .dark-theme .mobile-chat-toggle:active {
    background: #1e1e1e;
  }

  /* Desktop sidebar must always show GroupChat (no toggle button) */
  .video-call-page .chat-sidebar .mobile-chat-toggle,
  .video-chat-wrap .profile-message-box-wrap .mobile-chat-toggle {
    border-radius: 0;
  }
}

/* On desktop and landscape: ensure toggle stays hidden, sidebar full height */
@media (min-width: 769px) {
  .mobile-chat-toggle {
    display: none !important;
  }

  /* VideoCall desktop: chat-sidebar-content fills full height */
  .video-call-page .chat-sidebar .chat-sidebar-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* Broadcaster/Audience desktop: restore normal layout */
  .video-chat-wrap .col-md-4.profile-message-box-wrap {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    transition: none !important;
  }
}

/* ========================================
   Private Call Continue Payment Modal
   ======================================== */

.private-call-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: privateCallFadeIn 0.3s ease;
}

@keyframes privateCallFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.private-call-modal {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(233, 14, 139, 0.3),
                0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(233, 14, 139, 0.3);
    animation: privateCallSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes privateCallSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.private-call-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.private-call-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E90E8B 0%, #ff6b9d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(233, 14, 139, 0.4);
    animation: privateCallPulse 2s infinite;
}

@keyframes privateCallPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(233, 14, 139, 0.4);
    }
    50% {
        box-shadow: 0 15px 40px rgba(233, 14, 139, 0.6);
    }
}

.private-call-icon i {
    font-size: 36px;
    color: white;
}

.private-call-modal h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.private-call-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.private-call-description strong {
    color: #ff6b9d;
    font-size: 18px;
}

.private-call-timer {
    margin: 10px 0;
}

.timer-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(233, 14, 139, 0.2) 0%, rgba(255, 107, 157, 0.1) 100%);
    border: 3px solid #E90E8B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: timerPulse 1s infinite;
}

@keyframes timerPulse {
    0%, 100% {
        transform: scale(1);
        border-color: #E90E8B;
    }
    50% {
        transform: scale(1.02);
        border-color: #ff6b9d;
    }
}

.timer-number {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.timer-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.private-call-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-continue-payment {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #E90E8B 0%, #ff6b9d 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 14, 139, 0.4);
}

.btn-continue-payment:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(233, 14, 139, 0.5);
    background: linear-gradient(135deg, #ff1a9b 0%, #ff7fad 100%);
}

.btn-continue-payment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-continue-payment i {
    font-size: 20px;
}

.btn-skip-payment {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-skip-payment:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-skip-payment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-skip-payment i {
    font-size: 18px;
}

.private-call-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.private-call-note i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* Spinner Animation for loading state */
.ri-spin {
    animation: riSpin 1s linear infinite;
}

@keyframes riSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive adjustments for Private Call Modal */
@media (max-width: 480px) {
    .private-call-modal {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .private-call-icon {
        width: 70px;
        height: 70px;
    }
    
    .private-call-icon i {
        font-size: 30px;
    }
    
    .private-call-modal h3 {
        font-size: 20px;
    }
    
    .private-call-description {
        font-size: 14px;
    }
    
    .timer-circle {
        width: 85px;
        height: 85px;
    }
    
    .timer-number {
        font-size: 30px;
    }
    
    .btn-continue-payment {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ================================================================
   Audience Page – Specific Responsive Overrides
   (Applied on top of the shared video-chat-wrap system)
   ================================================================ */

/* ---- Audience overlay: allow buttons to wrap when 4 appear ---- */
@media (max-width: 768px) {
  /* Header row can wrap so 4 buttons don't overflow */
  .video-chat-wrap .broadcaster-header-info {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  /* User-info stays left, buttons wrap to second line only if needed */
  .video-chat-wrap .broadcaster-user-info {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  /* Control buttons: allow wrap & compact gap */
  .video-chat-wrap .broadcaster-control-buttons {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
  }

  /* Shrink model detail text in overlay  */
  .video-chat-wrap .broadcaster-model-details {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    opacity: 0.75;
  }

  /* Private Show button – compact pill on mobile */
  .video-chat-wrap .private-show-btn {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    height: 34px !important;
    padding: 0 10px !important;
    gap: 5px !important;
    border-radius: 50px !important;
  }

  .video-chat-wrap .private-show-text {
    font-size: 9px !important;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  .video-chat-wrap .private-show-icon {
    font-size: 14px;
    flex-shrink: 0;
  }
}

/* ---- Very Small Mobile (≤ 480px) – hide model details, icon-only private btn ---- */
@media (max-width: 480px) {
  /* Hide model meta (age / height / build) completely */
  .video-chat-wrap .broadcaster-model-details {
    display: none !important;
  }

  /* Private Show button: icon-only on very small screens */
  .video-chat-wrap .private-show-text {
    display: none !important;
  }
  .video-chat-wrap .private-show-btn {
    flex: 0 0 auto !important;
    max-width: none !important;
    height: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    gap: 0 !important;
  }

  /* Tighter control buttons row */
  .video-chat-wrap .broadcaster-control-buttons {
    gap: 4px !important;
  }

  /* Ensure header doesn't overflow viewport */
  .video-chat-wrap .broadcaster-header-info {
    gap: 6px !important;
  }
}

/* ================================================================
   Private-Call / Continue-Payment Modal – Mobile Responsive
   ================================================================ */
@media (max-width: 768px) {
  .private-call-overlay {
    padding: 16px;
    align-items: flex-end; /* slide up from bottom on mobile */
  }

  .private-call-modal {
    padding: 28px 20px !important;
    border-radius: 24px 24px 16px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    animation: privateCallSlideUpMobile 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
  }

  @keyframes privateCallSlideUpMobile {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .private-call-modal-content {
    gap: 14px !important;
  }

  .private-call-icon {
    width: 64px !important;
    height: 64px !important;
  }

  .private-call-icon i {
    font-size: 28px !important;
  }

  .private-call-modal h3 {
    font-size: 20px !important;
  }

  .private-call-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .private-call-description strong {
    font-size: 15px !important;
  }

  .timer-circle {
    width: 80px !important;
    height: 80px !important;
  }

  .timer-number {
    font-size: 28px !important;
  }

  .private-call-buttons {
    gap: 10px !important;
  }

  .btn-continue-payment {
    padding: 14px 18px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .btn-skip-payment {
    padding: 12px 18px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  .private-call-note {
    font-size: 11px !important;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .private-call-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .private-call-modal {
    border-radius: 20px 20px 0 0 !important;
    padding: 24px 16px !important;
  }

  .private-call-icon {
    width: 56px !important;
    height: 56px !important;
  }

  .private-call-icon i {
    font-size: 24px !important;
  }

  .private-call-modal h3 {
    font-size: 18px !important;
  }

  .timer-circle {
    width: 70px !important;
    height: 70px !important;
  }

  .timer-number {
    font-size: 24px !important;
  }

  .btn-continue-payment,
  .btn-skip-payment {
    font-size: 13px !important;
    padding: 12px 14px !important;
  }
}

/* WhatsApp-like chat users list */
.chat-users-wa .scroll-chat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
}

.chat-users-wa .inbox_chat.row {
  margin-left: 0;
  margin-right: 0;
}

.chat-users-wa .inbox_chat.row > * {
  padding-left: 0;
  padding-right: 0;
}

.chat-wa-row {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  transition: background-color 0.18s ease;
}

.chat-wa-row:hover {
  background: #f7fafc;
}

.chat-users-wa .inbox_chat.row > div:last-child .chat-wa-row {
  border-bottom: none;
}

.chat-wa-main {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.chat-wa-avatar {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
}

.chat-wa-avatar img {
  border-radius: 50%;
}

.chat-wa-content {
  flex: 1;
  min-width: 0;
}

.chat-wa-topline,
.chat-wa-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-wa-name {
  margin: 0;
  color: #0f172a !important;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-wa-time {
  color: #64748b;
  font-size: 11px;
  flex-shrink: 0;
}

.chat-wa-last-message {
  margin: 2px 0 0;
  color: #64748b !important;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.chat-wa-unread-badge {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 6px;
  background: #E90E8B  ;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark-theme .chat-users-wa .scroll-chat {
  background: #111827;
  border-color: #334155;
}

.dark-theme .chat-wa-row {
  background: #111827;
  border-color: #1f2937;
}

.dark-theme .chat-wa-row:hover {
  background: #1f2937;
}

.dark-theme .chat-wa-name {
  color: #e2e8f0 !important;
}

.dark-theme .chat-wa-time,
.dark-theme .chat-wa-last-message {
  color: #94a3b8 !important;
}

.chat-users-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #edf1f5;
}

.chat-users-page-btn {
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #334155;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.chat-users-page-btn:hover:not(:disabled) {
  border-color: #94a3b8;
  background: #f8fafc;
}

.chat-users-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chat-users-page-indicator {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.dark-theme .chat-users-pagination {
  border-top-color: #1f2937;
}

.dark-theme .chat-users-page-btn {
  border-color: #334155;
  background: #111827;
  color: #cbd5e1;
}

.dark-theme .chat-users-page-btn:hover:not(:disabled) {
  background: #1f2937;
}

.dark-theme .chat-users-page-indicator {
  color: #94a3b8;
}

/* Profile "Chats" tab — total unread badge */
.profile-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-tab-unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-info-tab .nav-link.active .profile-tab-unread-badge {
  background: #fff;
  color: #e11d48 !important;
}

.dark-theme .profile-tab-unread-badge {
  background: #f43f5e;
  color: #fff !important;
}

.dark-theme .profile-info-tab .nav-link.active .profile-tab-unread-badge {
  background: #fff;
  color: #be123c !important;
}

/* Navbar premium message/profile actions */
.search-login-box {
  gap: 10px;
}

.premium-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%) !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.premium-icon-btn:hover,
.premium-icon-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  color: #e90e8b !important;
}

.premium-icon-btn i {
  font-size: 20px;
  line-height: 1;
}

.premium-notification-text {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(225, 29, 72, 0.35);
}

.premium-counter-chip {
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(225, 29, 72, 0.35);
  flex-shrink: 0;
}

.premium-counter-chip-inline {
  margin-left: 10px;
}

.premium-dropdown-menu {
  min-width: 300px !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.16);
  background: #fff;
}

.premium-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  padding: 4px 4px 8px;
}

.premium-chat-row {
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 2px;
  gap: 8px;
}

.premium-chat-row:hover {
  background: #f8fafc;
}

.premium-chat-user-block {
  gap: 10px;
  min-width: 0;
}

.premium-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #eef2ff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.premium-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-chat-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.premium-chat-name {
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-chat-subtitle {
  color: #94a3b8;
  font-size: 11px;
}

.premium-empty-state {
  font-size: 12px;
  display: block;
  padding: 6px 4px;
}

.premium-view-all {
  border-radius: 10px;
  color: #ec4899 !important;
  font-weight: 600;
}

.premium-view-all:hover {
  background: #fdf2f8;
}

.premium-profile-trigger {
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.premium-profile-trigger:hover,
.premium-profile-trigger:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.premium-profile-trigger figure {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.premium-profile-trigger .username {
  margin-left: 8px;
  font-weight: 600;
}

.premium-profile-menu .dropdown-item {
  border-radius: 10px;
  padding: 9px 10px;
}

.premium-profile-menu .dropdown-item:hover {
  background: #f8fafc;
}

.dark-theme .premium-icon-btn,
.dark-theme .premium-profile-trigger {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.dark-theme .premium-dropdown-menu {
  background: #0f172a;
  border-color: #334155;
}

.dark-theme .premium-chat-name,
.dark-theme .premium-profile-menu .dropdown-item,
.dark-theme .premium-dropdown-head {
  color: #e2e8f0 !important;
}

.dark-theme .premium-chat-row:hover,
.dark-theme .premium-profile-menu .dropdown-item:hover,
.dark-theme .premium-view-all:hover {
  background: #1e293b;
}

.dark-theme .premium-chat-subtitle,
.dark-theme .premium-empty-state {
  color: #94a3b8 !important;
}

.premium-chat-dropdown .dropdown-toggle::after,
.premium-profile-dropdown .dropdown-toggle::after {
  display: none !important;
}

/* Keep navbar dropdowns anchored and prevent side fluctuation */
.premium-chat-dropdown,
.premium-profile-dropdown {
  position: relative;
}

.premium-chat-dropdown .premium-dropdown-menu,
.premium-profile-dropdown .premium-dropdown-menu,
.premium-chat-dropdown .premium-dropdown-menu[data-bs-popper],
.premium-profile-dropdown .premium-dropdown-menu[data-bs-popper] {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  inset: auto 0 auto auto !important;
  margin: 0 !important;
  transform: none !important;
  transform-origin: top right !important;
}

/* Model chat premium styling */
.model-chat-luxe .my-chat-box-main {
  margin: 16px auto 24px !important;
  max-width: 1080px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.model-chat-luxe .mesgs {
  border-radius: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.model-chat-luxe .mesgs-head {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.model-chat-luxe .mesgs-head .chat_img .avatar {
  width: 44px;
  height: 44px;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  overflow: hidden;
}

.model-chat-luxe .mesgs-head .chat-user-name {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.model-chat-luxe .mesgs-head .chat-user-sub-title {
  color: #64748b;
}

.model-chat-luxe .chat-input-container {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 10px 12px 8px;
}

.model-chat-luxe .chat-input-container textarea.form-control,
.model-chat-luxe .chat-input-container .write_msg {
  border-radius: 14px !important;
  border: 1px solid #dbe5ef !important;
  background: #f8fafc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.model-chat-luxe .chat-input-container textarea.form-control:focus,
.model-chat-luxe .chat-input-container .write_msg:focus {
  border-color: #93c5fd !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.model-chat-luxe .chat-input-container .send-btn {
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%) !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.28);
}

.model-chat-luxe .chat-input-container .send-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.model-chat-luxe .stopWatchBtn {
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 6px 8px;
  background: #eff6ff;
}

.dark-theme .model-chat-luxe .my-chat-box-main {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.dark-theme .model-chat-luxe .mesgs {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.dark-theme .model-chat-luxe .mesgs-head {
  background: rgba(15, 23, 42, 0.9);
  border-bottom-color: #334155;
}

.dark-theme .model-chat-luxe .mesgs-head .chat-user-name {
  color: #f8fafc;
}

.dark-theme .model-chat-luxe .mesgs-head .chat-user-sub-title {
  color: #94a3b8;
}

.dark-theme .model-chat-luxe .chat-input-container {
  background: #0f172a;
  border-top-color: #334155;
}

.dark-theme .model-chat-luxe .chat-input-container textarea.form-control,
.dark-theme .model-chat-luxe .chat-input-container .write_msg {
  background: #111827 !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

/* ——— First-time user onboarding ——— */
#explore-live {
  scroll-margin-top: 100px;
}

/* Hero carousel — prev / next (forward & backward) */
.hero-carousel-section .home-slider {
  position: relative;
}

.hero-carousel-section .owl-nav {
  margin: 0 !important;
}

.hero-carousel-section .owl-nav button.owl-prev,
.hero-carousel-section .owl-nav button.owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px);
  z-index: 10 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-section .owl-nav button.owl-prev {
  left: 20px !important;
  right: auto !important;
}

.hero-carousel-section .owl-nav button.owl-next {
  left: auto !important;
  right: 20px !important;
}

.hero-carousel-section .owl-nav button.owl-prev:hover,
.hero-carousel-section .owl-nav button.owl-next:hover {
  background: rgba(233, 14, 139, 0.85) !important;
  border-color: #fff !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.hero-carousel-section .owl-nav button.owl-prev:after,
.hero-carousel-section .owl-nav button.owl-next:after {
  display: none !important;
}

.hero-carousel-section .owl-nav button span {
  color: #fff !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.hero-carousel-section .hero-carousel-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-carousel-section .hero-carousel-nav-inner i {
  font-size: 28px;
  color: #fff;
  line-height: 1;
}

@media (max-width: 767px) {
  .hero-carousel-section .owl-nav button.owl-prev,
  .hero-carousel-section .owl-nav button.owl-next {
    width: 44px !important;
    height: 44px !important;
  }

  .hero-carousel-section .owl-nav button.owl-prev {
    left: 10px !important;
  }

  .hero-carousel-section .owl-nav button.owl-next {
    right: 10px !important;
  }

  .hero-carousel-section .hero-carousel-nav-inner i {
    font-size: 22px;
  }
}

.onboarding-subtitle {
  max-width: 640px;
  opacity: 0.85;
}

.site-value-prop-inner {
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.12), rgba(61, 174, 255, 0.1));
  border: 1px solid rgba(233, 14, 139, 0.2);
}

.site-value-outline-btn,
.carousel-outline-btn,
.role-outline-btn {
  border: 2px solid rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}

.how-it-works-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

.how-it-works-step {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary, #e90e8b);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.how-it-works-icon {
  font-size: 48px;
  color: var(--secondary, #e90e8b);
  display: block;
  margin: 8px auto 16px;
}

.how-it-works-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

.how-it-works-compact {
  padding-top: 0 !important;
  padding-bottom: clamp(40px, 6vw, 80px) !important;
}

/* Landing: hero → value prop → how it works — tight vertical rhythm */
.hero-carousel-section.slider-section {
  padding-bottom: 12px;
  margin-bottom: 0;
}

.landing-onboarding-stack.site-value-prop {
  padding: 16px 0 20px !important;
  margin: 0;
}

.landing-onboarding-stack.site-value-prop .site-value-prop-inner {
  padding: clamp(20px, 2.5vw, 28px) clamp(16px, 3vw, 24px);
}

.landing-onboarding-stack.site-value-prop .site-value-prop-eyebrow {
  margin-bottom: 8px !important;
}

.landing-onboarding-stack.how-it-works-section {
  padding: 8px 0 clamp(32px, 4vw, 48px) !important;
  margin: 0;
}

.landing-onboarding-stack.how-it-works-section .section-head {
  margin-bottom: 24px;
}

.landing-onboarding-stack.how-it-works-section .section-head .headings-h3 {
  margin-bottom: 10px;
}

.landing-onboarding-stack.how-it-works-section .onboarding-subtitle {
  margin-bottom: 0;
}

.landing-onboarding-stack .how-it-works-card {
  padding: 20px 16px;
}

#explore-live.models-list {
  padding-top: clamp(40px, 5vw, 72px);
}

.role-chooser-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-chooser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.role-chooser-member {
  background: linear-gradient(160deg, rgba(61, 174, 255, 0.15), rgba(61, 174, 255, 0.05));
  border-color: rgba(61, 174, 255, 0.35);
}

.role-chooser-model {
  background: linear-gradient(160deg, rgba(233, 14, 139, 0.15), rgba(233, 14, 139, 0.05));
  border-color: rgba(233, 14, 139, 0.35);
}

.role-chooser-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
  color: var(--secondary, #e90e8b);
}

.role-chooser-member .role-chooser-icon {
  color: var(--primary, #3daeff);
}

.welcome-checklist-section {
  padding: 20px 0 0;
}

.welcome-checklist-card {
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.08), rgba(61, 174, 255, 0.08));
  border: 1px solid rgba(233, 14, 139, 0.25);
}

.welcome-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.welcome-checklist-item:last-child {
  border-bottom: none;
}

.welcome-checklist-item.is-done {
  opacity: 0.7;
}

.welcome-checklist-check {
  font-size: 22px;
  color: var(--secondary, #e90e8b);
  line-height: 1;
}

.welcome-checklist-item.is-done .welcome-checklist-check {
  color: #22c55e;
}

.onboarding-post-signup {
  font-size: 14px;
  margin-bottom: 16px;
}

.dark-theme .how-it-works-card {
  background: #1e293b;
  border-color: #334155;
}

.dark-theme .site-value-prop-inner,
.dark-theme .welcome-checklist-card {
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.15), rgba(15, 23, 42, 0.9));
  border-color: #334155;
}

.dark-theme .welcome-checklist-item {
  border-bottom-color: #334155;
}

.credit-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.12), rgba(61, 174, 255, 0.12));
  border: 1px solid rgba(233, 14, 139, 0.35);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.credit-balance-pill:hover {
  border-color: var(--secondary, #e90e8b);
  color: inherit;
}

.credit-balance-pill-text {
  line-height: 1.2;
}

@media (max-width: 991px) {
  .credit-balance-pill-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.nav-link-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-live-dot {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
    animation: blink-live 1.5s infinite;
  }
}

body.fixed header {
  animation: none !important;
}

.dark-theme .credit-balance-pill {
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.2), rgba(15, 23, 42, 0.9));
  border-color: #475569;
}

.categories-video-list {
  position: relative;
}

.categories-video-list.is-loading .row {
  opacity: 0.5;
  pointer-events: none;
}

.list-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  pointer-events: none;
}

/* Wishlist — progress inside existing plan-box cards */
.wishlist-plan-progress {
  margin-top: 12px;
}

.wishlist-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.wishlist-progress-bar .progress-bar {
  background: var(--white, #fff);
}

.wishlist-progress-bar .progress-bar.bg-success {
  background: #34d399 !important;
}

.wishlist-plan-box {
  overflow: hidden;
}

.wishlist-plan-box__thumb {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--slate-100, #f1f5f9);
}

.wishlist-plan-box__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wishlist-modal-preview {
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--slate-200, #e2e8f0);
  background: var(--slate-50, #f8fafc);
}

.wishlist-modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-theme .wishlist-plan-box__thumb,
.dark-theme .wishlist-modal-preview {
  background: var(--slate-200, #222);
  border-color: var(--slate-300, #2c2c2c);
}

/* Wishlist — contribute modal (compact premium) */
.modal-dialog.wishlist-contribute-modal {
  max-width: 420px;
  margin: 1.75rem auto;
}

.wishlist-contribute-modal__shell {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.wishlist-contribute-modal .modal-header {
  display: none;
}

.wishlist-contribute-hero {
  position: relative;
  text-align: center;
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(145deg, #7c3aed 0%, #e90e8b 55%, #f472b6 100%);
  color: #fff;
}

.wishlist-contribute-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.wishlist-contribute-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.wishlist-contribute-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.55rem;
}

.wishlist-contribute-hero__icon,
.wishlist-contribute-hero__thumb {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.45rem;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.wishlist-contribute-hero__icon {
  font-size: 1.35rem;
}

.wishlist-contribute-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-contribute-hero__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  padding: 0 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-contribute-body {
  padding: 1rem 1.1rem 1.15rem;
  background: #fff;
}

.wishlist-contribute-stats {
  text-align: center;
  margin-bottom: 1rem;
}

.wishlist-contribute-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.wishlist-contribute-ring__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.wishlist-contribute-ring__inner strong {
  font-size: 1.15rem;
  color: var(--secondary, #e90e8b);
}

.wishlist-contribute-ring__inner span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400, #94a3b8);
}

.wishlist-contribute-stats__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.wishlist-contribute-stats__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-400, #94a3b8);
  margin-bottom: 0.15rem;
}

.wishlist-contribute-stats__row strong {
  font-size: 0.95rem;
  color: var(--slate-800, #1e293b);
}

.wishlist-contribute-stats__row strong small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500, #64748b);
}

.wishlist-contribute-stats__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--slate-200, #e8ecf4);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.wishlist-contribute-stats__bar > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #e90e8b);
  transition: width 0.35s ease;
}

.wishlist-contribute-stats__hint {
  font-size: 0.78rem;
  color: var(--slate-500, #64748b);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.wishlist-contribute-stats__hint i {
  color: #f97316;
}

.wishlist-contribute-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.07), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(233, 14, 139, 0.14);
  margin-bottom: 1rem;
}

.wishlist-contribute-balance__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.wishlist-contribute-balance__coin {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #e90e8b);
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.wishlist-contribute-balance__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400, #94a3b8);
}

.wishlist-contribute-balance__left strong {
  font-size: 0.95rem;
  color: var(--slate-800, #1e293b);
}

.wishlist-contribute-balance__topup {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary, #e90e8b);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(233, 14, 139, 0.1);
  white-space: nowrap;
}

.wishlist-contribute-balance__topup:hover {
  color: var(--secondary, #e90e8b);
  background: rgba(233, 14, 139, 0.16);
}

.wishlist-contribute-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-500, #64748b);
  margin-bottom: 0.55rem;
}

.wishlist-contribute-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.wishlist-contribute-chip {
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.wishlist-contribute-chip strong {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-800, #1e293b);
  line-height: 1.1;
}

.wishlist-contribute-chip span {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-400, #94a3b8);
}

.wishlist-contribute-chip:hover {
  border-color: rgba(233, 14, 139, 0.35);
  background: rgba(233, 14, 139, 0.04);
}

.wishlist-contribute-chip.is-active {
  border-color: var(--secondary, #e90e8b);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), rgba(233, 14, 139, 0.14));
  box-shadow: 0 4px 14px rgba(233, 14, 139, 0.18);
}

.wishlist-contribute-chip.is-active strong {
  color: var(--secondary, #e90e8b);
}

.wishlist-contribute-custom .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500, #64748b);
  margin-bottom: 0.35rem;
}

.wishlist-contribute-modal .form-control {
  background: var(--slate-50, #f8fafc);
  border: 1px solid var(--slate-200, #e2e8f0);
  color: var(--slate-800, #1e293b);
  border-radius: 12px;
  min-height: 44px;
}

.wishlist-contribute-modal .form-control:focus {
  border-color: var(--secondary, #e90e8b);
  box-shadow: 0 0 0 3px rgba(233, 14, 139, 0.12);
  background: #fff;
}

.wishlist-contribute-submit {
  margin-top: 0.85rem;
}

.wishlist-contribute-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  background: linear-gradient(90deg, #4a6fff 0%, #e90e8b 100%);
  box-shadow: 0 10px 24px rgba(233, 14, 139, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.wishlist-contribute-btn:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(233, 14, 139, 0.34);
}

.wishlist-contribute-btn:disabled {
  opacity: 0.85;
}

/* Dark theme */
.dark-theme .wishlist-contribute-body {
  background: var(--slate-100, #141414);
}

.dark-theme .wishlist-contribute-ring__inner {
  background: var(--slate-200, #1e1e1e);
}

.dark-theme .wishlist-contribute-stats__row strong {
  color: #f1f5f9;
}

.dark-theme .wishlist-contribute-stats__bar {
  background: rgba(255, 255, 255, 0.1);
}

.dark-theme .wishlist-contribute-balance__left strong {
  color: #f1f5f9;
}

.dark-theme .wishlist-contribute-chip {
  background: var(--slate-200, #222);
  border-color: var(--slate-300, #333);
}

.dark-theme .wishlist-contribute-chip strong {
  color: #f1f5f9;
}

.dark-theme .wishlist-contribute-modal .form-control {
  background: var(--slate-200, #222);
  border-color: var(--slate-300, #333);
  color: #fff;
}

.dark-theme .wishlist-contribute-modal .form-control:focus {
  background: var(--slate-300, #2a2a2a);
}

@media (max-width: 400px) {
  .wishlist-contribute-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gift modal — compact on live stream */
.modal-dialog.gift-modal {
  max-width: 360px;
  width: calc(100% - 1.5rem);
}

.modal-dialog.gift-modal .modal-content,
.modal-dialog.gift-modal .wishlist-contribute-modal__shell {
  border: none;
  background: #fff;
}

.modal-dialog.gift-modal .wishlist-contribute-hero {
  padding: 0.7rem 1rem 0.85rem;
}

.modal-dialog.gift-modal .wishlist-contribute-hero__icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.modal-dialog.gift-modal .wishlist-contribute-hero__title {
  font-size: 0.9rem;
  padding: 0 1rem;
}

.modal-dialog.gift-modal .wishlist-contribute-body {
  padding: 0.75rem 0.9rem 0.9rem;
}

.gift-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.gift-modal__grid .gift-card {
  width: 100%;
  min-height: 0;
  padding: 0.7rem 0.45rem;
}

.modal-dialog.gift-modal .gift-card__icon {
  font-size: 1.5rem;
}

.gift-modal__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--slate-200, #e8ecf4);
  flex-shrink: 0;
}

.gift-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-wallet-bar {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--slate-100, #f4f6fb);
}

.gift-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  border: 1px solid var(--slate-200, #e8ecf4);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gift-card:hover:not(.gift-card--disabled) {
  transform: translateY(-2px);
  border-color: var(--secondary, #e90e8b);
}

.gift-card--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gift-card__icon { font-size: 2rem; line-height: 1; }
.gift-card__icon--lg { font-size: 3rem; }
.gift-card__name { font-weight: 600; font-size: 0.95rem; }
.gift-card__price { font-size: 0.8rem; color: var(--secondary, #e90e8b); font-weight: 600; }
.gift-success__icon { font-size: 3.5rem; line-height: 1; }

/* Gift rain - live stream only, 3 waves at original speed */
.gift-rain-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 110;
}

.gift-rain-banner {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.9), rgba(100, 0, 70, 0.88));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 28px rgba(233, 14, 139, 0.4);
  animation: gift-banner-pop 0.45s ease-out;
  z-index: 2;
  white-space: nowrap;
}

.gift-rain-banner__icon { font-size: 1.6rem; line-height: 1; }
.gift-rain-banner__text { font-size: 1rem; font-weight: 600; }

.gift-rain-particle {
  position: absolute;
  top: -10%;
  line-height: 1;
  opacity: 0;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.gift-rain-overlay--rose .gift-rain-particle { animation-name: gift-rain-fall; }
.gift-rain-overlay--fire .gift-rain-particle { animation-name: gift-rain-fall-fire; }
.gift-rain-overlay--crown .gift-rain-particle { animation-name: gift-rain-fall-crown; }
.gift-rain-overlay--diamond .gift-rain-particle { animation-name: gift-rain-fall-diamond; }

@keyframes gift-banner-pop {
  0% { opacity: 0; transform: translateX(-50%) translateY(-12px) scale(0.92); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes gift-rain-fall {
  0% { opacity: 0; transform: translate3d(0, -10%, 0) rotate(0deg) scale(0.7); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--gift-drift, 0px), 115vh, 0) rotate(360deg) scale(1); }
}

@keyframes gift-rain-fall-fire {
  0% { opacity: 0; transform: translate3d(0, -10%, 0) scale(0.65); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--gift-drift, 0px), 112vh, 0) scale(1.1); }
}

@keyframes gift-rain-fall-crown {
  0% { opacity: 0; transform: translate3d(0, -12%, 0) rotate(-10deg) scale(0.75); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--gift-drift, 0px), 112vh, 0) rotate(20deg) scale(1.05); }
}

@keyframes gift-rain-fall-diamond {
  0% { opacity: 0; transform: translate3d(0, -12%, 0) scale(0.55); }
  15% { opacity: 1; }
  50% { filter: drop-shadow(0 0 10px rgba(120, 220, 255, 0.8)); }
  100% { opacity: 0; transform: translate3d(var(--gift-drift, 0px), 112vh, 0) scale(1.15); }
}

.gift-chat-msg .gift-chat-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(233, 14, 139, 0.1), rgba(255, 193, 7, 0.1));
  border: 1px solid rgba(233, 14, 139, 0.15);
}

.gift-chat-bubble__icon { font-size: 1.15rem; line-height: 1; }

.dark-theme .gift-wallet-bar { background: var(--slate-300, #2a2a2a); }
.dark-theme .gift-card { background: var(--slate-300, #2a2a2a); border-color: var(--slate-400, #3a3a3a); }

/* Stream quality dropdown — live audience */
.stream-quality-dropdown {
  position: relative;
  flex-shrink: 0;
}

.stream-quality-dropdown.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.broadcaster-control-buttons .stream-quality-dropdown {
  flex: 0 0 auto;
}

.stream-quality-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  min-width: 108px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(12, 12, 18, 0.58);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.stream-quality-dropdown__trigger:hover:not(:disabled) {
  border-color: rgba(233, 14, 139, 0.45);
  background: rgba(20, 20, 28, 0.72);
}

.stream-quality-dropdown.is-open .stream-quality-dropdown__trigger {
  border-color: rgba(233, 14, 139, 0.55);
  box-shadow: 0 4px 16px rgba(233, 14, 139, 0.22);
}

.stream-quality-dropdown__icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.stream-quality-dropdown__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex: 1;
  text-align: left;
}

.stream-quality-dropdown__chevron {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.stream-quality-dropdown.is-open .stream-quality-dropdown__chevron {
  transform: rotate(180deg);
}

.stream-quality-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(18, 18, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  z-index: 200;
  animation: stream-quality-menu-in 0.18s ease-out;
}

@keyframes stream-quality-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stream-quality-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.stream-quality-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stream-quality-dropdown__item.is-active {
  background: rgba(233, 14, 139, 0.18);
}

.stream-quality-dropdown__item-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  flex-shrink: 0;
}

.stream-quality-dropdown__item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.stream-quality-dropdown__item-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.stream-quality-dropdown__item-text small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

.stream-quality-dropdown__check {
  font-size: 1rem;
  color: #f472b6;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .stream-quality-dropdown__trigger {
    min-width: 96px;
    height: 44px;
    padding: 0 10px 0 12px;
    gap: 6px;
  }

  .stream-quality-dropdown__label {
    font-size: 0.76rem;
  }

  .stream-quality-dropdown__menu {
    min-width: 196px;
  }
}

/* Live room — top tippers leaderboard */
.live-top-tippers {
  margin: 0 10px 10px;
  border: 1px solid rgba(232, 14, 138, 0.25);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8fc 0%, #fff 100%);
  overflow: hidden;
}

.live-top-tippers__toggle {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.live-top-tippers__title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
}

.live-top-tippers__meta {
  margin-left: auto;
  font-size: 0.72rem;
  color: #6b7280;
}

.live-top-tippers__chevron {
  color: #9ca3af;
  font-size: 1rem;
}

.live-top-tippers__list {
  padding: 0 10px 10px;
}

.live-top-tippers__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.live-top-tippers__item:first-child {
  border-top: none;
}

.live-top-tippers__rank {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.live-top-tippers__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(232, 14, 138, 0.2);
}

.live-top-tippers__name {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-top-tippers__coins {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e80e8a;
  white-space: nowrap;
}

.live-top-tippers__coins::after {
  content: " coins";
  font-weight: 500;
  color: #9ca3af;
  font-size: 0.68rem;
}

.live-top-tippers__empty {
  padding: 4px 6px 8px;
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
}

.dark-theme .live-top-tippers {
  background: linear-gradient(135deg, #2a1a24 0%, #1f1f1f 100%);
  border-color: rgba(255, 107, 157, 0.3);
}

.dark-theme .live-top-tippers__title,
.dark-theme .live-top-tippers__name {
  color: #f3f4f6;
}

.dark-theme .live-top-tippers__meta,
.dark-theme .live-top-tippers__empty {
  color: #9ca3af;
}

/* Live room — viewer kick (model only) */
.live-room-viewers {
  margin: 0 10px 10px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 10px;
  background: #f8f9ff;
  overflow: hidden;
}

.live-room-viewers__toggle {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}

.live-room-viewers__list {
  padding: 0 10px 10px;
}

.live-room-viewers__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.live-room-viewers__name {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-room-viewers__btn {
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.live-room-viewers__btn--kick {
  background: #fef3c7;
  color: #b45309;
}

.live-room-viewers__empty {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  padding: 4px 0 8px;
}

.dark-theme .live-room-viewers {
  background: #1f2230;
  border-color: rgba(129, 140, 248, 0.35);
}

.dark-theme .live-room-viewers__toggle,
.dark-theme .live-room-viewers__name {
  color: #e5e7eb;
}