/* ==========================================================================
   SPIDIFY MAIN APP — CREATOR DASHBOARD DESIGN SYSTEM
   ========================================================================== */

:root {
  --app-bg: #07080B;
  --app-sidebar-bg: #0B0D14;
  --app-topbar-bg: rgba(11, 13, 20, 0.85);
  --app-card-bg: #10131E;
  --app-card-hover: #161B2B;
  --app-border: rgba(255, 255, 255, 0.08);
  --app-border-hover: rgba(255, 255, 255, 0.18);
  --app-accent: #AF52DE;
  --app-accent-cyan: #0A84FF;
  --app-accent-pink: #FF375F;
  --app-text-1: #FFFFFF;
  --app-text-2: #9A9EAC;
  --app-text-3: #5E6375;
  --app-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Helvetica Neue", "Inter", sans-serif;
  --app-font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Space Grotesk", sans-serif;
  --app-font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

body.app-body {
  margin: 0;
  padding: 0;
  background-color: var(--app-bg);
  color: var(--app-text-1);
  font-family: var(--app-font-sans);
  height: 100vh;
  overflow: hidden;
  display: flex;
}

/* ─── App Shell ─── */
.app-shell {
  display: flex;
  width: 100%;
  height: 100%;
}

/* ─── Sidebar ─── */
.app-sidebar {
  width: 250px;
  background: var(--app-sidebar-bg);
  border-right: 1px solid var(--app-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  z-index: 20;
}

.sidebar-top {
  padding: 20px 16px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 0 8px 24px;
}

.sidebar-brand-icon {
  font-size: 1.4rem;
}

.sidebar-brand-text {
  font-family: var(--app-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sidebar-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(175, 82, 222, 0.18);
  color: var(--app-accent);
  border: 1px solid rgba(175, 82, 222, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--app-text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.sidebar-nav-item.active {
  background: rgba(175, 82, 222, 0.14);
  color: #fff;
  border-color: rgba(175, 82, 222, 0.35);
}

.sidebar-icon {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
}

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

.sidebar-quota-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.quota-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.quota-bar-wrap {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.quota-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A84FF, #AF52DE);
  width: 33%;
  border-radius: 999px;
}

/* ─── Main Content Area ─── */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--app-bg);
}

/* ─── Top Bar ─── */
.app-topbar {
  height: 64px;
  background: var(--app-topbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  flex-shrink: 0;
}

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

.topbar-page-title {
  font-family: var(--app-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Authentic iOS Dynamic Island HUD Capsule */
.topbar-dynamic-island {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.island-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 10px #30D158;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.island-status-title {
  font-family: var(--app-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.island-sub-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #30D158;
  background: rgba(48, 209, 88, 0.14);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(48, 209, 88, 0.3);
}

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

.plan-badge {
  font-family: var(--app-font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.15);
  color: #0A84FF;
  border: 1px solid rgba(10, 132, 255, 0.3);
  text-transform: uppercase;
}

.btn-upgrade {
  background: linear-gradient(135deg, #FF375F 0%, #AF52DE 100%);
  color: #fff;
  border: none;
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(175, 82, 222, 0.35);
}

.btn-upgrade:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--app-border);
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--app-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ─── Scrollable Workspace View ─── */
.app-view-container {
  flex: 1;
  overflow-y: auto;
  padding: 32px 36px 60px;
}

/* Dynamic Tab Views */
.tab-view {
  display: none;
}

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

/* ─── Dashboard Tab ─── */
.dash-greeting-block {
  margin-bottom: 32px;
}

.dash-greeting-title {
  font-family: var(--home-font-heading, var(--app-font-heading));
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.dash-greeting-sub {
  color: var(--app-text-2);
  font-size: 1rem;
  margin: 0;
}

.section-label {
  font-family: var(--app-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Large Create Buttons Grid */
.dash-create-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.dash-create-btn {
  background: var(--app-card-bg);
  border: 1px solid var(--app-border);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dash-create-btn:hover {
  background: var(--app-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.create-btn-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.create-btn-text h3 {
  font-family: var(--app-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.create-btn-text p {
  color: var(--app-text-2);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
}

/* Recent Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--app-card-bg);
  border: 1px solid var(--app-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.project-card:hover {
  border-color: var(--app-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.project-thumb {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--app-font-mono);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.project-thumb-dur {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--app-font-mono);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.project-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title {
  font-family: var(--app-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-meta {
  font-size: 0.75rem;
  color: var(--app-text-3);
  margin-bottom: 14px;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.action-btn-sm {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--app-border);
  color: var(--app-text-2);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.action-btn-sm:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.action-btn-sm.primary {
  background: rgba(175, 82, 222, 0.15);
  border-color: rgba(175, 82, 222, 0.4);
  color: var(--app-accent);
}

.action-btn-sm.primary:hover {
  background: rgba(175, 82, 222, 0.3);
  color: #fff;
}

.action-btn-sm.danger:hover {
  background: rgba(255, 69, 58, 0.2);
  color: #FF453A;
  border-color: rgba(255, 69, 58, 0.4);
}

/* ─── Audio Tools Interactive Studio in Dashboard ─── */
.audio-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.dsp-tool-card {
  background: var(--app-card-bg);
  border: 1px solid var(--app-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dsp-tool-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dsp-icon {
  font-size: 1.5rem;
}

.dsp-title {
  font-family: var(--app-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.dsp-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.dsp-slider-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--app-text-2);
  margin-bottom: 4px;
}

/* Authentic iOS Sliders */
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transition: background 0.2s ease;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.1);
  cursor: grab;
  transition: transform 0.15s ease;
}

.slider-input::-webkit-slider-thumb:active {
  transform: scale(1.15);
  cursor: grabbing;
}

/* Authentic iOS Toggle Switch */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

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

.ios-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(120, 120, 128, 0.32);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ios-switch-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.ios-switch input:checked + .ios-switch-slider {
  background-color: #30D158;
  border-color: #30D158;
}

.ios-switch input:checked + .ios-switch-slider:before {
  transform: translateX(20px);
}

/* Authentic iOS Modal Grabber Handle */
.ios-grabber {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 16px;
}

/* ─── My Exports Table ─── */
.exports-table-wrap {
  background: var(--app-card-bg);
  border: 1px solid var(--app-border);
  border-radius: 16px;
  overflow: hidden;
}

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

.exports-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--app-text-3);
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--app-border);
}

.exports-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--app-text-1);
}

.exports-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ─── Upgrade Modal ─── */
.upgrade-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.upgrade-modal-overlay.active {
  display: flex;
}

.upgrade-modal-box {
  background: #0D101A;
  border: 1px solid rgba(175, 82, 222, 0.35);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(175, 82, 222, 0.2);
}

.upgrade-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--app-border);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.plans-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.plan-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--app-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.plan-card-item.featured {
  border-color: var(--app-accent);
  background: rgba(175, 82, 222, 0.06);
}

.plan-card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--app-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.plan-price-num {
  font-family: var(--app-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 16px;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--app-text-2);
}

.plan-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════════
   DASHBOARD YOUTUBE SEARCH HERO SUITE
   ══════════════════════════════════════════════════════════════════════ */
.dash-yt-search-hero {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.08) 0%, rgba(20, 24, 36, 0.9) 100%);
  border: 1px solid rgba(255, 0, 85, 0.25);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.dash-yt-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-yt-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.dash-yt-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.dash-yt-search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.dash-yt-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.dash-yt-input:focus {
  background: rgba(255, 255, 255, 0.10);
  border-color: #FF0055;
  box-shadow: 0 0 0 3px rgba(255, 0, 85, 0.25);
}

.dash-yt-btn {
  background: linear-gradient(135deg, #FF0055, #FF2D55);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 0, 85, 0.4);
  white-space: nowrap;
}

.dash-yt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 0, 85, 0.55);
}

.dash-yt-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-yt-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dash-yt-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.dash-yt-results-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.dash-yt-results-grid::-webkit-scrollbar {
  width: 4px;
}
.dash-yt-results-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.dash-yt-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.2s ease;
}

.dash-yt-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 0, 85, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.dash-yt-thumb {
  position: relative;
  width: 90px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.dash-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-yt-dur {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: var(--app-font-mono);
}

.dash-yt-meta {
  flex: 1;
  min-width: 0;
}

.dash-yt-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.dash-yt-channel {
  font-size: 0.72rem;
  color: var(--app-text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.dash-yt-open-btn {
  background: rgba(10, 132, 255, 0.16);
  border: 1px solid rgba(10, 132, 255, 0.4);
  color: #0A84FF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.dash-yt-open-btn:hover {
  background: #0A84FF;
  color: #fff;
}

/* Spinner for dashboard YouTube search */
.dash-yt-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: dashYtSpin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes dashYtSpin {
  to { transform: rotate(360deg); }
}

/* Pulsing LED dot for trending chips */
.trend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF0055;
  box-shadow: 0 0 6px #FF0055;
  margin-right: 6px;
  animation: trendDotPulse 2s infinite ease-in-out;
}

@keyframes trendDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Center icon on project / template thumbnails */
.project-thumb-center-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.project-card:hover .project-thumb-center-icon {
  transform: scale(1.1);
  background: rgba(0, 242, 254, 0.3);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.sidebar-icon-svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.sidebar-nav-item:hover .sidebar-icon-svg {
  transform: scale(1.1);
}

