/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&amp;display=swap');

/* RESET CSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* END RESET CSS */

/* CUSTOM CSS */
:root {
  --main-bg: linear-gradient(
    86.16deg,
    rgba(40, 45, 37, 0.3) 11.14%,
    rgba(0, 0, 0, 0.035) 113.29%,
    rgba(27, 33, 29, 0.15) 113.29%
  );
  --poppins-font: 'Poppins', sans-serif;
  --secondary-bg: #4e4f58d4;
  --devices-modal-bg: rgba(190, 180, 140, 0.95);
}

[data-theme='dark'] {
  --main-bg: #1f1d1d;
  --secondary-bg: #1f1d1d;
  --devices-modal-bg: rgba(70, 70, 70, 0.95);
}

.main-section {
  width: 100%;
  height: 100vh;
}

.main-section .container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  max-height: 100%;
  z-index: 2;
  /*position: relative;
  z-index: 999;*/
}

.ui__draggable-container {
  position: absolute;
  right: 15px;
  top: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(28px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35) !important;
  transition: gap .2s ease, padding .2s ease;
  width: fit-content;
  height: fit-content;
}

#active p {
  background-color: #ffffff;
}

.ui__draggable-handle {
  color: rgba(255, 255, 255, 0.55);
  cursor: grab;
  padding: 2px;
  display: flex;
  margin-bottom: 6px;
}
.ui__draggable-handle:active {
  cursor: grabbing;
}
.ui__draggable-handle img {
  width: 18px;
  height: auto;
  opacity: 0.55;
}

.ui__draggable-profile {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2px 0 4px;
}

.ui__draggable-profile .profile-holder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #8582bb, #593b89);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color .2s ease;
  position: relative;
}

.ui__draggable-profile .profile-holder:hover {
  border-color: rgba(255,255,255,0.6);
}

.ui__draggable-profile .profile-holder img,
.ui__draggable-profile .profile-holder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.display-none {
  display: none;
}

.ui__draggable-profile .profile-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #34d399;
  pointer-events: none;
  left: unset;
  z-index: 10;
}

.ui__draggable-profile .profile-status.disconnected {
  background: #ef4444 !important;
}

