/* 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: -35px;
  top: 10px;
  /*right: 0px;
  top: 0px;*/
  background: var(--main-bg);
  box-shadow: 0px 1.1966px 29.915px rgba(69, 42, 124, 0.1);
  backdrop-filter: blur(100px);
  border-radius: 18px;
  padding: 10px 8px 18px 8px;

  /* width: 82px; */
  /* min-height: 280px; */
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* left: calc(100% - 82px); */
  /* float: right; */
  z-index: 5;
}

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

.ui__draggable-handle {
  margin-bottom: 8px;
  cursor: grab;
}

.ui__draggable-handle img {
  width: 17px;
}

.ui__draggable-profile {
  width: 80px;
  height: 80px;
  /* border: 0.3px solid #61C6FF; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.ui__draggable-profile .profile-holder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

.ui__draggable-profile .profile-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.profile-holder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.display-none {
  display: none;
}

.ui__draggable-profile .profile-holder .profile-status {
  width: 12px;
  height: 12px;
  background-color: #28c76f;
  position: absolute;
  border: 2px solid #ffffff;
  border-radius: 50%;
  bottom: -5px;
  left: 30px;
}

.ui__draggable-double-icon-widget {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  flex-direction: row;
  /* margin-bottom: 8px; */
}

.devices_container {
  padding: 5px;
}

.devices_container ul {
  padding: 0;
}

.devices_container ul li {
  padding: 8px 16px;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #ffffff;
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  /*color: var(--modal-text-color);*/
}

.devices_container ul li:hover {
  background: var(--modal-hover-bg);
  color: #dddddd;
}

.devices_container ul li.active {
  background: var(--modal-active-bg);
  color: yellow;
}


.device_selector {
  background-color: transparent;
  border: transparent;
  border-radius: 50px;
  padding: 4px;
  width: 100%;
  color: white;
  font-size: 12px;
  outline: none;
}

.device_selector:focus {
  outline: 2px solid #54c392;
}

.device_selector option:hover {
  background-color: #54c392;
}

.devices__modal_content-holder {
  left: 3px !important;
  top: 17px !important;
  background: var(--secondary-bg) !important;
  border-radius: 30px !important;
}

.device-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins';
  font-size: 14px;
  color: #ffffff
  /*color: var(--modal-text-color);*/
  transition: background-color 0.2s ease;
}

.device-item:hover {
  background: var(--modal-hover-bg);
  color: #dddddd
}

.device-item.active {
  background: var(--modal-active-bg);
  /*color: var(--modal-active-text);*/
  color: white;
}

.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;
  gap: 1px;
  padding-right: 3px;
  background: #9b9ca96b;
  border-radius: 50px;
}

.ui__draggable-double-icon-widget .icon-holder {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #9f9f84;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: relative;
}

.ui__draggable-double-icon-widget .icon-holder.mutedButton {
  background-color: #b26363;
}
/* .ui__draggable-double-icon-widget .icon-holder:has(> img.mutedMic),
.ui__draggable-double-icon-widget .icon-holder:has(> img.mutedCamera){
  background-color: #EA5455;
} */

.ui__draggable-double-icon-widget .icon-holder img:hover {
  cursor: pointer;
}

.ui__draggable-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 8px;
  margin-bottom: 8px; */
}

.ui__draggable-divider img {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.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 {
  padding: 8px 8px 8px 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 238, 238, 0.2);
  border-radius: 6.66667px;
}

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

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

.ui__draggable-toggle-icon {
  margin-top: 14px;
}

.ui__draggable-toggle-icon .icon-holder {
  width: 32px;
  height: 16px;
  background: rgba(238, 238, 238, 0.2);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui__draggable-toggle-icon .icon-holder img {
  width: 20px;
}

.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-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 {
  /* 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;
  z-index: 999;
  display: none;
  top: 0;
}

.modal_content-holder.right-position {
  left: unset;
  right: 65px;
}

.modal_content-holder.left-position {
  right: 0;
  left: 65px;
}

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

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

.modal_content-holder ul {
  list-style: none;
  padding: 8px 4px;
}

.modal_content-holder ul li {
  padding: 8px 14px;
  border-radius: 8px;
  margin: 4px auto;
}

.modal_content-holder ul li:hover,
.modal_content-holder ul li.active {
  background: #484646;
  border-radius: 8px;
}

.modal_content-holder ul li a {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  width: 100%;
  align-items: center;
}

.modal_content-holder ul li.active a:before {
  content: '';
  display: block;
  background: url('assets/images/active-zone-icon.html') no-repeat;
  width: 11px;
  height: 11px;
  float: left;
  padding-left: 5px;
}

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

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

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

.main_chats-holder .chats-header p {
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.main_chats-holder .chats-header p span {
  font-weight: 400;
  font-size: 8px;
  padding-left: 5px;
  line-height: 9px;
}

.main_chats-holder .chats-divider {
  border: 1px solid #d9d9d9;
  margin: 4px auto;
  width: 100%;
}

.main_chats-holder .single-chat-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
  position: relative;
  cursor: pointer;
}

.main_chats-holder .single-chat-holder .chat-content {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  align-items: center;
}

.main_chats-holder .single-chat-holder .chat-content img {
  width: 100%;
}

.main_chats-holder .single-chat-holder .chat-content .chat-title {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #fefefe;
}

.main_chats-holder .single-chat-holder .chat-content .chat-sub-title {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 8px;
  line-height: 16px;
  color: #fefefe;
}

.main_chats-holder .chat-messages {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_chats-holder .chat-messages img {
  padding-right: 5px;
}

.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: 30px;
}

.main_chats-holder .chat-profile-container .status {
  width: 8px;
  height: 8px;
  background-color: #28c76f;
  position: absolute;
  border: 1px solid #ffffff;
  border-radius: 50%;
  bottom: 0px;
  right: 0;
}

/* 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 */

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