/* ==========================================================================
   TOLDER - PRIVATE APP DASHBOARD STYLES (SUBTLE OBSIDIAN & SILVER/GOLD)
   Reserved for logged-in creators: Refined dark luxury aesthetic without loud yellow.
   ========================================================================== */

.dashboard-container {
  max-width: 1040px;
  margin: 120px auto 60px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Dashboard Control Header & Toolbar */
.dashboard-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.16);
}

.dashboard-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* View Mode Selector Toggle Buttons */
.view-toggle-group {
  display: flex;
  background: rgba(12, 10, 8, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: var(--radius-full);
  padding: 3px;
}

.view-toggle-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-toggle-btn.active {
  background: rgba(30, 24, 18, 0.95);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.35);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Rooms Grid Container (Uniform Clean Layout) */
.rooms-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.room-card-item {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(12, 10, 8, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
}

.room-card-item:hover {
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-3px);
}

.room-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.room-badge-status.offline {
  background: rgba(156, 163, 175, 0.08);
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.15);
}

/* Rooms Compact List Container */
.rooms-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(12, 10, 8, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  gap: 16px;
  flex-wrap: wrap;
}

.room-list-row:hover {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(18, 14, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.room-list-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.room-avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber-300);
}

.room-list-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Uniform Buttons for Private Dashboard (Sleek Obsidian & Fine Gold) */
.btn-action-private {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 179, 8, 0.25);
  background: rgba(20, 16, 12, 0.85);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-action-private:hover {
  border-color: rgba(234, 179, 8, 0.5);
  background: rgba(30, 24, 18, 0.95);
  color: #fde047;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.15);
}

.btn-copy-obs {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 179, 8, 0.22);
  background: rgba(14, 11, 8, 0.8);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-obs:hover {
  border-color: rgba(234, 179, 8, 0.45);
  color: var(--text-primary);
  background: rgba(24, 19, 14, 0.9);
}

.btn-copy-obs.copied {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
}

/* Modal Overlay for Room Creation */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-glass-box {
  width: 100%;
  max-width: 460px;
  padding: 28px;
  background: rgba(12, 10, 8, 0.96);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Channel Management Page Styles (channel.html) */
.channel-container {
  max-width: 980px;
  margin: 120px auto 60px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.channel-card-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: rgba(12, 10, 8, 0.88);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.token-form-group {
  display: flex;
  gap: 12px;
}

.mod-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.mod-table th {
  padding: 14px 18px;
  background: rgba(10, 8, 6, 0.95);
  color: var(--text-subtle);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(234, 179, 8, 0.16);
}

.mod-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.06);
}

.token-code {
  font-family: monospace;
  background: rgba(8, 6, 4, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-md);
  color: #fef08a;
}