.ui__draggable-double-icon-widget {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.devices_container {
  padding: 0;
}

.devices__modal_content-holder {
  left: calc(100% + 12px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(28, 32, 56, 0.94) !important;
  border-radius: 12px !important;
}

.modal_content-holder .modal-item {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 10px 8px;
  background: transparent;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.modal_content-holder .device-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.modal_content-holder .device-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal_content-holder .device-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.modal-item {
  display: block;
  padding: 8px 12px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins';
  font-size: 14px;
  color: #31e03c;
  transition: background-color 0.2s ease;
}

.ui__draggable-double-icon-widget .icon-holder__grid .deviceSelectorIcon {
  cursor: pointer;
}

.ui__draggable-double-icon-widget .icon-holder__grid {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: visible;
  background: rgba(20, 25, 45, 0.35);
  transition: background .16s ease;
  width: 58px;
  height: 44px;
}

.ui__draggable-double-icon-widget .icon-holder__grid:hover {
  background: rgba(20, 25, 45, 0.5);
}

.ui__draggable-double-icon-widget .icon-holder {
  width: 40px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

.ui__draggable-double-icon-widget .icon-holder img,
.ui__draggable-double-icon-widget .icon-holder svg {
  width: 20px;
  height: 20px;
}

.ui__draggable-double-icon-widget .icon-holder.mutedButton {
  background-color: transparent !important;
}

.ui__draggable-double-icon-widget .icon-holder.mutedButton img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(50%) saturate(1476%) hue-rotate(317deg) brightness(97%) contrast(92%);
}

.ui__draggable-double-icon-widget .icon-holder__grid .modal-parent {
  width: 18px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.ui__draggable-double-icon-widget .icon-holder__grid .deviceSelectorIcon {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7;
  transition: opacity .15s ease;
}

.ui__draggable-double-icon-widget .icon-holder__grid .modal-parent:hover .deviceSelectorIcon {
  opacity: 1;
}

.ui__draggable-divider {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 3px 0;
}

.ui__draggable-divider img {
  display: none;
}

.ui__draggable-icons-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.ui__draggable-single-icon-widget .icon-holder {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(20, 25, 45, 0.35);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0;
  transition: background .16s ease, color .16s ease, transform .12s ease;
}

.ui__draggable-single-icon-widget .icon-holder img,
.ui__draggable-single-icon-widget .icon-holder svg {
  width: 20px;
  height: 20px;
}

.ui__draggable-single-icon-widget .icon-holder:hover {
  background: rgba(20, 25, 45, 0.55);
  color: #fff;
}

.ui__draggable-single-icon-widget .icon-holder:active {
  transform: scale(0.92);
}

.ui__draggable-hidden-icons-container {
  display: none;
}

.ui__draggable-hidden-icons-container.show {
  display: flex !important;
}

.ui__draggable-toggle-icon {
  width: 44px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}

.ui__draggable-toggle-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ui__draggable-toggle-icon .icon-holder {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui__draggable-toggle-icon .icon-holder img {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.ui__draggable-toggle-icon:hover .icon-holder img {
  opacity: 1;
}

.icon-holder__label {
  padding: 8px 14px;
  background: rgba(34, 31, 31, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  position: absolute;
  /* right: 100%; */
  right: 0;
  left: 40px;
  min-width: 100px;
  z-index: 99;
  display: none;
  transition: all 0.3s ease-in;
}

.icon-holder__label.left-position {
  right: 0;
  left: 40px;
}

.icon-holder__label.right-position {
  right: 50px;
  /* left: 0; */
  left: unset;
}

.ui__draggable-double-icon-widget .icon-holder:hover .icon-holder__label,
.ui__draggable-single-icon-widget .icon-holder:hover .icon-holder__label {
  display: block;
}

.icon-holder__label p {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}

.icon-holder__label span {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
}

.main_tooltip-container {
  padding: 10px 14px;
  background: rgba(34, 31, 31, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: none !important;
  outline: none !important;
  z-index: 999;
  /* position: relative; */
}

.main_tooltip-container p {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}

.main_tooltip-container p.desc {
  font-size: 10px;
}

/* CENTERED POSITON */
.ui__draggable-container.center-position {
  /* width: unset; */
  /* max-width: 400px; */
  /* min-width: 345px; */
  flex-direction: row;
  gap: 8px;
  min-height: 64px;
  justify-content: flex-start;
}

.ui__draggable-container.center-position .ui__draggable-profile {
  margin-bottom: 0;
}

.ui__draggable-container.center-position .ui__draggable-icons-container {
  flex-direction: row;
}

.ui__draggable-container.center-position .ui__draggable-double-icon-widget {
  flex-direction: row;
}

.ui__draggable-container.center-position .ui__draggable-divider {
  width: 1px !important;
  height: 24px !important;
  margin: 0 4px !important;
}

.ui__draggable-container.center-position .ui__draggable-handle {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.ui__draggable-container.center-position .ui__draggable-divider img {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.ui__draggable-container.center-position .ui__draggable-toggle-icon {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
  margin-top: 0;
}

.ui__draggable-container.center-position
  .ui__draggable-hidden-icons-container.show {
  display: flex !important;
  flex-direction: row;
}

.modal-parent {
  position: relative;
}

.modal_content-holder {
  display: none;
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 230px;
  background: rgba(28, 32, 56, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  z-index: 9999;
}

.modal_content-holder.right-position {
  left: unset;
  right: calc(100% + 12px);
}

.modal_content-holder.left-position {
  right: unset;
  left: calc(100% + 12px);
}

.modal_content-holder.display_modal {
  display: block;
}

.modal_content-holder.hide_modal {
  display: none;
}

.modal_content-holder ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal_content-holder ul li {
  padding: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.modal_content-holder ul li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal_content-holder ul li.active {
  background: transparent;
}

.modal_content-holder ul li a {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 9px 10px;
  box-sizing: border-box;
}

.modal_content-holder ul li.active a {
  color: #fff;
}

.modal_content-holder ul li.active a::before {
  content: '✓';
  font-size: 14px;
  color: #8582bb;
  font-weight: bold;
  display: inline-block;
  width: 16px;
  flex-shrink: 0;
}

.modal_content-holder ul li:not(.active) a::before {
  content: '';
  display: inline-block;
  width: 16px;
  flex-shrink: 0;
}

/* PEOPLE ONLINE SECTION & MODAL */
.icon-holder.icon-people-online {
  position: relative;
}

.icon-holder.icon-people-online .people-badge {
  position: absolute;
  right: -5px;
  top: -5px;
  color: #ffffff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 8px;
  line-height: 8px;
  background-color: #ea5455;
  z-index: 6;
}

.icon-holder.icon-people-online .people-count-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #6f6ca6;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  border-radius: 8px;
  text-align: center;
  border: 1.5px solid rgba(30, 41, 59, 0.5);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.main_chats-holder {
  padding: 12px 8px;
}

.main_chats-holder .chats-header {
  min-height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px 8px;
}

.main_chats-holder .chats-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  margin: 0;
}

.main_chats-holder .chats-divider {
  display: none;
}

.main_chats-holder .single-chat-holder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
  cursor: pointer;
}

.main_chats-holder .single-chat-holder:hover {
  background: rgba(255, 255, 255, 0.07);
}

.main_chats-holder .single-chat-holder .chat-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.main_chats-holder .single-chat-holder .chat-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_chats-holder .single-chat-holder .chat-content .chat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.2;
}

.main_chats-holder .single-chat-holder .chat-content .chat-sub-title {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}

.main_chats-holder .chat-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main_chats-holder .chat-location,
.main_chats-holder .chat-messages {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
  cursor: pointer;
}

.main_chats-holder .chat-location:hover,
.main_chats-holder .chat-messages:hover {
  transform: scale(1.1);
}

.main_chats-holder .chat-location img,
.main_chats-holder .chat-messages img,
.main_chats-holder .chat-messages svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.main_chats-holder .chat-location:hover img,
.main_chats-holder .chat-messages:hover img,
.main_chats-holder .chat-messages:hover svg {
  opacity: 1;
}

.main_chats-holder .chat-messages .chat-badge {
  position: absolute;
  right: -5px;
  top: -5px;
  color: #ffffff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 8px;
  line-height: 8px;
  background-color: #ea5455;
}

.main_chats-holder .chat-profile-container {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #8582bb, #593b89);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main_chats-holder .chat-profile-container .status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #1c2038;
  background: #34d399;
}

/* SINGLE CHAT MODAL */
.chat_modal {
  /* background: rgba(15, 9, 12, 0.8); */
  background: var(--main-bg);
  box-shadow: 0px 64px 64px -32px rgba(41, 15, 0, 0.2);
  backdrop-filter: blur(80px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 8px;
  position: absolute;
  min-width: 200px;
  /* left: 65px; */
  left: calc(100% + 10px);
  z-index: 99999;
  display: none;
  top: 0;
  /* padding: 8px 15px; */
}

.chat_modal.display_modal {
  display: block;
}

.chat_modal.hide_modal {
  display: none;
}

.chat_modal.right-position {
  left: unset;
  right: calc(100% + 8px);
}

.chat_modal.left-position {
  /* right: 0; */
  /* left: 65px; */
}

.chat_modal-header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 15px;
}

.chat_modal-header p {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #fefefe;
}

.chat_modal-body {
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  background-color: #2e3031;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: space-between;
}

.chat_modal-body .chat_block {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.chat_modal-body .chat_block.right-handed {
  flex-direction: row-reverse;
}

.chat_modal-body .chat_block .chat_block-image {
  width: 35px;
  height: 35px;
}

.chat_modal-body .chat_block .chat_block-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.chat_modal-body .chat_block .chat_block-content .user-name {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 10px;
  line-height: 16px;
  color: #ffffff;
}

.chat_modal-body .chat_block .chat_block-content .user-message {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

.chat_modal-body .chat_block.right-handed .chat_block-content p {
  text-align: right;
}

.chat_modal-footer {
  position: relative;
  top: 270px;
}

.chat_modal-footer .form-holder {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  gap: 10px;
  justify-content: space-between;
}

.chat_modal-footer .form-holder input {
  background-color: transparent;
  border: 0;
  outline: none;
  padding: 8px 15px;
  color: #ffffff;
}

.chat_modal-footer .form-holder input::placeholder {
  color: #d8d8d8;
  opacity: 1;
}

.chat_modal-footer .form-holder button[type='submit'] {
  background-color: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

/* CHATS SWITCH */
/* The switch that switches chat - the box around the slider */
.chat-switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 12px;
}

/* Hide default HTML checkbox */
.chat-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.chat-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  /* -webkit-transition: .4s;
  transition: .4s; */
}

.chat-slider:before {
  position: absolute;
  content: '';
  height: 12px;
  width: 12px;
  left: 0;
  bottom: 0;
  background-color: white;
  /* -webkit-transition: .4s;
  transition: .4s; */
}

.chat-switch input:checked + .chat-slider {
  background-color: #28c76f;
}

.chat-switch input:focus + .chat-slider {
  box-shadow: 0 0 1px #28c76f;
}

.chat-switch input:checked + .chat-slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.chat-slider.round {
  border-radius: 14px;
}

.chat-slider.round:before {
  border-radius: 50%;
}

/*slider switch css */
.ui__draggable-theme-switcher {
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  height: 14px;
  position: relative;
  width: 30px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ffffff;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background: url('../assets/images/moon.svg') no-repeat#404040;
  background-position: center;
  background-size: 11px 11px;
  bottom: -2px;
  content: '';
  height: 19px;
  left: -1px;
  position: absolute;
  transition: 0.4s;
  width: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

input:checked + .slider {
  background-color: #ffffff;
}

input:checked + .slider:before {
  transform: translateX(16px);
  background: url('../assets/images/sun.svg') no-repeat #404040;
  background-position: center;
  background-size: 11px 11px;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* END CUSTOM CSS */

/* Participant list scrollbar & max height */
.globa-participants-list2 {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.globa-participants-list2::-webkit-scrollbar {
  width: 4px;
}

.globa-participants-list2::-webkit-scrollbar-track {
  background: transparent;
}

.globa-participants-list2::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.globa-participants-list2::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* MOBILE CSS */
@media only screen and (max-width: 767px) {
  .container {
    background-image: url('assets/images/BG-Photo-Portrait-Mobile.html');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

/* DEVICE SETUP MODAL & BACKGROUND EFFECTS STYLES */
.device-setup-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: transparent; /* Remove background overlay */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-setup-modal-backdrop.hidden {
  display: none !important;
}

.device-setup-modal-window {
  /* Match bottom bar style and background frosted-glass */
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(28px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45) !important;
  border-radius: 16px;
  width: 680px;
  max-width: 90%;
  padding: 24px;
  color: #FDFDFD;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.device-setup-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
}

.device-setup-modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.device-setup-modal-close {
  cursor: pointer;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  transition: color 0.2s;
  padding: 4px;
}

.device-setup-modal-close:hover {
  color: #FDFDFD;
}

.device-setup-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.device-setup-preview-container {
  position: relative;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.device-setup-preview-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-setup-select-group {
  margin-bottom: 16px;
}

.device-setup-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.device-setup-label-row label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0;
}

.device-setup-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.device-setup-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.device-setup-toggle-btn.active {
  background: rgba(0, 230, 118, 0.15);
  border-color: #00e676;
  color: #00e676;
}

.device-setup-toggle-btn.active .cam-on-icon,
.device-setup-toggle-btn.active .mic-on-icon {
  display: inline-block;
}

.device-setup-toggle-btn.active .cam-off-icon,
.device-setup-toggle-btn.active .mic-off-icon {
  display: none;
}

.device-setup-toggle-btn:not(.active) .cam-on-icon,
.device-setup-toggle-btn:not(.active) .mic-on-icon {
  display: none;
}

.device-setup-toggle-btn:not(.active) .cam-off-icon,
.device-setup-toggle-btn:not(.active) .mic-off-icon {
  display: inline-block;
  stroke: #f87171;
}

.device-setup-vumeter-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
  position: relative;
}

.device-setup-vumeter-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00e676 70%, #ffeb3b 85%, #ff5252 100%);
  border-radius: 3px;
  transition: width 0.1s ease;
}

.device-setup-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(30, 30, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FDFDFD;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.device-setup-select option {
  background: #1a1a1a;
  color: #fff;
}

.device-setup-select:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.effects-section {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  margin-bottom: 20px;
}

.effects-section-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-weight: 500;
}

.effects-grid {
  /* Display in exactly 2 rows of 4 cards */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 8px;
}

.effect-card {
  width: 100%;
  height: 60px;
  background: rgba(30, 30, 30, 0.65);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.effect-card:hover {
  background: rgba(50, 50, 50, 0.65);
}

.effect-card.active {
  border-color: #00e676;
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
}

.effect-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.55;
  z-index: 1;
}

.effect-card-label {
  z-index: 2;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 4px;
}

.device-setup-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
}

.device-setup-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 555;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.device-setup-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.device-setup-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FDFDFD;
}

.device-setup-btn-apply {
  background: #00e676;
  color: #101010;
  font-weight: 600;
}

.device-setup-btn-apply:hover {
  background: #00b359;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.25);
}

.device-setup-modal-drag-handle {
  cursor: move;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.device-setup-modal-drag-handle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.device-setup-modal-drag-handle img {
  height: 14px;
  opacity: 0.7;
}
