/* Write your custom CSS here */
.MuiBackdrop-root {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

::-webkit-scrollbar {
  height: 1px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 8px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}

::-webkit-scrollbar-track {
  background: #262635;
}

::-webkit-scrollbar-thumb {
  background: #262635;
}

.page-sidebar .accordion-menu::-webkit-scrollbar {
  height: 0px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 4px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}

.collapse::-webkit-scrollbar {
  height: 0px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 2px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffff !important;
}

.followDiv::-webkit-scrollbar {
  height: 0px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 3px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}

.image {
  opacity: 1;
  display: block;
  width: 38%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}
.table_image {
  box-shadow: rgba(105, 103, 103, 0) 0px 5px 15px 0px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 10px;
  float: left;
  object-fit: cover;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.6;
  cursor: grab;
}

.container:hover .middle {
  opacity: 1;
}

.page-sidebar .accordion-menu > li > span {
  display: block;
  color: #9a9cab;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  line-height: 45px;
  padding: 0 15px;
  text-decoration: none;
  cursor: pointer;
}

.page-sidebar .accordion-menu > li > span > svg {
  width: 21px;
  height: 21px;
  line-height: 40px;
  text-align: center;
  vertical-align: text-top;
  color: #9a9cab;
  margin-right: 15px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.sidenav__icon {
  margin-right: 15px;
}

.card-overflow {
  overflow-x: scroll;
}

.card-overflow::-webkit-scrollbar {
  height: 1px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 3px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}

.card-overflow::-webkit-scrollbar-track {
  background: #fff;
}

.card-overflow::-webkit-scrollbar-thumb {
  background: #1f1f2b;
}

.back__style {
  width: "100%";
  height: "100%";
  background-size: "cover";
  background-attachment: "fixed";
  margin: 0;
  padding: 0;
  background-image: url("../images/login.png");
}

.icon_margin {
  margin-left: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #86c1ed;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #ada6f2;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ada6f2;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.searchBar:focus {
  background-color: #1f1f2b;
  box-shadow: none;
}

.MuiTypography-colorInherit {
  color: #91a3b0 !important;
}

.MuiSelect-select {
  color: #91a3b0 !important;
}

.MuiSelect-icon {
  color: #91a3b0 !important;
}

.MuiIconButton-root.Mui-disabled {
  color: #9a9cab !important;
}

.MuiIconButton-root {
  color: #000 !important;
}

.float__right {
  float: right;
}

.MuiPaper-root {
  background-color: #fff !important;
}

.text-gray {
  color: #91a3b0 !important;
}

.text-red {
  color: #de1738;
}

.collapse-margin {
  margin-left: -7px;
  /* overflow-x: scroll; */
}

.pointer-cursor {
  cursor: pointer;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
  background-color: aliceblue;
  color: #fff;
}

.post-padding {
  padding: 6px 15px !important;
  margin-bottom: 0;
}

.commentImg {
  margin-top: 13px;
}

.shadow {
  box-shadow: rgb(105 103 103 / 50%) 0px 5px 15px 0px;
  /* border: 2px solid #e8538f; */
  
}

.comment-delete {
  margin-left: 10px;
}

.form-check-input:focus,
.form-control:focus {
  box-shadow: none;
}

.rows > * {
  max-height: 500px;
}

.pie > * {
  max-height: 350px;
}

.swal-title {
  color: rgba(255, 255, 255, 0.65) !important;
  font-weight: 500 !important;
}

.swal-text {
  color: rgba(255, 255, 255, 0.64) !important;
}

.swal-modal {
  background-color: #161622 !important;
}

.swal-icon--success__hide-corners,
.swal-icon--success:after,
.swal-icon--success:before {
  background-color: transparent;
}

.MuiSelect-select:not([multiple]) option,
.MuiSelect-select:not([multiple]) optgroup {
  background-color: #161622 !important;
}

.chip,
.highlightOption,
.multiSelectContainer li:hover {
  background: #e8538f !important;
}

.page-sidebar .accordion-menu {
  overflow-x: scroll !important;
}

.danger {
  background-color: #f5365c;
}

.success {
  background-color: #146356;
}

.stats-card .stats-icon.change-pink {
  color: #fff;
  background-color: #fc9494;
  box-shadow: 0 3px 18px -8px #fc9494;
}

.border-right-radius {
  border-top-right-radius: 50rem;
  border-bottom-right-radius: 50rem;
}

.pagination {
  /* float: right; */
}

.page-link {
  border-radius: 50% !important;
  padding: 5px 13px;
}

.page-item {
  padding: 5px;
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff !important;
  background-color: #e8538f;
  border-color: #e8538f;
}

.page-link:focus {
  box-shadow: none;
}

.dropdown {
  max-height: 30px;
  margin-top: 15px;
  padding: 3px 5px;
  font-size: 12px;
  max-width: 80px;
}

#datePicker {
  position: absolute;
  z-index: 1;
}

.table {
  position: relative;
}

.rdrDefinedRangesWrapper {
  background: #fff !important;
  color: #9a9cab;
  border-right: solid 1px #9a9cab !important;
}

.rdrStaticRange {
  background: #fff !important;
  color: #9a9cab;
  border-bottom: 1px solid #9a9cab !important;
}

.rdrCalendarWrapper,
.rdrInputRangeInput {
  background: #fff !important;
}

.rdrMonthAndYearPickers select,
.rdrDayPassive .rdrDayNumber span {
  color: #9a9cab !important;
}

.rdrDayNumber span {
  color: #fff !important;
}

.rdrDateRangePickerWrapper {
  border: solid 1px #9a9cab !important;
}

.rdrStaticRange:hover .rdrStaticRangeLabel,
.rdrStaticRange:focus .rdrStaticRangeLabel {
  background: #1f1f2b !important;
}

.rdrNextPrevButton,
.rdrDateDisplayItem,
.rdrDateDisplayItem input {
  background: #fff !important;
  color: #000 !important;
}

.rdrDateDisplayItemActive {
  border-color: #fff !important;
}

.rdrDateDisplayWrapper {
  background-color: #1f1f2b !important;
}

.rdrDefinedRangesWrapper .rdrStaticRangeSelected {
  color: #ada6f2 !important;
}

.rdrDayEndOfMonth .rdrInRange,
.rdrDayEndOfMonth .rdrStartEdge,
.rdrDayEndOfWeek .rdrInRange,
.rdrDayEndOfWeek .rdrStartEdge,
.rdrStartEdge,
.rdrInRange,
.rdrEndEdge,
.rdrDayToday .rdrDayNumber span:after {
  background: #ada6f2 !important;
}

.rdrInputRangeInput {
  border: solid 1px #ada6f2 !important;
  color: #fff !important;
}

.rdrInputRangeInput:focus,
.rdrInputRangeInput:hover {
  border-color: #ada6f2;
  outline: 0;
  color: #fff !important;
}

.rdrDayEndOfMonth .rdrDayInPreview,
.rdrDayEndOfMonth .rdrDayStartPreview,
.rdrDayEndOfWeek .rdrDayInPreview,
.rdrDayEndOfWeek .rdrDayStartPreview {
  border-top-right-radius: 1.333em;
  border-bottom-right-radius: 1.333em;
  border-right-width: 1px;
  right: 0px;
  border-color: #ada6f2 !important;
}

.rdrDayStartOfMonth .rdrDayInPreview,
.rdrDayStartOfMonth .rdrDayEndPreview,
.rdrDayStartOfWeek .rdrDayInPreview,
.rdrDayStartOfWeek .rdrDayEndPreview {
  border-top-left-radius: 1.333em;
  border-bottom-left-radius: 1.333em;
  border-left-width: 1px;
  left: 0px;
  border-color: #ada6f2 !important;
}

.rdrDayEndPreview,
.rdrDayStartPreview {
  border-color: #ada6f2 !important;
}

.rdrDayInPreview {
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-color: #ada6f2 !important;
}

.rdrYearPicker option,
.rdrMonthPicker option {
  background: #262635 !important;
}

.rdrYearPicker select::-webkit-scrollbar {
  height: 0px;
  /* height of horizontal scrollbar ← You're missing this */
  width: 4px;
  /* width of vertical scrollbar */
  border: 1px solid #d5d5d5;
}

.rdrYearPicker select::-webkit-scrollbar-track {
  background: #fff;
}

.rdrYearPicker select::-webkit-scrollbar-thumb {
  background: #262635;
}

.rdrDateDisplayItemActive {
  border: 3px solid #959595 !important;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.styles-module_Editext__input__2-M50,
.styles-module_Editext__button__sxYQX {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: #fff !important;
  color: #fff !important;
  border-color: #fff !important;
}

.hiddenRow {
  padding: 0 !important;
}

.profile-header .profile-img img {
  object-fit: cover;
}

.makeStyles-navLink-1.active {
  font-size: 15px !important;
}

.accordion-toggle {
  border-top-width: 3px;
}

.daterangepicker,
.daterangepicker .calendar-table,
.daterangepicker td.off {
  color: #9a9cab;
  background-color: #1f1f2b !important;
  border: 1px solid #1f1f2b !important;
}

.daterangepicker td.active,
.daterangepicker td.in-range,
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
  background-color: #fff !important;
  border-color: transparent;
  color: #9a9cab !important;
}

.applyBtn {
  background-color: #ada6f2 !important;
}

.cancelBtn {
  color: #9a9cab !important;
}

.calendar-table .prev span,
.daterangepicker .calendar-table .next span {
  color: #1f1f2b !important;
  border: solid #9a9cab !important;

  border-width: 0 2px 2px 0 !important;
  border-radius: 0 !important;
  display: inline-block !important;
  padding: 3px !important;
}

.daterangepicker.opensright:before,
.daterangepicker.opensright:after {
  left: 50% !important;
}

.daterangepicker:after,
.daterangepicker:before {
  border-bottom: 6px solid #1f1f2b !important;
}

.disabledBtn {
  background-color: #1f1f2b !important;
  color: #9a9cab !important;
}
@media (max-width: 768px) {
  body {
    font-size: 11px !important;
  }
  .page-sidebar .accordion-menu > li > a {
    line-height: 33px !important;
  }
  .makeStyles-navLink-1.active {
    font-size: 12px !important;
  }
  .btn {
    padding: 6px 14px !important;
  }
  body.sidebar-hidden .page-content {
    margin-left: -45px;
  }
  .page-sidebar {
    width: 190px !important;
  }
  .page-sidebar .logo {
    font-size: 25px;
  }
  .sidenav__icon > svg {
    height: 20px;
    width: 20px;
  }
}

.text-dark {
  color: #fff !important;
}
.income-detail {
  border-radius: 10px !important;
  padding: 10px !important;
  background-color: #fff4e8 !important;
}

.inner-income {
  border-radius: 10px !important;
  padding: 10px !important;
  background-color: #fffaf4 !important;
}

.agency-detail {
  background-color: #f1f1f1 !important;
  padding: 10px !important;
  border-radius: 10px !important;
}

.agency-invitation {
  border-radius: 10px !important;
}

.bg-gray {
  background-color: #f1f1f1 !important;
}
.activeAgency {
  border-bottom: 3px solid #000 !important;
}

.react-datepicker__input-container > input {
  width: 70px;
  text-align: center !important ;
  border-radius: 10px !important;
  border: 1px solid #000 !important;
}

.react-datepicker-popper {
  position: absolute !important;
  left: 0px !important;
  top: 40px !important;
  right: auto !important;
  transform: translate(189.5px, 102.5px) !important;
  will-change: transform !important;
}

.react-datepicker-popper .react-datepicker__triangle {
    stroke: transparent !important;
}

.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
    fill: none !important;
    color: transparent !important;
}

