:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --secondary: #3f37c9;
  --accent: #4cc9f0;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --success: #4bb543;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(30, 17, 17, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Glassmorphism Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  /*backdrop-filter: blur(10px);*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100px;
  height: 60px;
}

.navbar-brand i {
  color: var(--primary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark);
  margin: 0 8px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary);
}

.navbar .btn-signup {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.navbar .btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
  color: white;
}

/* Main Content */
.main-content {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Hero Section */
.hero-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 7px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-image {
  width: 100%;
  height: 412px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

/* Form Elements */
.input-group {
  margin-bottom: 25px;
  justify-content: center;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.input-field {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background-color: #fafbfc;
  border-radius: 10px !important;
  border: 1px solid #2c2c2c;
  background: #e0e0e0;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  background-color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--gray-light);
}

.btn-secondary:hover {
  background: #f8f9ff;
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: white;
  border-radius: 40px 40px 0 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 60px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e9ecef 100%);
  border-radius: 20px;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 32px;
}

/* Meeting Options */
.meeting-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.meeting-option {
  background: transparent;
  border: 1px solid #bbb;
  border-radius: var(--border-radius);
  padding: 20px 22px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.meeting-option:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.meeting-option.active {
  border-color: var(--primary);
  background-color: transparent;
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary);
  font-size: 35px;
}

/* Name Preview */
.name-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding: 12px 15px;
  background-color: #f8f9ff;
  border-radius: var(--border-radius);
  border: 1px solid #bbb;
  background: none;
  border-left: 3px solid var(--primary);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

/* Logo */
.img-logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
  font-size: 14px;
  background-color: white;
  border-top: 1px solid var(--gray-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 25px;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  border-top: 1px solid var(--gray-light);
  padding: 20px 25px;
}

/* Meeting Room Styles */
.meeting-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #1a1a2e;
  color: white;
  overflow: hidden;
}

.header {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  align-items: center;
  justify-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  background: #2d3047;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transform: scaleX(-1);
}

.video-wrapper.mirror video {
  transform: scaleX(-1);
}

.participant-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons {
  position: absolute;
  top: -45px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.status-icon {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.chat-section {
  width: 350px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.message-self {
  margin-left: auto;
  margin-right: 0;
  border-top-right-radius: 0;
  background: linear-gradient(135deg, #4361ee, #3a56d4);
  color: white;
  max-width: 80%;
}

.message-other {
  margin-left: 0;
  margin-right: auto;
  border-top-left-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  max-width: 80%;
}

.system-message {
  text-align: center;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(67, 97, 238, 0.2);
  border-radius: 20px;
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(67, 97, 238, 0.3);
}

.controls {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  z-index: 100;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
}

/* Crawler */
.crawler-container {
  height: 40px;
  background: linear-gradient(
    90deg,
    rgba(67, 97, 238, 0.3) 0%,
    rgba(60, 86, 212, 0.3) 100%
  );
  border-bottom: 1px solid rgba(67, 97, 238, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 50;
  display: flex;
}

.crawler-text {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 50px;
}

/* Timer and Clock */
.timer-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  background: #bbbbbb5c;
  border-radius: 20px;
  padding: 5px 15px;
}

.clock {
  text-align: center;
  background: #1437ce;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
}

/* Dropdown Styles */
.dropdown-menu {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 0;
  overflow-y: auto;
}

.dropdown-item {
  color: var(--primary);
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
}

.dropdown-item:hover {
  background: rgba(67, 97, 238, 0.3);
}

.dropdown-item.active {
  background: rgba(67, 97, 238, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-image {
    height: 290px;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .chat-section {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: right 0.3s;
  }

  .chat-section.active {
    right: 0;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .meeting-options {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 420px;
  }

  .controls {
    flex-wrap: wrap;
  }

  .btn {
    padding: 12px 10px;
    font-size: 16px;
    font-size: 16px;
    width: 100%;
  }

  .dropdown-menu {
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

.err_msg {
  position: absolute;
  right: 5px;
  bottom: 60px;
  color: red;
  font-size: 12px;
  font-style: oblique;
}
.err_input:focus-within {
  border: 1px solid red !important;
}

.form-code {
  position: relative;
}

.err_msgcode {
  position: absolute;
  left: 5px;
  bottom: -16px;
  color: red;
  font-size: 12px;
  font-style: oblique;
}

.controls .btn {
  font-size: 14px;
}

.permission-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px;
  font-size: 14px;
  border-radius: 10px;
}

.lobby-main {
  background: #fff;
  margin-top: 7em;
  padding: 20px;
  border-radius: 20px;
}
.lobby-back {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.lobby-back a {
  display: block;
  margin-right: 10px;
  position: relative;
  top: 2px;
}
.lobby-back a i {
  color: #333;
  font-size: 20px;
}

.lobby-back .lobby-info h4 {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.lobby-back .lobby-info p {
  color: #5f5f5f;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 0;
  margin: 0;
  position: absolute;
  top: -30px;
  width: 100%;
  text-align: center;
  left: 0;
}

.lobby-time {
  display: none;
}

.lobby-time p font {
  color: #bbb;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-right: 10px;
  margin-left: 10px;
}
.lobby-time p,
.lobby-time p span {
  color: #1f1f1f;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.lobby-meeting {
  border-radius: 20px;
  background: #d9d9d9;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 8px 10px 8px 10px;
  cursor: pointer;
  margin-top: 0px;
}

.lobby-meeting p {
  color: #1f1f1f;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.lobby-meeting p span {
  color: #1f1f1f;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

.lobby-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 20px;
}

.lobby-explore {
  border-radius: 20px;
  background: #e9f7ff;
  padding: 10px 10px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.lobby-explore p {
  color: #1f1f1f;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.lobby-explore a {
  color: #4361ee;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.lobby-explore i {
  color: #4361ee;
  margin-bottom: 15px;
  font-size: 25px;
}

.lobby-uname span {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.lobby-online {
  border-radius: 20px;
  background: #5f5f5f;
  padding: 10px 20px;
  position: relative;
  min-height: 20em;
  margin-top: 20px;
}

.lobby-center {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.lobby-form {
  position: relative;
  height: 100%;
  padding-top: 18px;
  padding-bottom: 100px;
}

.lobby-center p {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin-bottom: 30px;
}

.btn-allow {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 20px;
  background: #446cee;
  height: 42px;
  padding: 10px 20px;
  border: none;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.lobby-controll {
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  z-index: 10;
}

.btn-elipse {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.btn-mic {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #fff;
  position: relative;
  height: 50px;
  width: 50px;
}

.btn-cam {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #fff;
  position: relative;
  height: 50px;
  width: 50px;
}

.btn-mic.permission,
.btn-cam.permission {
  border: 1px solid #ffb20b;
  padding: 10px 11px;
}

.btn-bg {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #fff;
  position: relative;
  padding: 10px 11px;
}

.btn-bg i {
  color: #fff;
  font-size: 20px;
  position: relative;
  top: 3px;
}

.btn-bg.permission {
  border: 1px solid #bbb;
  border-radius: 50%;
  overflow: hidden;
}

.btn-bg.permission::after {
  content: "";
  position: absolute;

  width: 160%; /* longer than circle */
  height: 2px; /* line thickness */
  background: #fff;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-bg.permission i {
  color: #bbb;
}

.btn-mic i,
.btn-cam i {
  color: #fff;
  font-size: 20px;
}

.btn-mic.permission i,
.btn-cam.permission i {
  color: #bbb;
}
.btn-mic i.info,
.btn-cam i.info {
  display: none;
}

.btn-mic.permission i.info,
.btn-cam.permission i.info {
  color: #ffb20b;
  position: absolute;
  top: -5px;
  left: -10px;
  display: block;
}

.btn-elipse i {
  color: #fff;
  font-size: 20px;
}

.mr-1 {
  margin-right: 10px !important;
}

.ml-1 {
  margin-left: 10px !important;
}

.ml-2 {
  margin-left: 20px !important;
}

.ml-4 {
  margin-left: 40px !important;
}

.mr-2 {
  margin-right: 20px !important;
}
.menu-loby-wrap {
  position: relative;
}
.menu-loby-setting {
  border-radius: 10px;
  background: #fff;
  min-height: 29px;
  position: absolute;
  min-width: 30px;
  top: -115px;
  left: 5px;
  width: 13em;
  z-index: 10;
}

.menu-loby-setting ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-loby-setting ul li {
}

.menu-loby-setting ul li:first-child {
  border-bottom: 1px solid #bbb;
}

.menu-loby-setting ul li:first-child a {
  border-radius: 10px 10px 0 0;
}

.menu-loby-setting ul li:last-child a {
  border-radius: 0 0 10px 10px;
}

.menu-loby-setting ul li a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 10px;
  text-decoration: none;
  background: #fff;
  transition: 0.3s ease-in;
}

.menu-loby-setting ul li a.invalid {
  background: #d1cfcf;
}

.menu-loby-setting ul li a.invalid i {
  color: #7f7f7f;
}

.menu-loby-setting ul li a.invalid span {
  color: #7f7f7f;
}

.menu-loby-setting ul li a:hover {
  background: #d1cfcf;
  transition: 0.3s ease-in;
}

.menu-loby-setting ul li a i {
  margin-right: 15px;
  font-size: 20px;
  color: #5b5959;
}

.menu-loby-setting ul li a span {
  color: #5f5f5f;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.lobby-bottom {
  background: #d9d9d9;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  gap: 10px;
}

.mic-setting {
  border-radius: 20px;
  background: #fff;
  padding: 10px 30px 10px 15px;
  position: relative;
}

.cam-setting {
  border-radius: 20px;
  background: #fff;
  padding: 10px 30px 10px 15px;
  position: relative;
}

.speaker-setting {
  border-radius: 20px;
  background: #fff;
  padding: 10px 30px 10px 15px;
  margin-right: 10px;
  position: relative;
}

.mic-setting span,
.cam-setting span,
.speaker-setting span {
  margin-left: 5px;
  color: #333;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.mic-setting.permission span,
.cam-setting.permission span,
.speaker-setting.permission span {
  color: #9a9a9a;
}

.mic-setting::after,
.cam-setting::after,
.speaker-setting::after {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f078";
  font-size: 15px;
  color: #333;
  position: absolute;
  top: 11px;
  right: 10px;
}

.mic-setting.permission::after,
.cam-setting.permission::after,
.speaker-setting.permission::after {
  color: #9a9a9a;
}

.mic-setting.permission,
.cam-setting.permission,
.speaker-setting.permission {
  background: #fff;
}
.mic-setting.permission i,
.cam-setting.permission i,
.speaker-setting.permission i {
  color: #9a9a9a;
}

.mic-setting.permission span,
.cam-setting.permission span,
.speaker-setting.permission span {
  color: #9a9a9a;
}

#lobby-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  background: #bbb;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 20px;
  z-index: 20;
}

.class-hidden {
  display: none !important;
}

.spinner-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.spinner-wrapper .spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.spinner-wrapper p {
  color: #333;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.drawer_bg {
  background: rgba(31, 31, 31, 0.21);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.drawer_permission {
  background: rgba(31, 31, 31, 0.21);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.drawer_wrapper {
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
}

.drawer-banner {
  background: #45a8db;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  height: 200px;
  width: 100%;
  position: relative;
}
.drawer-conten {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 20px 10px;
}

.drawer-conten p {
  color: #5f5f5f;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.drawer-header {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  width: 100%;
}

.drawer-header a {
  display: block;
  margin: 7px 10px 4px 10px;
}
.drawer-header a i {
  font-size: 25px;
  color: #333;
}

.img-full-contain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  z-index: 0;
}

.drawer-banner img {
  object-position: bottom;
}

.lobby-uname {
  position: relative;
}

.form-main {
  margin-bottom: 20px;
  position: relative;
}

.form-main .form-title {
}

.form-main .form-title label {
  color: #1f1f1f;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.help-wrap {
  /* margin-top: 50px; */
  position: absolute;
  left: auto;
  bottom: 10px;
  /* height: 100%; */
  /* background: lime; */
  width: 100%;
  left: 0px;
}

.link-text {
  color: #446eee;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.help-wrap {
  margin-top: 50px;
}

.help-wrap a {
  display: block;
  text-align: center;
}

.form-main .form-input {
  position: relative;
  height: 50px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 4px 0 rgba(0, 0, 0, 0.25) inset,
    0 2px 4px 0 rgba(0, 0, 0, 0.25) inset;
}

.form-main .form-input:focus-within {
  border: 2px solid #4895ef;
}

.form-main .form-input input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  padding-left: 10px;
  border: none;
  background: none;
  font-size: 14px;
  color: #333;
}

.form-main .form-input input:focus {
  outline: none;
}

.form-main .form-input input::placeholder {
  font-size: 14px;
  color: #bbb;
}
.form-main small {
  color: red;
  font-size: 13px;
  position: absolute;
  bottom: -20px;
  left: 8px;
}

.uname-wrap {
  border-radius: 12px;
  background: #f2f2f2;
  box-shadow:
    0 0 4px 0 rgba(0, 0, 0, 0.25),
    0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  height: 50px;
  padding: 7px 10px 7px 10px;
  width: max-content;
  margin-top: 20px;
}
.uname-wrap .uname-circle {
  background: #4c76f3;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 10px;
}
.uname-wrap .uname-circle span {
  color: #fff;
  font-size: 25px;
}

.uname-wrap .uname-text {
}
.uname-wrap .uname-text span {
  color: #5f5f5f;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.btn-lobby {
  margin-top: 50px;
}

.btn-lobby #cancel-btn {
  margin-bottom: 15px;
}

.btn-lobby button {
}

.meeting-main {
  min-height: calc(100vh - 100px);
  position: relative;
}

.meeting-main .panel-header {
  height: 40px;
  width: 100%;
  background: #1f263f;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  padding: 0px 12px;
}

.meeting-main .panel-header .right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
}
.meeting-main .panel-header .meeting-id {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
}

.meeting-card video {
  border-radius: 0px;
}

.meeting-main .panel-header .right .meeting-emoji {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  border-left: 1px solid #bbb;
  border-right: 1px solid #bbb;
  padding-left: 9px;
  padding-right: 15px;
  margin-right: 15px;
  gap: 20px;
  height: 40px;
}

.meeting-main .panel-header .right .meeting-emoji .emoji a {
  text-decoration: none;
}
.meeting-main .panel-header .right .meeting-emoji .emoji a i {
  color: #fff;
  font-size: 18px;
}

.meeting-main .panel-header .right .meeting-config {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  height: 40px;
}

.meeting-main .panel-header .right .meeting-config .conf-icon.grid a {
  position: relative;
  left: -4px;
}

.meeting-id p {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0px;
  margin-right: 5px;
}

.meeting-id span {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

.meeting-main .panel-header .right .meeting-config .conf-icon a {
  text-decoration: none;
}

.meeting-main .panel-header .right .meeting-config .conf-icon.grid a {
}

.meeting-main .panel-header .right .meeting-config .conf-icon a i.lefticon {
  position: relative;
  left: 9px;
}

.meeting-main .panel-header .right .meeting-config .conf-icon a i {
  color: #fff;
  font-size: 18px;
}

.meeting-main .panel-bottom {
  height: 60px;
  width: 100%;
  background: #1f263f;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
#clock-meeting {
  background: #0dcaf0;
  height: 60px;
  width: 190px;
  display: none;
  /* display: flex; */
}
.clock-meeting p {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0;
  margin: 0;
  margin-bottom: 4px;
}
.clock-meeting span {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.controll-meeting {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.controll-meeting .controll-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.controll-meeting .controll-wrapper.screen {
  display: none;
}

.controll-meeting .controll-wrapper .controll-btn {
}

.controll-meeting .controll-wrapper .controll-btn button {
  background: #565e64;
  border-radius: 10px 0px 0px 10px;
  height: 30px;
  width: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.controll-meeting .controll-wrapper .controll-btn button i {
  color: #fff;
  font-size: 18px;
}

.controll-meeting .controll-wrapper .controll-menu {
}

.controll-meeting .controll-wrapper .controll-menu button {
  background: #565e64;
  border-radius: 0px 10px 10px 0px;
  height: 30px;
  width: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.controll-meeting .controll-wrapper .controll-btn button.slash,
.controll-meeting .controll-wrapper .controll-menu button.slash {
  background: rgba(220, 53, 69, 0.5);
}
.controll-meeting .controll-wrapper .controll-menu button i {
  color: #fff;
  font-size: 18px;
}

.panel-bottom .end-wrap {
}

.panel-bottom .running-wrapper {
  display: none;
}

.panel-bottom .end-wrap .end-meeting button {
  background: rgba(220, 53, 69, 0.5);
  height: 30px;
  width: 60px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.panel-bottom .end-wrap .end-meeting button:focus {
  outline: none;
  background: rgba(220, 53, 69, 0.5);
}

.panel-bottom .end-wrap .end-meeting {
  border-left: 1px solid #bbb;
  padding-left: 10px;
  margin-left: 10px;
}

.panel-bottom .end-wrap .end-meeting button i {
  color: #fff;
  font-size: 18px;
  transform: rotate(130deg);
}

.meeting-body {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.meeting-card {
  background: #2f3a62;
  height: 100px;
  width: calc(25% - 8px);
  position: relative;
}

#video_close {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  z-index: 1;
  /*background: #0dcaf0;*/
  border-radius: 50%;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#video_close span {
  color: #fff;
  font-size: 100%;
  font-weight: 600;
}

.meeting-card small {
  position: absolute;
  z-index: 1;
  right: 5px;
  top: 0px;
}
.meeting-card small i {
  font-size: 12px;
  color: #fff;
}

/*span#unamedisplay {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 14px;
    color: #fff;
    border-radius: 10px;
    background: rgba(31, 31, 31, 0.35);
    padding: 4px 18px;
}*/

.lobby-status-btn {
  border: 0;
  text-align: left;
  cursor: pointer;
}

.lobby-status-btn:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.device-picker-title {
  color: #333;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.device-picker-subtitle {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.device-picker-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-option {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.device-option:hover {
  border-color: #45a8db;
  box-shadow: 0 6px 16px rgba(69, 168, 219, 0.12);
}

.device-option.active {
  border-color: #45a8db;
  background: #eef8fd;
}

.device-option-label {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.device-option-meta {
  display: block;
  color: #7b7b7b;
  font-size: 12px;
  margin-top: 4px;
}

.device-picker-note {
  color: #7b7b7b;
  font-size: 13px;
  margin: 0;
}

.device-picker-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-test-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-test-status {
  color: #5f5f5f;
  font-size: 13px;
  margin: 0;
}

.device-test-meter {
  width: 100%;
  height: 10px;
  background: #e8edf1;
  border-radius: 999px;
  overflow: hidden;
}

.device-test-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #45a8db 0%, #18c37e 100%);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.lobby-bottom {
  position: relative;
  overflow: visible;
}

.lobby-online {
  overflow: hidden;
}

.lobby-preview-surface {
  position: absolute;
  inset: 0px 0px;
  border-radius: 16px;
  overflow: hidden;
  background: #101010;
  z-index: 0;
}

.lobby-preview-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.04) 0%,
    rgba(11, 18, 32, 0.22) 100%
  );
  pointer-events: none;
}

.lobby-preview-surface video,
.preview-effect-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-effect-canvas {
  display: none;
  z-index: 1;
}

.lobby-online.is-effect-active #preview {
  opacity: 0;
}

.lobby-online.is-effect-active .preview-effect-canvas {
  display: block;
}

#lobby-animation,
.lobby-uname,
.lobby-center,
.lobby-controll {
  z-index: 2;
}

.lobby-device-item {
  position: relative;
}

.lobby-device-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: clamp(340px, 42vw, 520px);
  max-width: calc(100vw - 24px);
  z-index: 30;
  display: none;
  transform: translateX(-50%);
}

.lobby-device-menu.is-open {
  display: block;
}

.lobby-device-menu-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(18, 38, 63, 0.18);
  padding: 16px;
}

.lobby-device-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lobby-device-menu-header button {
  border: 0;
  background: transparent;
  color: #5f5f5f;
  padding: 2px;
  line-height: 1;
  cursor: pointer;
}

.lobby-device-menu-header button i {
  font-size: 20px;
}

.drawer_bg .drawer_wrapper {
  width: min(540px, 100%);
  right: 0;
  left: auto;
  align-items: stretch !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer_bg .drawer-conten {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.bg-side {
  border-bottom: 1px solid #d8d8d8;
  padding: 0 22px;
}

.bg-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
}

.bg-side ul li {
  color: #5f5f5f;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0 12px;
  position: relative;
  cursor: pointer;
}

.bg-side ul li.active {
  color: #333;
  font-weight: 700;
}

.bg-side ul li.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px;
  background: #333;
}

.bg-panel-content {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.bg-panel-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bg-panel-group p {
  color: #5f5f5f;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.bg-panel-box {
  border-radius: 14px;
  background: #e1e1e1;
  border: 1px solid #d3d3d3;
  padding: 14px;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.bg-panel-box.is-active {
  background: #f6f8fb;
  border-color: #d6deea;
}

.bg-panel-preview {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bg-panel-preview-blur {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bg-panel-preview-stack {
  position: relative;
}

.bg-panel-preview-card {
  min-height: 112px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.bg-panel-preview img {
  width: calc(25% - 15px);
  min-width: 0;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.bg-blur-option {
  flex: 0 0 calc(25% - 15px);
  width: calc(25% - 15px);
  min-width: calc(25% - 15px);
  height: 100px;
  min-height: 100px;
  border-radius: 16px;
  background: #d1d1d1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.bg-effect-option:hover {
  transform: translateY(-2px);
}

.bg-effect-option:focus-visible {
  outline: 2px solid #446cee;
  outline-offset: 3px;
}

.bg-blur-option::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(
      circle,
      rgba(191, 177, 196, 0.9) 0 4px,
      transparent 5px
    )
    center/24px 24px;
  opacity: 0.95;
}
.bg-blur-option i {
  /* position: relative; */
  z-index: 1;
  color: #242424;
  position: absolute;
  top: 35%;
}
.wallet-wrap {
  border-radius: 20px;
  background: var(
    --wallet-grad,
    linear-gradient(180deg, #adc2ff 0%, #24568e 100%)
  );
  box-shadow:
    0px 0px 4px 0px rgba(0, 0, 0, 0.25),
    0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 20px;
  position: relative;
}

.wallet-wrap::after {
  content: "";
  background: url(../assets/img/assets/logo/buaivector.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 45%;
  left: 65%;
  z-index: 0;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
}

.wallet-title {
  color: #fff;
  text-shadow:
    0px 0px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.round-wallet {
  /*background: #fff;*/
  position: relative;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  padding: 20px;
}

.round-wallet img {
  width: 90%;
  height: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bg-blur-option.is-selected {
  background: #ececec;
  box-shadow: inset 0 0 0 5px #12b312;
}

.bg-blur-check {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #12b312;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 6px 12px rgba(18, 179, 18, 0.28);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.bg-effect-option.is-selected .bg-blur-check {
  opacity: 1;
  transform: scale(1);
}

.bg-blur-person {
  font-size: 41px;
}

.bg-blur-option.is-upload::before {
  display: none;
}

.bg-blur-upload-plus {
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 28px;
}

.bg-blur-upload-image {
  font-size: 40px;
}

.bg-blur-option.has-upload-preview {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-blur-option.has-upload-preview::before {
  display: none;
}

.bg-image-option {
  flex: 0 0 calc(25% - 15px);
  width: calc(25% - 15px);
  min-width: calc(25% - 15px);
  height: 100px;
  min-height: 100px;
  border-radius: 16px;
  border: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #d1d1d1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.bg-image-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-option-title {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.bg-preview-pattern {
  background:
    radial-gradient(
      circle at 22% 32%,
      rgba(181, 149, 63, 0.92) 0 12%,
      transparent 13%
    ),
    radial-gradient(
      circle at 67% 26%,
      rgba(231, 212, 155, 0.96) 0 16%,
      transparent 17%
    ),
    radial-gradient(
      circle at 42% 74%,
      rgba(218, 192, 108, 0.9) 0 14%,
      transparent 15%
    ),
    linear-gradient(135deg, #e8dbb1 0%, #cda34d 100%);
}

.bg-preview-room {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, #b98763 0%, #e5c9b7 40%, #8d735d 100%);
}

.bg-preview-plant {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.15)),
    linear-gradient(135deg, #c7d7c5 0%, #739577 45%, #eef2ea 100%);
}

.bg-preview-lounge {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, #ab8a76 0%, #d6c4b0 35%, #7c6a5a 100%);
}

.bg-panel-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(2px);
}

.bg-panel-mask-preview {
  border-radius: 12px;
}

.bg-panel-coming {
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.clear-all {
  padding: 0 22px 22px;
  display: flex;
  justify-content: flex-end;
}

.btn-clear {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #587af3 0%, #3f63e1 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 34px;
  box-shadow: 0 8px 18px rgba(63, 99, 225, 0.28);
}

.btn-bg.is-active {
  background: rgba(68, 108, 238, 0.18);
  box-shadow: 0 0 0 4px rgba(68, 108, 238, 0.12);
}

@media (max-width: 767px) {
  .lobby-preview-surface {
    inset: 0px 0px;
  }

  .lobby-device-menu {
    width: min(420px, calc(100vw - 24px));
  }

  .drawer_bg .drawer_wrapper {
    width: 100%;
    max-height: 100vh;
  }

  .bg-side {
    padding: 0 16px;
    overflow-x: auto;
    height: 10em;
  }

  .bg-side ul {
    gap: 18px;
  }

  .bg-panel-content {
    padding: 16px;
  }

  .bg-panel-box {
    min-height: 140px;
  }

  .bg-panel-coming {
    font-size: 24px;
  }

  .bg-panel-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bg-panel-preview-blur {
    gap: 12px;
  }

  .bg-blur-option {
    flex-basis: calc(33.333% - 8px);
    width: calc(33.333% - 8px);
    min-width: calc(33.333% - 8px);
    height: 110px;
    min-height: 110px;
  }

  .bg-image-option {
    flex-basis: calc(50% - 6px);
    width: calc(50% - 6px);
    min-width: calc(50% - 6px);
    height: 110px;
    min-height: 110px;
  }

  .bg-blur-person {
    font-size: 42px;
  }

  .bg-blur-upload-image {
    font-size: 44px;
  }

  .bg-blur-upload-plus {
    top: 18px;
    left: 18px;
  }

  .clear-all {
    padding: 0 16px 16px;
  }
}

.lobby-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px;
  width: 100%;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 100px auto;
}

.logo {
  display: flex;
  text-align: center;
  margin-bottom: 30px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.logo-icon i {
  font-size: 28px;
  color: white;
}

.logo h1 {
  font-weight: 700;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 5px;
}

.logo p {
  color: var(--gray);
  font-size: 16px;
}

.preview-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.video-wrapper {
  position: relative;
  width: 400px;
  height: 300px;
  background: black;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.status-icon {
  position: absolute;
  top: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.audio-icon {
  left: 10px;
}

.cam-icon {
  right: 10px;
}

.img-logo-loby {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
}

.logo-loby {
  position: relative;
  width: 120px;
  height: 150px;
  background: #fff;
}

@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }

  .controls {
    flex-direction: column;
    align-items: center;
  }

  .controls .btn {
    width: 100%;
    max-width: 300px;
    font-size: 14px;
  }

  .lobby-container {
    padding: 25px;
  }
}

.bg-panel {
  margin-top: 15px;
  background: #f6f8fb;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #bbb;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.bg-blur-option i.fa-check {
  top: 50%;
  left: 50%;
  color: #fff;
}

.bg-load {
  position: absolute; /* cover whole screen */
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  display: none;
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  background: rgba(255, 255, 255, 0.6); /* optional overlay */
  z-index: 9999;
}

/* simple spinner */
.loader {
  width: 50px;
  height: 50px;
  border: 6px solid #ddd;
  border-top: 6px solid #587af3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.wallet-coin {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: flex-end;
  justify-content: flex-start;
}

.wallet-coin h6 {
  color: #fff;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.wallet-coin img {
  margin-right: 4px;
  margin-left: 5px;
  height: 20px;
}

.wallet-coin span {
  color: #fff;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.reload-btn {
  border-radius: 57px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #000;
  text-align: center;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration: none;
  padding: 7px 20px;
}

.wallet-point {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
}

.wallet-coin-wrap .reload-btn {
  margin-bottom: 14px;
  margin-top: 10px;
  display: inline-flex;
  position: relative;
  z-index: 1;
}

.wallet-coin-wrap.single {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
}

.wallet-point-voucher {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  border-right: 1px solid #bbb;
  margin-right: 10px;
  padding-right: 10px;
}

.wallet-point-voucher.brnone {
  border-right: none;
  margin-right: 0px;
  padding-right: 0px;
}

.points-title {
  color: #fff;
  text-shadow:
    0px 0px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.points-pts {
  color: #fff !important;
  text-shadow:
    0px 0px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  padding: 0;
  margin: 0;
}

.flex-between {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: space-between;
}

.btn-ellips {
  position: absolute;
  left: 0;
  bottom: 0;
}

.btn-ellips.show {
  border: none;
}

.btn-ellips:focus {
  outline: none;
}

.btn-ellips i {
  color: #fff;
}
