/*
 * Header Styles
 */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-color: #2f3136;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.header-icons {
  display: flex;
  gap: 8px;
  height: 100%;
  align-items: center;
  margin-left: auto; /* Asigură că grupul de iconițe rămâne în dreapta */
}

.header-icon {
  background: #40444b;
  border: 1px solid #40444b;
  color: #b9bbbe;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0 2px;
  padding: 0;
  box-sizing: border-box;
}

.header-icon:hover {
  background-color: #4f545c;
  border-color: #4f545c;
  color: #ffffff;
}

/* Stiluri pentru avatarul utilizatorului */
.header-icon .user-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Stiluri pentru inițiala utilizatorului */
.header-icon .user-initial {
  color: #ffffff;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Stil pentru butonul de autentificare când are inițială */
.header-icon.has-initial {
  background-color: #5865f2;
  color: white;
}

.header-icon.active {
  background-color: #5865f2;
  border-color: #5865f2;
  color: #ffffff;
}

.header-icon i {
  font-size: 14px;
}

/* Stiluri pentru butonul de autentificare */
#authBtn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 2px;
  width: 24px;
  height: 24px;
}

#authBtn .user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

#authBtn .user-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #5865f2;
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  padding: 0;
}

#authBtn.has-initial {
  background-color: #40444b;
}

#authBtn:hover .user-initial {
  background-color: #4752c4;
}


.fab,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}
.fas {
  font-family: "Font Awesome 6 Free";
}
.fab {
  font-family: "Font Awesome 6 Brands";
}
.fa-sign-out-alt:before {
  content: "\f2f5";
  background-color: transparent !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #b9bbbe;
}

/* Încărcare font personalizat */
@font-face {
    font-family: 'Arian LT Bold';
    src: url('../Fonts/Arian LT Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Stiluri pentru ecranul de încărcare */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1b1b1b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s ease-out; /* Mărim durata tranziției */
}

.loading-title {
    font-family: 'Arian LT Bold', sans-serif;
    font-size: 4.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    white-space: nowrap;
    line-height: 1.1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loading-progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    box-shadow: 0 0 10px 2px rgba(255, 107, 107, 0.7);
    transition: width 0.3s ease-out, box-shadow 0.3s ease-out;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: visible;
}

.loading-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
    box-shadow: 0 0 15px 3px rgba(255, 107, 107, 0.7);
    opacity: 0.7;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 0.4;
    }
}

.loading-status {
    color: #aaa;
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

@keyframes loading {
    0% { width: 0%; }
    70% { width: 100%; }
    100% { width: 100%; }
}

/* Clasa pentru ascunderea ecranului de încărcare */
#loadingScreen.hidden {
    opacity: 0;
    pointer-events: none;
}


#logoutButton, .logout-button {
  background: transparent !important;
  border: none !important;
  padding: 0 10px !important;
  cursor: pointer;
}


#logoutButton i, .logout-button i {
  background: transparent !important;
}
.fa-users:before {
  content: "\f0c0";
}
.fa-circle:before {
  content: "\f111";
}
.fa-envelope:before {
  content: "\f0e0";
}
.fa-undo:before {
  content: "\f0e2";
}
.fa-sliders-h:before {
  content: "\f1de";
}
.fa-stop:before {
  content: "\f04d";
}
.fa-bell:before {
  content: "\f0f3";
}
.fa-play:before {
  content: "\f04b";
}
.fa-plus:before {
  content: "\2b";
}
.fa-times:before {
  content: "\f00d";
}
.fa-music:before {
  content: "\f001";
}
.fa-user-plus:before {
  content: "\f234";
}
.fab {
  font-weight: 400;
}
.fa-google:before {
  content: "\f1a0";
}
.fa-github:before {
  content: "\f09b";
}
.fas {
  font-weight: 900;
}


/* 
 * CONTAINER PRINCIPAL
 * ==================
 * Stilizare pentru containerul principal care înconjoară toată aplicația
 * Include layout-ul flex și culorile de bază
 */
