/* --- Root Design Tokens (Minimalist / Champagne Gold & Black) --- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-card: #0c0c0c;
  --bg-card-border: #1a1a1a;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #4e4e4e;
  
  /* Champagne Gold Accent Palette */
  --accent-color: #e3d1b0; /* Champagne Gold */
  --accent-hover: #d2bfa0;
  --accent-glow: rgba(227, 209, 176, 0.1);
  
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --border-radius-card: 16px;
  --border-radius-pill: 50px;
}

/* --- Base Body & Grid Pattern --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

body {
  /* Elegant grid line pattern matching the reference image */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* --- App Container Layout --- */
.app-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
  gap: 12px;
}

/* --- Header Section --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-card-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo .icon {
  font-size: 24px;
}

.logo h1 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.logo h1 span {
  color: var(--accent-color);
  font-weight: 300;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
}

.badge.host {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.badge.guest {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.server-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.status-dot.green {
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.status-dot.red {
  background-color: var(--danger);
  box-shadow: 0 0 10px var(--danger);
}

/* --- Workspace Grid --- */
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  flex: 1;
  min-height: 0;
  min-width: 0;
}

@media (max-width: 900px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    height: auto;
  }
}

/* --- Flat Minimalist Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bg-card-border);
  padding-bottom: 6px;
}

.card-header h2 {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Status Pills --- */
.pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill-secondary {
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
}

.pill-danger {
  background: var(--danger);
  color: #000000;
  animation: pulse 1.5s infinite;
}

/* --- Video Container --- */
.video-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--bg-card-border);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default to full screen fill */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.video-container.contain-mode video {
  object-fit: contain; /* Switch to uncropped fit view */
}

/* Float local video as a small picture-in-picture bubble when remote video is active */
#remote-video:not(.hidden) ~ #local-video {
  width: 150px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* Keep bubble fully filled */
  top: 16px;
  right: 16px;
  left: auto;
  border-radius: 10px;
  border: 2px solid rgba(227, 209, 176, 0.4); /* Champagne gold border */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  z-index: 5;
}

/* Responsive adjustments for portrait/mobile screens */
@media (max-width: 600px) {
  .video-container {
    aspect-ratio: 9 / 16;
  }
  #remote-video:not(.hidden) ~ #local-video {
    width: 100px;
    top: 12px;
    right: 12px;
    border-radius: 8px;
  }
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  background: #040404;
}

.placeholder-icon {
  font-size: 32px;
}

/* --- Audio Level VU Meter --- */
.audio-meter-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audio-meter-container label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.meter-bar {
  height: 4px;
  background: var(--bg-card-border);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.05s ease-out;
}

/* --- Device Dropdowns --- */
.device-selectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.form-control {
  background: #000000;
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  
  /* Fix select box overflow shown in screenshot */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.form-control:focus {
  border-color: var(--accent-color);
}

/* Force native checkboxes and range inputs to use our theme accent color */
input[type="checkbox"], input[type="range"] {
  accent-color: var(--accent-color) !important;
}

/* --- Pill Outline Buttons (RSVP Style) --- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 28px;
  border-radius: var(--border-radius-pill);
  border: 1px solid var(--text-muted);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.btn-large {
  padding: 16px 36px;
  font-size: 14px;
  flex: 1;
}

/* Start Button: Champagne Gold Solid */
.btn-danger {
  background: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
}

.btn-danger:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Stop Button: Minimal Outline */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

/* Warning Recovery button */
.btn-warning {
  background: transparent;
  border-color: var(--warning);
  color: var(--warning);
}

.btn-warning:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.05);
}

/* --- Crash Recovery Banner --- */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-radius: var(--border-radius-card);
  background: rgba(251, 191, 36, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.15);
}

.banner-content {
  display: flex;
  gap: 16px;
  align-items: center;
}

.banner h4 {
  font-family: var(--font-title);
  color: var(--warning);
  font-size: 15px;
  margin-bottom: 2px;
}

