:root {
  --bg-dark: #08090C;
  --bg-surface: #10121A;
  --bg-surface-hover: #181B26;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 207, 41, 0.45);
  
  --primary-gradient: linear-gradient(135deg, #FFCF29 0%, #F59E0B 60%, #D97706 100%);
  --primary-color: #FFCF29;
  --primary-glow: rgba(255, 207, 41, 0.35);
  
  --accent-cyan: #38BDF8;
  --accent-gold: #FFCF29;
  --accent-green: #10B981;
  --accent-red: #F43F5E;
  --accent-purple: #A855F7;

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0,0,0,0.6);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 270px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: fixed;
  height: 100vh;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 28px 12px;
}

.brand-icon {
  font-size: 28px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.brand-title span {
  font-size: 11px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 207, 41, 0.35);
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom Scrollbar elegante para o menu lateral */
.nav-menu::-webkit-scrollbar {
  width: 5px;
}

.nav-menu::-webkit-scrollbar-track {
  background: transparent;
}

.nav-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 207, 41, 0.6);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: left;
}

.nav-item i {
  width: 18px;
  height: 18px;
}

.nav-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary-gradient);
  color: #08090C !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(255, 207, 41, 0.35);
}

.nav-item.active i {
  color: #08090C !important;
}

.badge-count {
  margin-left: auto;
  background: var(--accent-red);
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-item.active .badge-count {
  background: #08090C !important;
  color: #FFCF29 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}

.avatar-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}

.user-name {
  font-weight: 700;
  font-size: 14px;
}

.user-role {
  font-size: 12px;
  color: var(--text-subtle);
}

/* MAIN CONTENT */
.main-content {
  margin-left: 270px;
  flex: 1;
  padding: 32px 40px;
}

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.btn-refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
}

/* METRICS GRID */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.users-bg { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.pending-bg { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.approved-bg { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.matches-bg { background: rgba(255, 207, 41, 0.15); color: var(--primary-color); }

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-top: 2px;
}

/* TAB CONTENT */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* PANEL SECTIONS */
.panel-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.panel-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

/* FILTERS */
.filter-bar {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-control {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.filter-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 65, 108, 0.15);
}

.filter-control option {
  background: #0F172A;
  color: #FFF;
}

.filter-chips {
  display: flex;
  gap: 10px;
}

.chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip.active {
  background: var(--primary-gradient);
  color: #08090C;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(255, 207, 41, 0.3);
}

.subtab-switcher {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  width: fit-content;
}

.subtab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subtab-btn:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.05);
}

.subtab-btn.active {
  background: var(--primary-gradient);
  color: #08090C;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255, 207, 41, 0.3);
}

.search-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  width: 320px;
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-color);
}

/* DATA TABLE */
.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 12px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-subtle);
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: middle;
}

.user-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.user-row:hover {
  background-color: var(--bg-surface-hover);
}

.loading-td {
  text-align: center;
  color: var(--text-subtle);
  padding: 30px !important;
}

