body {
    font-family: Inter, Arial, sans-serif !important;
}
.control-bar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: #1f2937;
  border-top: 1px solid #374151;

  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  transition: .3s ease;
}
.control-btn {
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.control-btn:hover {
  background: #4b5563;
  transform: translateY(-2px);
}
.control-btn.active {
  background: #4f46e5;
}
.end-call {
  width: 55px;
  background: #ef4444;
}
.end-call:hover {
  background: #dc2626;
}
.video-header {
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f2937;
  border-bottom: 1px solid #374151;
  color:#fff;

  position: fixed;
  top: 0;
  width: 100%;
}
.meeting-title {
  font-size: 16px;
  font-weight: 700;
}
.meeting-info {
  font-size: 13px;
  color: #fff;
  margin-top: 3px;
}

.control-bar-timer {
    font-size: 14px;
    width: 75px;
    border-radius: 10px;
    background: #093cac;
    font-weight: 600;
}
.control-bar .end-call {
    border-radius: 20% !important;
}
.control-bar .signal-bar {
    border-radius: 10px !important;
    width: 100px !important;
    background: #283240 !important;
}

@media(max-width:650px){
  .control-bar{ gap:6px }
  .control-btn{width:42px;height:42px;font-size:16px}
  .control-bar-timer {width: 55px; font-size: 11px;}
}

.control-bar-mobile { gap:25px !important }
.control-bar-mobile .control-btn {
  width: 50px !important;
  height: 50px !important;
}

#participant_list .audio_session_btn {
    border: 2px solid #7f7d7d !important;
    width: 80px !important;
    height: 80px !important;
    font-size: 30px !important;
    font-weight: 700;
}

 .grid-bg {
    /* background: #374151 !important; */
    background: linear-gradient(135deg, #374151, #3c4554) !important;
    border-radius: 12px !important;
 }

 /******** Spinner *******/
 .meeting-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 23, 42, 0.96);

    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    color: #fff;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Main circle */
.meeting-spinner {
    position: relative;
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
}

/* Rotating ring */
.spinner-ring {
    position: absolute;
    inset: 0;

    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #093cac;

    border-radius: 50%;

    animation: meeting-spin 1s linear infinite;
}

/* Three users */
.users-icon {
    position: relative;
    width: 42px;
    height: 34px;
}

/* Common user */
.user {
    position: absolute;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* User head */
.user-head {
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: #093cac;

    margin-bottom: 2px;
}

/* User body */
.user-body {
    width: 19px;
    height: 12px;

    background: #093cac;

    border-radius: 10px 10px 4px 4px;
}

/* Left user */
.user-left {
    left: 0;
    bottom: 3px;

    transform: scale(0.78);
}

/* Center user */
.user-center {
    left: 50%;
    transform: translateX(-50%);

    z-index: 2;
}

/* Right user */
.user-right {
    right: 0;
    bottom: 3px;

    transform: scale(0.78);
}

/* Title */
.loader-title {
    font-size: 18px;
    font-weight: 600;

    margin-bottom: 7px;
}

/* Subtitle */
.loader-subtitle {
    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;
    line-height: 20px;

    max-width: 280px;
}

/* Loading dots */
.loading-dots {
    display: flex;
    gap: 5px;

    margin-top: 18px;
}

.loading-dots span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #093cac;

    animation: dot-pulse 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

/* Animations */
@keyframes meeting-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes dot-pulse {
    0%,
    60%,
    100% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .spinner-ring,
    .loading-dots span {
        animation: none;
    }
}
/******* Spinner End *********/

/*********** Chat section ********/

/* CHAT PANEL */
/* =========================
   CHAT PANEL
========================= */
.chat-section {
  width: 25%;
  flex: 0 0 360px;
  background: #fff;
  color: #111827;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #374151;
  overflow: hidden;
  /* transition: width .3s ease, flex-basis .3s ease, opacity .2s ease; */
  height: 100vh;
  position: absolute;
  right: -800px;
  z-index: 999999;
  transition: .3s ease;
}
.chat-section.collapsed {
  width: 0;
  flex-basis: 0;
  opacity: 0;
  border-left: 0;
}
/* Header */
.chat-header {
  height: 115px;
  min-width: 360px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}
.webinar-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.webinar-title-row h3 {
    margin: 0;
}

.online-count {
    white-space: nowrap;
}
.chat-title h3 {
  font-size: 17px;
}
.online-count {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}
.collapse-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  font-size: 18px;
}
.collapse-btn:hover {
  background: #e5e7eb;
}