.banner p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- Controller Panels --- */
.role-view {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.control-actions {
  display: flex;
  gap: 16px;
}

/* --- Status Summary Row --- */
.status-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-summary h3 {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.participant-status-list {
  display: flex;
  gap: 12px;
}

.participant-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: #000000;
  border-radius: 8px;
  border: 1px solid var(--bg-card-border);
  text-align: center;
}

.participant-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--accent-color); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* --- Upload Progress Center --- */
.upload-monitor, .progress-card {
  background: #000000;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-monitor h3 {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.progress-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}

.progress-bar {
  height: 2px;
  background: var(--bg-card-border);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

/* --- Completed Recordings Directory --- */
.recordings-list-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recordings-list-section h3 {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.table-container {
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
}

.recordings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.recordings-table th, .recordings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-card-border);
}

.recordings-table th {
  font-weight: 600;
  color: var(--text-muted);
  background: #020202;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}

.recordings-table tr:last-child td {
  border-bottom: none;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* --- Guest Screen Panel --- */
.guest-status-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  background: #000000;
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  gap: 20px;
}

.guest-state-icon {
  font-size: 48px;
  color: var(--accent-color);
}

.guest-status-display h1 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.guest-status-display p {
  color: var(--text-secondary);
  max-width: 380px;
  font-size: 13px;
  line-height: 1.6;
}

/* --- Sync Flash Overlay --- */
.sync-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.sync-overlay.active {
  animation: flash 0.8s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* --- Footer --- */
.main-footer {
  margin-top: auto;
  text-align: center;
  padding: 24px 0 8px 0;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* --- Utilities --- */
.hidden {
  display: none !important;
}

/* --- Keyframes --- */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

@keyframes flash {
  0% { opacity: 1; }
  10% { opacity: 1; }
  100% { opacity: 0; }
}

/* --- Floating Video Controls Overlay --- */
.video-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  pointer-events: auto;
}

/* --- Split Button for Mic & Camera --- */
.control-split-btn {
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
  height: 36px;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.control-split-btn:hover {
  border-color: rgba(227, 209, 176, 0.4);
  background: rgba(10, 10, 10, 0.95);
}

.control-main-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

.control-main-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.control-main-btn.muted {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
}

.control-select-wrapper {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  width: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.control-select-wrapper:hover {
  background: rgba(255, 255, 255, 0.08);
}

.caret-icon-svg {
  color: var(--accent-color);
  pointer-events: none; /* Let clicks pass through to select */
  display: block;
}

.invisible-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Make it invisible but clickable */
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

select option {
  background-color: #0c0c0c; /* Matches --bg-card */
  color: var(--text-primary); /* White text */
  font-family: var(--font-body);
  font-size: 13px;
}

/* --- Toggle aspect ratio capsule button --- */
.control-btn-capsule {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  height: 36px;
  padding: 0 14px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.control-btn-capsule:hover {
  border-color: rgba(227, 209, 176, 0.4);
  background: rgba(10, 10, 10, 0.95);
}

/* --- Guest Upload Modal Overlay --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  padding: 40px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#modal-upload-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--accent-color);
  text-transform: uppercase;
}

#modal-upload-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.modal-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(227, 209, 176, 0.1);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.modal-icon {
  font-size: 40px;
  line-height: 1;
}

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

.modal-progress-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.modal-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.modal-progress-bar {
  height: 6px;
  background: var(--bg-card-border);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
}

.modal-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.1s ease-out;
}

/* --- Studio Quality Settings Card Styling --- */
.quality-settings-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-card);
  padding: 18px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.quality-settings-section h3 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin: 0;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

@media (max-width: 500px) {
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* --- Internal Role Scrollbars --- */
.role-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 6px;
  min-height: 0;
}

.role-body::-webkit-scrollbar,
.drawer-body::-webkit-scrollbar {
  width: 6px;
}
.role-body::-webkit-scrollbar-track,
.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.role-body::-webkit-scrollbar-thumb,
.drawer-body::-webkit-scrollbar-thumb {
  background: var(--bg-card-border);
  border-radius: 10px;
}
.role-body::-webkit-scrollbar-thumb:hover,
.drawer-body::-webkit-scrollbar-thumb:hover {
  background: rgba(227, 209, 176, 0.2);
}

/* --- Sleek Pill Buttons (Vault Toggle) --- */
.icon-btn {
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.icon-btn:hover {
  border-color: var(--accent-color);
  background: rgba(227, 209, 176, 0.05);
}

/* --- Drawer Sidebar (Vault) --- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}

.drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: relative;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--bg-card-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--bg-card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.drawer-header h2 {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  color: var(--accent-color);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.drawer-close-btn:hover {
  color: var(--accent-color);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  min-height: 0;
}

/* --- Recording Item Cards --- */
.drawer-recordings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recording-item-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.recording-item-card:hover {
  border-color: rgba(227, 209, 176, 0.3);
}

.recording-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recording-filename {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.4;
}

.recording-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.recording-actions {
  display: flex;
  justify-content: flex-end;
}

.recording-actions .btn-download {
  padding: 6px 14px;
  font-size: 10px;
  font-family: var(--font-body);
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid var(--accent-color);
  background: var(--accent-color);
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.recording-actions .btn-download:hover {
  background: transparent;
  color: var(--accent-color);
}