/* BADGES & ACTION BUTTONS */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.status-pending { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.status-approved { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.status-rejected { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
}

.rating-gold { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.rating-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.rating-red { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

.action-btns {
  display: flex;
  gap: 8px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-approve { background: var(--accent-green); color: #FFF; }
.btn-reject { background: var(--accent-red); color: #FFF; }
.btn-delete { background: rgba(239, 68, 68, 0.2); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.4); }
.btn-delete:hover { background: #EF4444; color: #FFF; border-color: #EF4444; }
.btn-vip { background: var(--primary-gradient); color: #FFF; }

.btn-action:hover {
  opacity: 0.85;
}

/* PHOTOS GALLERY GRID */
.photos-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.gallery-photo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.gallery-photo-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
}

.gallery-photo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-img-wrapper img {
  transform: scale(1.05);
}

.gallery-photo-type-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid rgba(72, 242, 209, 0.3);
}

.gallery-photo-info {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-hover);
  border-top: 1px solid var(--border-color);
}

.gallery-user-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-user-name:hover {
  color: var(--accent-cyan);
}

.gallery-user-avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-cyan);
}

/* LIGHTBOX INTERACTIVE ZOOM */
.lightbox-img-container {
  width: 100%;
  max-height: 72vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  position: relative;
  user-select: none;
}

.lightbox-img-container img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: zoom-in;
}

.lightbox-img-container img.is-zoomed {
  transform: scale(2.2);
  cursor: zoom-out;
}

.photos-grid {
  display: grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.photo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.photo-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.photo-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-card:hover .photo-card-img-wrapper img {
  transform: scale(1.05);
}

.photo-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(72, 242, 209, 0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.photo-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.photo-zoom-btn:hover {
  background: var(--accent-purple);
  transform: scale(1.1);
}

.photo-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.photo-user-name {
  font-weight: 800;
  font-size: 14px;
  color: #FFF;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-user-email {
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.photo-meta-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 6px;
}

.photo-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* MODAL DE DETALHES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #FFF;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--accent-red);
}

/* MODAL USER PROFILE LAYOUT */
.user-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.user-modal-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.user-modal-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
}

.user-modal-email {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 2px;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.info-block {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.info-block h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span:first-child {
  color: var(--text-muted);
}

.info-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
}

.demographics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.streaming-7col-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

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

@media (max-width: 1200px) {
  .streaming-7col-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .demographics-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .streaming-7col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* STORIES CAROUSEL SCROLLBAR */
.stories-bar-horizontal::-webkit-scrollbar {
  height: 6px;
}
.stories-bar-horizontal::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
.stories-bar-horizontal::-webkit-scrollbar-thumb {
  background: rgba(244, 63, 94, 0.5);
  border-radius: 10px;
}
.stories-bar-horizontal::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 63, 94, 0.8);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #08090C !important;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 207, 41, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 207, 41, 0.45);
}

/* TOGGLE SWITCH COMPONENT */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-color);
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #9CA3AF;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}

.switch-toggle input:checked + .switch-slider {
  background: var(--primary-gradient);
  border-color: transparent;
}

.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(20px);
  background-color: #FFFFFF;
}

/* ==========================================================================
   MAYBee AUDIO PLAYER (Convites & Encontros)
   ========================================================================== */
.modal-audio-card {
  background: linear-gradient(145deg, rgba(255, 207, 41, 0.08) 0%, rgba(18, 22, 32, 0.95) 100%);
  border: 1px solid rgba(255, 207, 41, 0.28);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 207, 41, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.modal-audio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-audio-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #FFCF29;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-audio-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 207, 41, 0.35);
  color: #08090C;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.audio-play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(255, 207, 41, 0.55);
}

.audio-play-btn:active {
  transform: scale(0.96);
}

.audio-track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.audio-waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 2px;
}

.audio-wave-bar {
  flex: 1;
  max-width: 6px;
  height: 6px;
  min-height: 4px;
  background: rgba(255, 207, 41, 0.22);
  border-radius: 4px;
  transition: height 0.15s ease, background 0.15s ease;
}

.audio-wave-bar.active {
  background: #FFCF29;
}

.is-playing .audio-wave-bar:nth-child(2n) {
  animation: waveAnim 0.75s ease-in-out infinite alternate;
}
.is-playing .audio-wave-bar:nth-child(2n+1) {
  animation: waveAnim 0.55s ease-in-out infinite alternate-reverse;
}
.is-playing .audio-wave-bar:nth-child(3n) {
  animation: waveAnim 0.95s ease-in-out infinite alternate;
}

@keyframes waveAnim {
  0% { height: 4px; opacity: 0.5; }
  50% { height: 22px; opacity: 1; }
  100% { height: 7px; opacity: 0.75; }
}

.audio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-progress-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

.audio-progress-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFCF29;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 207, 41, 0.8);
  transition: transform 0.15s ease;
}

.audio-progress-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.audio-time-label {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.audio-speed-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.audio-speed-btn:hover {
  background: rgba(255, 207, 41, 0.15);
  color: #FFCF29;
  border-color: rgba(255, 207, 41, 0.35);
}

.audio-transcription-box {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid #FFCF29;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.5;
  font-style: italic;
}

