/* Styles for the integrated Cabin and Chat sidebar */

/* Floating Chat Toggle Button */
.cabine-chat-toggle {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 99999999;
  background: #ff8164;
  color: #fff;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 129, 100, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 22px;
}
.cabine-chat-toggle:hover {
  transform: scale(1.05);
  background: #ff6e4b;
}

/* Sidebar Chat Drawer */
.cabine-chat-drawer {
  position: fixed;
  right: -320px;
  top: 0;
  width: 320px;
  height: 100vh;
  z-index: 99999998;
  background: rgba(18, 10, 33, 0.97);
  border-left: 2px solid #31005f;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -5px 0 25px rgba(0,0,0,0.8);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 20px 20px 100px 20px;
  color: #fff;
}
.cabine-chat-drawer.open {
  right: 0;
}

/* Modal overlays (Login and Cabin) */
.cabine-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 5, 20, 0.95);
  z-index: 1000000000;
  overflow-y: auto;
  display: none;
  padding: 40px 20px;
  color: #fff;
}

/* Dashboard Container */
.cabine-dashboard {
  max-width: 1100px;
  margin: 0 auto;
  background: #0b0813;
  border: 2px solid #31005f;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  padding: 25px;
}

/* Cards style inside Cabin */
.cabine-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cabine-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #ff8164;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

/* Inputs and Forms */
.cabine-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.cabine-input:focus {
  border-color: #ff8164;
}

/* Buttons */
.cabine-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.cabine-btn-primary {
  background: #31005f;
  color: #fff;
}
.cabine-btn-primary:hover {
  background: #4a008f;
}
.cabine-btn-accent {
  background: #ff8164;
  color: #fff;
}
.cabine-btn-accent:hover {
  background: #ff6e4b;
}
.cabine-btn-danger {
  background: #d9534f;
  color: #fff;
}
.cabine-btn-danger:hover {
  background: #c9302c;
}

/* Tab systems */
.cabine-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}
.cabine-tab-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}
.cabine-tab-btn.active {
  background: #31005f;
}

/* Pulse animation for Live dot */
.cabine-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: cabine-pulse 1.2s infinite;
}
@keyframes cabine-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Mic Live recording button */
.cabine-btn-mic {
  width: 100%;
  padding: 15px;
  font-size: 15px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  background: #31005f;
  color: #fff;
  transition: all 0.3s;
}
.cabine-btn-mic.broadcasting {
  background: #ff007f;
  box-shadow: 0 0 15px #ff007f;
}

/* Drag and Drop Zone */
.cabine-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cabine-dropzone:hover {
  border-color: #ff8164;
}

/* Scrollable lists */
.cabine-list {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 5px;
}
.cabine-list-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Badges */
.cabine-badge {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
}
.cabine-badge-autodj { background: #31005f; color: #fff; }
.cabine-badge-live { background: #ff007f; color: #fff; }