.empty-state {
  text-align: center;
  padding: 25px;
  font-weight: 600;
  color: #928f8f;
}
/* =========================
   TABS
========================= */
.chat-tabs {
  /* min-width: 360px; */
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.chat-tab {
  flex: 1;
  height: 48px;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  transition: .2s ease;
}
.chat-tab:hover {
  color: #4f46e5;
  background: #f9fafb;
}
.chat-tab.active {
  color: #4f46e5;
}
.chat-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: #4f46e5;
  border-radius: 2px 2px 0 0;
}
/* =========================
   TAB CONTENT
========================= */
.tab-content {
  display: none;
  flex: 1;
  min-width: 360px;
  overflow: hidden;
}
.tab-content.active {
  display: flex;
  flex-direction: column;
}
/* =========================
   CHAT MESSAGES
========================= */
.messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #fff;
}
.webinarmessage {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.webinarmessage.me {
  justify-content: flex-end;
}
.webinarmessage.me .webinarmessage-avatar {
  display: none;
}
.message-content {
  max-width: 78%;
}
.message-user {
  font-size: 11px;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 4px;
}
.webinarmessage.me .message-user {
  text-align: right;
}
.webinar-message-text {
  display: inline-block;
  background: #dfdfe1;
  padding: 9px 12px;
  border-radius: 4px 12px 12px 12px;
  font-size: 14px;
  line-height: 1.4;
}
.webinarmessage.me .webinar-message-text {
  background: #4f46e5;
  color: #fff;
  border-radius: 12px 4px 12px 12px;
}
.webinarmessage-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
/* =========================
   MESSAGE INPUT
========================= */
.chat-input {
  min-width: 360px;
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  outline: none;
}
.chat-input input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.send-btn {
  border: 0;
  background: #4f46e5;
  color: #fff;
  width: 44px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 18px;
}
.send-btn:hover {
  background: #4338ca;
}
/* =========================
   PEOPLE LISTS
========================= */
.people-list {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}
.person {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 8px;
  border-radius: 9px;
  transition: .15s ease;
}
.person:hover {
  background: #f3f4f6;
}
.person-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.person-info {
  flex: 1;
  min-width: 0;
}
.person-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-role {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f09d04;
  margin-top: -28px;
  margin-left: 20px;
  display:none;
}
/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px) {
  .chat-section {
    width: 310px;
    flex-basis: 310px;
  }
  .chat-header,
  .chat-tabs,
  .tab-content,
  .chat-input {
    min-width: 310px;
  }
}
@media(max-width:650px) {
  .chat-section {
    position: fixed;
    right: -300;
    top: 0;
    height: 100vh;
    width: 100%;
    /* max-width: 380px; */
    z-index: 50;
    box-shadow: -8px 0 25px rgba(0,0,0,.35);
  }
  .chat-section.collapsed {
    width: 0;
  }
}
/* INPUT */
.chat-input {
  min-width: 360px;
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  outline: none;
}
.chat-input input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.send-btn {
  border: 0;
  background: #4f46e5;
  color: #fff;
  width: 44px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 18px;
}
.send-btn:hover {
  background: #4338ca;
}

/****** Chat section end ********/