.main-container {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  background-color: #1a1a1a;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
/*
 * MENIU LATERAL
 * ============


/* Containerul principal al aplicației */
.application {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 100%;
  height: 100vh;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #1e1e1e;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  transition: width 0.3s ease-in-out;
  will-change: width;
}

/* Meniul lateral */
.menu {
  width: 0;
  min-width: 0;
  position: relative;
  right: 0;
  bottom: 0;
  background-color: #1e1e1e;
  border-left: 1px solid #00000060;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: 1000;
}

/* Container pentru conținutul meniului */
.menu-content {
  width: 320px;
  height: 100%;
  padding: 20px ;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Stil pentru când meniul este deschis */
.menu.open {
  width: 320px;
  min-width: 320px;
  opacity: 1;
  visibility: visible;
  background-color: #1e1e1e;
  height: calc(100vh - 30px); /* Scădem înălțimea header-ului */
}

/* Dezactivează tranziția pentru meniuri când este necesar */
body.no-menu-transition .menu {
  transition: none !important;
}

/* Stiluri pentru secțiunile din meniu */
.menu-section {
  margin-bottom: 0px;
  flex-shrink: 0;
}

.menu-section:last-child {
  margin-bottom: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Stiluri pentru containerele de liste */
.menu .sessions-container,
.menu .online-users {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.menu .sessions-list,
.menu .users-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* Stiluri pentru butoanele din meniu */
.session-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Stiluri pentru lista de participanți */
.session-participants {
  margin: 10px 0;
}

/* Participants List - Consolidated Styles */
.participants-list {
  max-height: 200px;
  overflow-y: auto;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px;
}

/* Participant item */
.participant {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  color: #e0e0e0;
  font-size: 13px;
  margin: 2px 0;
  width: 100%;
  box-sizing: border-box;
}

.participant i {
  color: #43b581;
  font-size: 12px;
  min-width: 16px;
  text-align: center;
}

.participant .participant-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #e0e0e0;
}

/* Hover state */
.participant:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Session details specific overrides */
.session-details .participant {
  padding: 6px 8px;
  margin: 2px 0;
}

/* Scrollbar styling */
.participants-list::-webkit-scrollbar {
  width: 6px;
}

.participants-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.participants-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.participants-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/*
 * PADS CONTAINER
 * =============
 * Containerul principal care conține toate pad-urile (butoanele) muzicale
 * Folosește grid layout pentru a aranja pad-urile
 * Layout-ul grid este gestionat în responsive.css
 */
.pads-container {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 2px;
  padding:0;
  min-height: 40px;
  border: 2px solid #00000060;
  background-color: #00000060;
  max-height: none;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  min-width: 0
}

.close-menu {
  display: none;
}

.controls {
  flex: 0 0 auto;
  min-height: 40px;
  max-height: none;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}
.pads-row {
  display: contents; /* Permite grid layout să funcționeze */
}
.close-menu {
  display: none;
}
/* Stilizare scrollbar ca în Discord */
.menu {
  scrollbar-width: thin;
  scrollbar-color: #202225 transparent; /* thumb and track color for Firefox */
}

/* Stil pentru Chrome/Safari */
.menu::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.menu::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.menu::-webkit-scrollbar-thumb {
  background-color: #202225;
  border-radius: 4px;
  min-height: 40px;
}

.menu::-webkit-scrollbar-thumb:hover {
  background-color: #1a1c1f;
}

/* Ascunde butoanele de scroll */
.menu::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.menu > * {
  flex-shrink: 0;
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-header h3 {
  color: #fff;
  font-size: 16px;
  margin: 0;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.user-name {
  flex-grow: 1;
  color: #dcddde;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.create-session-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  margin: 0 0 10px 0;
  background: #5865f2;
  color: white;
  border: none;
  white-space: nowrap;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.create-session-btn i {
  font-size: 14px;
}
.participants-header {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 14px;
}
.session-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.leave-confirmation {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #2f3136;
  border: 1px solid #202225;
  border-radius: 4px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  width: 240px;
  text-align: center;
  margin-bottom: 5px;
}
.session-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
}
.leave-confirmation p {
  margin: 0 0 12px 0;
  color: #dcddde;
  font-size: 14px;
}
.confirmation-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.confirm-button,
.session-item .btn, .session-item button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}
.confirm-button {
  background: #ed4245;
  color: white;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.cancel-button {
  background: #4f545c;
  color: #dcddde;
  margin-right: 8px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.session-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #5865f2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  height: 36px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-button i {
  font-size: 12px;
}
.session-button.hidden {
  display: none;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.online-users {
  background: #36393f;
  border-radius: 8px;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0; /* Permite scroll-ul */
  overflow: hidden; /* Ascunde scroll-ul implicit */
  position: relative;
}

/* Container pentru lista de utilizatori cu scroll */
/* Stilizare scrollbar ca în Discord */
.online-users .users-container {
  flex: 1;
  overflow-y: auto;
  margin-top: 10px;
  scrollbar-width: none; /* Ascunde complet scrollbar-ul în Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding-right: 2px;
}

/* Ascunde complet scrollbar-ul în toate browserele */
.online-users .users-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  display: none; /* Ascunde scrollbar-ul în Chrome/Safari */
}

/* Stil pentru Chrome/Safari */
.online-users .users-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.online-users .users-container::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.online-users .users-container::-webkit-scrollbar-thumb {
  background-color: #202225;
  border-radius: 4px;
  min-height: 40px;
}

.online-users .users-container::-webkit-scrollbar-thumb:hover {
  background-color: #1a1c1f;
}

/* Ascunde butoanele de scroll */
.online-users .users-container::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  min-height: min-content; /* Asigură că lista se poate extinde */
}
/* Stil pentru mesajul lipsa sesiuni active */
.no-active-sessions {
  text-align: center;
  padding: 20px 10px;
  color: #8e9297;
  border-radius: 8px;
  margin: 10px 0;
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 1.4;
}

.no-active-sessions i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
  color: #72767d;
}

.no-active-sessions p {
  margin: 5px 0;
  color: #b9bbbe;
}

/* Stil pentru utilizatorul curent */
.user-item.current-user {
  background-color:transparent;
  border-radius: 4px;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  color: #dcddde;
  font-size: 14px;
  background: none;
  border: none;
  margin: 0;
  gap: 10px;
  border-radius: 4px;
  position: relative;
}
.user-item:hover {
  background: rgba(79, 84, 92, 0.2);
}
.user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #7289da;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.user-avatar .online-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #1e1e1e;
  box-sizing: border-box;
  pointer-events: none;
  transform: translate(25%, 25%);
}
.user-avatar .online-status .status-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #43a25c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.user-avatar .online-status.offline,
.user-avatar .online-status.offline .status-inner {
  display: none;
}
.user-item-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding:0;
}
/* Stilizare scrollbar ca în Discord */
.users-list {
  scrollbar-width: thin;
  scrollbar-color: #202225 transparent; /* thumb and track color for Firefox */
}

.users-list::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.users-list::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.users-list::-webkit-scrollbar-thumb {
  background-color: #202225;
  border-radius: 4px;
  min-height: 40px;
}

.users-list::-webkit-scrollbar-thumb:hover {
  background-color: #1a1c1f;
}

/* Ascunde butoanele de scroll */
.users-list::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: #dcddde;
  font-size: 14px;
  background: none;
  border: none;
}
.user-item-photo {
  width: 32px;
  height: 32px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-buttons {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.sessions-container {
  background: transparent;
  border-radius: 8px;
  padding: 20px;
}
.section-header {
  color: #b9bbbe;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  padding: 0;
  font-weight: 600;
}

.category-header,
.online-users .category-header {
  color: #b9bbbe;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 15px; /* Margine stângă de 15px doar pentru category-header */
  padding: 0;
  font-weight: 600;
}
.section-header .participants-count,
.section-header #activeSessionsCount,
.category-header .participants-count,
.user-section .participants-count {
  color: #b9bbbe;
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
  display: inline;
}
.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.user-section {
  margin-bottom: 0px;
  margin-top: 16px;
}
.user-section h3 {
  color: #b9bbbe;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  padding: 0 16px 0;
  display: flex;
  align-items: center;
}
.session-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #40444b;
  border: 1px solid #40444b;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  justify-content: space-between;
  transition: all 0.2s ease, background-color 0.2s ease;
}
.session-item:hover {
  background: #5865f2;
}
.session-actions {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 10px 0;
  gap: 8px;
}

.session-actions .session-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}


.session-actions .create-session-btn {
  background-color: #43b581;
  color: white;
}

.session-actions .create-session-btn:hover {
  background-color: #3aa371;
  transform: translateY(-1px);
}
.session-header {
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.session-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.session-action-buttons .toggle-details {
  color: #b9bbbe;
  transition: transform 0.2s ease;
  font-size: 14px;
  cursor: pointer;
}

.session-action-buttons .end-session-btn {
  color: #c4c4c4;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s ease;
}

.session-action-buttons .end-session-btn:hover {
  color: #ff6b6b;
}

.session-header .toggle-details.fa-chevron-up {
  transform: rotate(180deg);
}

.session-host {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b9bbbe;
  font-size: 12px;
  font-weight: 500;
  margin: 3px 0;
}
.session-host-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dcddde;
  font-size: 14px;
}
.session-details {
  background: #36393f;
  padding: 10px 12px 5px 12px;
  display: none;
}

.session-details .participants-header {
  margin-bottom: 0px;
}

.session-details .participants-header h5 {
  color: #b9bbbe;
  font-size: 13px;
  margin: 3px 0;
  font-weight: normal;
}

.session-details .participants-list {
  margin-top: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.session-details .participant {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  gap: 8px;
  color: #e0e0e0;
  font-size: 13px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  margin: 2px 0;
}

.session-details .participant i {
  color: #43b581;
  font-size: 12px;
}

.session-participant-count {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #b9bbbe;
  background: rgba(255, 255, 255, 0.08);
}
.session-participant-count i {
  font-size: 12px;
  color: #43b581;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-title {
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-size: 14px;
}
.session-host {
  font-size: 12px;
  color: #b9bbbe;
  margin: 3px 0;
  margin: 3px 0;
}


.session-participants .participants-count {
  background: #40444b;
  color: #ffffff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.2;
  margin-left: 2px;
  font-weight: 600;
}
.participants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.current-session {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #40444b;
}
.current-session .session-title {
  display: inline;
  margin: 0 8px 0 0;
  color: #fff;
}
.current-session #currentSessionDetails {
  display: inline;
}
.session-button {
  background: #5865f2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.session-button.danger {
  background: #ed4245;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.session-button i {
  font-size: 16px;
}
.session-button.hidden {
  display: none;
}
.participants-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.online-status.offline {
  background-color: #f04747;
}
.online-status .status-inner {
  display: none;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #282828;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
  color: white;
}
.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #b3b3b3;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: white;
}
.modal input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #404040;
  border-radius: 4px;
  background: #121212;
  color: white;
  font-size: 14px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.error-message {
  color: #f15e6c;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}
.participants-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.auth-modal.active {
  display: flex;
  opacity: 1;
}
.auth-modal-content {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #b3b3b3;
  cursor: pointer;
  transition: color 0.2s ease;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.auth-modal h2 {
  color: white;
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
}
.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
}
.auth-provider-button i {
  font-size: 16px;
}
.auth-provider-button.google {
  background: #db4437;
}
.auth-provider-button.github {
  background: #333;
}
.auth-provider-button.email {
  background: #1db954;
  margin-top: 10px;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: 15px 0;
  color: #b3b3b3;
  font-size: 14px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #444;
  margin: 0 10px;
}
.auth-input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #333;
  color: white;
  font-size: 14px;
  transition: all 0.2s ease;
}
.auth-input:focus {
  border-color: #1db954;
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.3);
}
.auth-tip {
  text-align: center;
  color: #b3b3b3;
  font-size: 13px;
  margin-top: 15px;
}
.auth-tip a {
  color: #1db954;
  text-decoration: none;
  font-weight: 500;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
* {
  margin: 0;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: #1e1e1e;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.application {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background-color: #1e1e1e;
  z-index: 1;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: right 0.3s ease;
}
/* .pads-container este definit mai sus - eliminat duplicat */
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* .drum-pad este definit în responsive.css - eliminat duplicat */
.drum-pad:hover:not(.remapping) {
  background-color: #373b41;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.drum-pad:active:not(.remapping) {
  transform: scale(0.96) translateY(1px);
  background-color: #1db954;
  border-color: #1db954;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.drum-pad:focus {
  outline: none;
  box-shadow: none;
}
.drum-pad {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: none !important;
}
.drum-pad:hover,
.drum-pad:active,
.drum-pad:focus {
  transition: none !important;
}
.key {
  position: absolute;
  top: 0.5vmin;
  right: 0.5vmin;
  font-size: min(1.8vmin, 12px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 2px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: none !important;
  padding: 0.3vmin 0.6vmin;
  min-width: 2vmin;
  min-height: 2vmin;
  box-sizing: border-box;
  line-height: 1;
}
.sound-name {
  font-size: min(1.8vmin, 14px);
  color: #b3b3b3;
  letter-spacing: 0.5px;
  margin: 0.5vmin 0.5vmin 0;
  text-align: center;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  line-height: 1.2;
  min-height: 1.8vmin;
}
.context-menu {
  display: none;
  position: fixed;
  background: rgba(44, 62, 80, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 8px 0;
  width: 220px;
  color: #ecf0f1;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow: auto;
}
.context-menu-item {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ecf0f1;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.context-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 12px;
  color: #ecf0f1 !important;
}
.context-menu-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 15px;
  border: none;
}
.context-menu-item,
#changeSound,
#resetSound,
#resetAllSounds,
#cancelMenu {
  color: #ecf0f1 !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: #1e1e1e;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.application {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  will-change: transform, left, right;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* .pads-row este definit mai sus cu display: contents */
/* .pads-container este definit mai sus - eliminat al doilea duplicat */
.pads-container::-webkit-scrollbar {
  display: none;
}
/* .drum-pad este definit în responsive.css cu toate stilurile necesare */
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.drum-pad:active:not(.remapping) {
  background-color: #1db954 !important;
  border-color: #1db954 !important;
  transform: none !important;
  box-shadow: 0 0 15px 2px rgba(29, 185, 84, 0.6) !important;
  outline: none !important;
  position: relative;
  z-index: 1;
}
.drum-pad.remapping {
  background-color: #ed4245 !important;
  color: white !important;
  box-shadow: 0 0 0 2px #ed4245, 0 0 10px rgba(237, 66, 69, 0.8) !important;
  animation: pulse 1.5s infinite;
}
.context-menu-item.remapping,
.context-menu-item.remapping i {
  color: #ed4245 !important;
  font-weight: bold;
}
.context-menu-item.remapping:hover {
  background: rgba(237, 66, 69, 0.2) !important;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(237, 66, 69, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(237, 66, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 66, 69, 0); }
}
.drum-pad:focus {
  outline: none !important;
  box-shadow: none !important;
}
.drum-pad {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: none !important;
}
.drum-pad:hover,
.drum-pad:active,
.drum-pad:focus {
  transition: none !important;
}
.key {
  position: absolute;
  top: 0.5vmin;
  right: 0.5vmin;
  font-size: min(1.8vmin, 12px);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 2px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: none !important;
  padding: 0.3vmin 0.6vmin;
  min-width: 2vmin;
  min-height: 2vmin;
  box-sizing: border-box;
  line-height: 1;
}
.sound-name {
  font-size: min(1.8vmin, 14px);
  color: #b3b3b3;
  letter-spacing: 0.5px;
  margin: 0.5vmin 0.5vmin 0;
  text-align: center;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  line-height: 1.2;
  min-height: 1.8vmin;
}
.context-menu {
  display: none;
  position: fixed;
  background: rgba(44, 62, 80, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 8px 0;
  width: 220px;
  color: #ecf0f1;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow: auto;
}
.context-menu-item {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ecf0f1;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
}
.context-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 12px;
  color: #ecf0f1 !important;
}
.context-menu-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 15px;
  border: none;
}
.session-participant-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b9bbbe;
  font-size: 13px;
  white-space: nowrap;
  margin-right: 10px;
}
.session-participant-count i {
  font-size: 12px;
}
.online-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #3ba55c;
  border-radius: 50%;
  border: 2px solid #36393f;
  box-sizing: content-box;
}
.online-status.offline {
  background-color: #747f8d;
}
.online-status .status-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: currentColor;
}
.user-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.user-item:hover {
  background-color: rgba(79, 84, 92, 0.32);
}
.user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: 12px;
}
.user-item-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.default-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #7289da;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.user-name {
  font-size: 14px;
  color: #dcddde;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.session-participant-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b9bbbe;
  font-size: 13px;
  white-space: nowrap;
}
.session-participant-count i {
  font-size: 12px;
}
.online-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #3ba55c;
  border-radius: 50%;
  border: 2px solid #36393f;
  box-sizing: content-box;
}
.online-status.offline {
  background-color: #747f8d;
}
.online-status .status-inner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: currentColor;
}
.user-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.user-item:hover {
  background-color: rgba(79, 84, 92, 0.32);
}
.user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  margin-right: 12px;
}
.user-item-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.default-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #7289da;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.user-name {
  font-size: 14px;
  color: #909090;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resizer {
  background-color: #2f3136;
  cursor: row-resize;
  height: 5px;
  position: relative;
  z-index: 10;
  transition: background-color 0.2s;
}
.resizer::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color: #4f545c;
}
.resizer:hover {
  background-color: #4f545c;
}
.drum-pad {
  position: relative !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 0.1s ease !important;
}
.drum-pad .key {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Arian LT", Arial, sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: rgba(255, 255, 255, 1);
  text-shadow: none;
  pointer-events: none;
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
}
.drum-pad .sound-name {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  text-align: center;
  pointer-events: none;
}
.drum-pad.classic-rubber {
  background: #1a1a1a;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.1s ease !important;
  border: 1px solid transparent;
  border-top: 3px solid rgba(255, 255, 255, 0.05);
  border-right: 3px solid rgba(0, 0, 0, 0.1);
  border-left: 3px solid rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.drum-pad.classic-rubber:active:not(.remapping),
.drum-pad.classic-rubber.active:not(.remapping) {
  background-color: #1db954 !important;
  border-color: #1db954 !important;
  transform: none !important;
  box-shadow: 0 0 15px 2px rgba(29, 185, 84, 0.6) !important;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  outline: none !important;
}
.drum-pad.classic-rubber:active::before {
  height: 1px;
  background: rgba(255, 255, 255, 0.02);
}
.controls {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  max-height: 1000px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.controls {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  max-height: 600px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.controls.collapsed {
  max-height: 0;
  padding: 0;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease, visibility 0.3s ease 0.3s;
}

.controls-content {
  padding: 10px 15px;
  overflow: auto;
}

.controls.collapsed .controls-content {
  display: none;
}

.controls-bar {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #2a2a2a, #242424);
  border-bottom: 1px solid #3a3a3a;
  position: sticky;
  top: 0;
  z-index: 5;
  cursor: pointer;
  height: 30px;
  box-sizing: border-box;
}

.controls .left,
.controls .right {
  display: flex;
}
.control-button {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.control-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.control-button i {
  margin-right: 5px;
}

.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Stil pentru mesajul când nu sunt utilizatori online */
.no-users-message {
  text-align: center;
  padding: 20px 10px;
  color: #8e9297;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
  margin: 10px 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.no-users-message i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
  color: #72767d;
}

.no-users-message p {
  margin: 5px 0;
}

.no-users-message .login-suggestion {
  font-size: 12px;
  color: #72767d;
  margin-top: 8px;
  font-style: italic;
}

/* Stil pentru mesajul când nu sunt sesiuni active */
/* Utility Classes */
.display-flex {
  display: flex;
}

.display-block {
  display: block;
}

.display-none {
  display: none;
}

/* Firebase Auth Elements */
.firebase-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  cursor: row-resize;
  display: none;
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

/* Stil pentru iframe-ul de autentificare */
.firebase-auth-iframe {
  position: absolute !important;
  top: -100px !important;
  width: 1px !important;
  height: 1px !important;
  border: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.flex-1 {
  flex: 1;
}

.flex-column {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Component Styles - Participant */
.participant {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  color: #e0e0e0;
  font-size: 13px;
  margin: 2px 0;
  width: 100%;
  box-sizing: border-box;
}

.participant i {
  color: #43b581;
  font-size: 12px;
  min-width: 16px;
  text-align: center;
}

.participant .participant-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Override for session details */
.session-details .participant {
  padding: 6px 8px;
  margin: 2px 0;
}

.user-info-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal.visible {
  display: flex;
}

.no-sessions-message {
  text-align: center;
  padding: 25px 15px;
  color: #8e9297;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  margin: 15px 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-sessions-message i {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  color: #72767d;
  opacity: 0.8;
}

.no-sessions-message p {
  margin: 5px 0;
  color: #b9bbbe;
}

.no-sessions-message .login-suggestion {
  font-size: 12px;
  color: #72767d;
  margin-top: 8px;
  font-style: italic;
}