.cursor-none {
  cursor: none !important;
}

.host-detail {
  background-color: #fff2ce !important;
  border-radius: 15px;
}

.room-btn {
  border-radius: 35px !important;
  padding: 5px !important;
  border: 1px solid lightgray !important;
  color: rgb(56, 56, 56) !important;
  background-color: #f7f8fb !important;
}

.active-btn {
  background-color: #fff !important;
  color: #000 !important;
  border-radius: 35px !important;
  font-weight: 500 !important;
  padding: 5px !important;
  border: 1px solid #fff !important;
  box-shadow: 0px 0px 2px #2d2d2d !important ;
}

hr {
  width: 20px !important;
  background-color: black !important;
  height: 2px !important;
  color: #000 !important;
  border-color: #000 !important;
}
.text-bfg {
  color: #1d1d1d !important;
}

.agency-card {
  background-image: url("../images/pinkcard.png");
  background-repeat: no-repeat;
  background-size: cover;
  /* width: 100%; */
  padding: 10px;
}

.responsive-bg {
  border-radius: 16px;
  margin: 0px 10px;
  background: url('../images/pinkcard.png') no-repeat center/cover;
}

/* Desktop screens: apply gradient instead */
@media (min-width: 768px) {
  .responsive-bg {
    background: linear-gradient(135deg, #EE0E74 0%, #6a11cb 100%);
  }
}

.responsive-bg2 {
  border-radius: 16px;
  margin: 0px 10px;
  background: url('../images/purplecard.png') no-repeat center/cover;
}

/* Desktop screens: apply gradient instead */
@media (min-width: 768px) {
  .responsive-bg2 {
    background: linear-gradient(135deg, #6a11cb 0%, #EE0E74 100%);
  }
}

/* LanguageSwitcher.css */

/* Main PiP Container - Bottom Right Position */
.language-switcher-pip {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  width: 280px;
  max-height: 500px;
}

/* Language Switcher Content */
.language-switcher-content {
  display: flex;
  flex-direction: column;
}

/* Language Header */
.language-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.language-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Language Icon */
.language-icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* Current Language Info */
.current-language-info {
  flex: 1;
  text-align: left;
}

.language-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
  margin-bottom: 2px;
}

.language-native {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* Dropdown Arrow */
.dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #666;
}

.dropdown-arrow.open {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.language-dropdown {
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-header {
  padding: 12px 16px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Language List */
.language-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 0 8px 8px;
}

/* Language Item */
.language-item {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.language-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.language-item.selected {
  background-color: rgba(79, 70, 229, 0.08);
}

.language-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.language-text {
  text-align: left;
}

.language-item .language-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.language-item .language-native {
  font-size: 11px;
  color: #666;
}

.language-code {
  background: rgba(0, 0, 0, 0.06);
  color: #666;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

.language-item.selected .language-code {
  background: rgba(79, 70, 229, 0.12);
  color: #4f46e5;
}

.selected-indicator {
  color: #4f46e5;
  margin-left: 8px;
}

/* Quick Actions */
.quick-actions {
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.quick-actions-label {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.quick-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-button {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}

.quick-button:hover {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.2);
}

.quick-button.active {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Edge Panel - Bottom Right Position */
.edge-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.edge-panel:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Scrollbar Styling */
.language-list::-webkit-scrollbar {
  width: 4px;
}

.language-list::-webkit-scrollbar-track {
  background: transparent;
}

.language-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.language-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-switcher-pip {
  animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.edge-panel {
  animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .language-switcher-pip {
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100vw - 20px);
    max-height: 400px;
  }
  
  .language-header {
    padding: 14px;
  }
  
  .edge-panel {
    bottom: 10px;
    right: 10px;
    width: 52px;
    height: 52px;
    font-size: 22px;
    border-radius: 14px;
  }

  .language-list {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .language-switcher-pip {
    border-radius: 14px;
    max-height: 350px;
  }
  
  .language-header {
    padding: 12px;
    gap: 10px;
  }
  
  .language-icon {
    font-size: 22px;
  }
  
  .language-name {
    font-size: 13px;
  }
  
  .language-native {
    font-size: 11px;
  }
  
  .quick-actions {
    padding: 12px;
  }
  
  .quick-button {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .edge-panel {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 12px;
  }
}

/* RTL Support */
[dir="rtl"] .language-switcher-pip {
  right: auto;
  left: 20px;
}

[dir="rtl"] .edge-panel {
  right: auto;
  left: 20px;
}

[dir="rtl"] .current-language-info {
  text-align: right;
}

[dir="rtl"] .language-text {
  text-align: right;
}

@media (max-width: 768px) {
  [dir="rtl"] .language-switcher-pip {
    right: 10px;
    left: 10px;
  }
  
  [dir="rtl"] .edge-panel {
    right: auto;
    left: 10px;
  }
}