/* END MEETING CONFIRM MODAL */
.end-modal-overlay {
  position:fixed !important;
  inset:0 !important;
  background:rgba(0,0,0,.58) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transition:opacity .2s ease, visibility .2s ease !important;
  z-index:9999 !important;
}
.end-modal-overlay.show {
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
.end-modal {
  width:min(420px,100%) !important;
  background:#fff !important;
  color:#111827 !important;
  border-radius:14px !important;
  box-shadow:0 20px 55px rgba(0,0,0,.35) !important;
  padding:24px !important;
  transform:translateY(10px) scale(.98) !important;
  transition:transform .2s ease !important;
}
.end-modal-overlay.show .end-modal {
  transform:translateY(0) scale(1) !important;
}
.end-modal-icon {
  width:48px;
  height:48px;
  margin-bottom:16px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fee2e2;
  color:#dc2626;
  font-size:23px;
}
.end-modal h3 {
  font-size:18px !important;
  margin-bottom:8px !important;
  text-align: left !important;
}
.end-modal p {
  color:#6b7280 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  margin-bottom:22px !important;
  text-align: left !important;
}
.end-modal-actions {
  display:flex !important;
  justify-content:flex-end !important;
  gap:10px;
}
.end-modal-btn {
  min-width:92px !important;
  padding:10px 16px !important;
  border:0 !important;
  border-radius:9px !important;
  cursor:pointer !important;
  font-size:13px !important;
  font-weight:600 !important;
}
.end-modal-cancel {
  background:#f3f4f6 !important;
  color:#374151 !important;
}
.end-modal-cancel:hover {
  background:#e5e7eb !important;
}
.end-modal-confirm {
  background:#ef4444 !important;
  color:#fff !important;
}
.end-modal-confirm:hover {
  background:#dc2626 !important;
}
/* END MEETING CONFIRM MODAL ENDS */

/* MODERATOR CHAT SECTION */
.moderator-chat-overlay {
  /* position: absolute; */
  inset: 0;
  background: #fff;
  display: none;
  z-index: 20;
  height: 77vh;
  margin-top: 8px;
}

.moderator-chat-overlay.show {
  display: block;
}

.moderator-chat-window {
  width: 100%;
  height: 100%;
  background: #fff;
  color: #111827;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.moderator-chat-header {
  height: 70px;
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.moderator-chat-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.moderator-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.moderator-chat-name {
  font-size: 14px;
  font-weight: 700;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.moderator-chat-status {
  margin-top: 3px;
  font-size: 11px;
  color: #22c55e;
}

.moderator-chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.moderator-chat-close:hover {
  background: #e5e7eb;
}

.moderator-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f9fafb;
}

.private-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  padding: 20px;
}

.private-message {
  display: flex;
  margin-bottom: 12px;
}

.private-message.me {
  justify-content: flex-end;
}

.private-message-bubble {
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 4px;
  background: #dfdfe1;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.4;
}

.private-message.me .private-message-bubble {
  background: #4f46e5;
  color: #fff;
  border: 0;
  border-radius: 12px 12px 4px 12px;
}

.moderator-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.moderator-chat-input input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  outline: none;
}

.moderator-chat-input input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

@media(max-width:650px) {
  .moderator-chat-window {
    width: 100%;
    height: 83%;
  }
}
/* MODERATOR CHAT SECTION END */

/* =========================
   RAISED-HAND NOTIFICATION
========================= */
.meeting-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  width: min(360px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
  pointer-events: none;
}

.meeting-notification {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  pointer-events: auto;
  animation: notification-in .25s ease-out;
}

.meeting-notification-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 19px;
}

.meeting-notification-content {
  flex: 1;
  min-width: 0;
}

.meeting-notification-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.meeting-notification-text {
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.meeting-notification-close {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.meeting-notification-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.meeting-notification.hide {
  animation: notification-out .18s ease-in forwards;
}

@keyframes notification-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes notification-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

@media(max-width:650px) {
  .meeting-notifications {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}
/* Raise Hand notification end */

.webinar_speaking_participant {
	border: 4px solid #217fcc;
}
.webinar_self_speaking {
	border: 4px solid #217fcc;
}
