@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette (Gold Gradient) */
  --gold-darker: #462c08;
  --gold-dark: #72460c;
  --gold-medium: #8f5d1b;
  --gold-light: #b68749;
  --gold-bright: #f6deab;
  --gold-color: #b68749;
  
  /* Theme Backgrounds */
  --bg-app: #120c04;
  --bg-sidebar: #171005;
  --bg-card: #201407;
  --bg-card-hover: #311f0c;
  --bg-player: #1d1306;
  --bg-input: #271a0b;
  --bg-dark-gray: #1b140b;
  
  /* Borders & Dividers */
  --border-color: rgba(182, 135, 73, 0.15);
  --border-color-active: rgba(182, 135, 73, 0.4);
  
  /* Typography Colors */
  --text-main: #ffffff;
  --text-secondary: #ebd2b9;
  --text-muted: #8e7d6b;
  --text-gold: #b68749;
  --text-gold-light: #f6deab;
  --text-color: #ffffff;
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #72460c 0%, #8f5d1b 45%, #b68749 75%, #f6deab 100%);
  --gradient-dark: linear-gradient(180deg, rgba(29, 19, 6, 0.8) 0%, #120c04 100%);
  
  /* Layout Sizing */
  --sidebar-width: 240px;
  --player-height: 90px;
  --header-height: 85px;
  
  /* General Settings */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  overflow-x: hidden;
  height: 100vh;
  margin: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-medium);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-glow {
  box-shadow: 0 0 15px rgba(182, 135, 73, 0.2);
}

.gold-glow-hover {
  transition: all 0.3s ease;
}
.gold-glow-hover:hover {
  box-shadow: 0 0 20px rgba(246, 222, 171, 0.4);
  transform: translateY(-2px);
}

/* Base layouts */
.app-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gradient-dark);
  overflow-y: auto;
  padding-bottom: calc(var(--player-height) + 20px);
}

/* --------------------------------------------------
 * 1. SIDEBAR CSS
 * -------------------------------------------------- */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex-shrink: 0;
  z-index: 100;
}

.logoContainer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  margin-bottom: 32px;
}

.logoRing {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(182, 135, 73, 0.4);
}

.logoSymbol {
  font-weight: 800;
  font-size: 20px;
  color: var(--bg-app);
}

.logoText {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-color);
}

.navMenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
}

.navItem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.navItem:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.03);
}

.navItemActive {
  background-color: var(--bg-card) !important;
  color: var(--gold-bright) !important;
  border-left: 3px solid var(--gold-color);
}

.navIcon {
  display: flex;
  align-items: center;
}

.authWidget {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.loginBannerBox, .userInfoBox {
  background: linear-gradient(135deg, rgba(182, 135, 73, 0.08) 0%, rgba(25, 25, 25, 0.5) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.loginPrompt {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.loginBtn, .logoutBtn {
  width: 100%;
  background: var(--gradient-gold);
  color: var(--bg-app);
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(114, 70, 12, 0.2);
  transition: all 0.2s ease;
}

.loginBtn:hover, .logoutBtn:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.welcomeText {
  font-size: 11px;
  color: var(--text-muted);
}

.userName {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 2px 0 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userRoleTag {
  display: inline-block;
  font-size: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footerNote {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------
 * 2. HEADER CSS
 * -------------------------------------------------- */
.header {
  height: var(--header-height);
  padding: 24px 40px 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  z-index: 50;
  position: relative;
}

.searchWrapper {
  flex: 1;
  max-width: 440px;
  position: relative;
  margin-right: 24px;
}

.searchBar {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 99px;
  padding: 0 16px;
  height: 40px;
  color: var(--text-muted);
  transition: all 0.3s ease;
  width: 100%;
}

.searchBar:focus-within {
  border-color: var(--gold-light);
  background-color: rgba(182, 135, 73, 0.05);
  box-shadow: 0 0 15px rgba(182, 135, 73, 0.2);
  color: var(--gold-light);
}

.searchInput {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: var(--text-color) !important;
  font-size: 14px;
  padding: 0 12px;
  width: 100%;
  height: 100%;
  outline: none !important;
  box-shadow: none !important;
}

.searchInput:focus,
.searchInput:active {
  background: transparent !important;
  background-color: transparent !important;
}

.searchInput:-webkit-autofill,
.searchInput:-webkit-autofill:hover, 
.searchInput:-webkit-autofill:focus, 
.searchInput:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #201407 inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.clearBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 200;
  backdrop-filter: blur(10px);
}

.dropdownHeader {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gold);
  padding: 12px 16px 6px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
}

.dropdownItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdownItem:hover {
  background-color: var(--bg-card-hover);
}

.itemCover {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.itemInfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.itemTitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itemArtist {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.noResult {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.userInfo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.upgradeBtn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--gradient-gold);
  color: var(--bg-app);
  letter-spacing: 0.5px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-gold-light);
  cursor: pointer;
}

/* --------------------------------------------------
 * 3. HOME VIEW CSS
 * -------------------------------------------------- */
.homeContainer {
  padding: 32px 40px;
}

.bannerSection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.bannerCard {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 180px;
  border: 1px solid var(--border-color);
}

.bannerContent {
  position: relative;
  z-index: 5;
  max-width: 60%;
}

.bannerTag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.bannerTitle {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 8px;
}

.bannerDesc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bannerImg {
  position: absolute;
  right: -10px;
  bottom: -10px;
  height: 120%;
  object-fit: cover;
  opacity: 0.8;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}

.section {
  margin-bottom: 40px;
}

.sectionHeader {
  margin-bottom: 20px;
}

.sectionTitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
}

.sectionSubtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.suggestionsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.songRow {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.songRow:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-color-active);
}

.songRowActive {
  background-color: rgba(182, 135, 73, 0.1) !important;
  border-color: var(--gold-color) !important;
}

.songCoverWrapper {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 16px;
  flex-shrink: 0;
}

.songCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rowPlayBtn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: var(--text-color);
}

.songRow:hover .rowPlayBtn {
  opacity: 1;
}

.songRowMeta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.songRowTitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.songRowArtist {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.songRowStats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.statItem {
  display: flex;
  align-items: center;
  gap: 4px;
}

.newReleasesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.releaseCard {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.releaseCard:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-color-active);
  transform: translateY(-2px);
}

.releaseCoverWrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.releaseCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardHoverOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.releaseCard:hover .cardHoverOverlay {
  opacity: 1;
}

.cardPlayBtn {
  background: var(--gradient-gold);
  color: var(--bg-app);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.releaseMeta {
  display: flex;
  flex-direction: column;
}

.releaseTitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.releaseArtist {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlistGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.playlistCard {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlistCard:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-color-active);
  transform: translateY(-2px);
}

.playlistCoverWrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.playlistCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlistOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.playlistCard:hover .playlistOverlay {
  opacity: 1;
}

.playlistPlayBtn {
  background: var(--gradient-gold);
  color: var(--bg-app);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlistMeta {
  display: flex;
  flex-direction: column;
}

.playlistName {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlistDesc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* --------------------------------------------------
 * 4. AUDIO PLAYER CSS
 * -------------------------------------------------- */
.playerBar {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-width);
  width: calc(100vw - var(--sidebar-width));
  height: var(--player-height);
  background-color: var(--bg-player);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  z-index: 90;
  backdrop-filter: blur(15px);
}

.trackInfo {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 25%;
  min-width: 200px;
}

.coverWrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 10px rgba(182, 135, 73, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.coverImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rotating {
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.songMeta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.songTitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.songArtist {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.playerControlsWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 45%;
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.controlBtn {
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.controlBtn:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
}

.activeOption {
  color: var(--gold-light) !important;
  text-shadow: 0 0 10px rgba(182, 135, 73, 0.5);
}

.playPauseBtn {
  background: var(--gradient-gold);
  color: var(--bg-app);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(114, 70, 12, 0.4);
}

.playPauseBtn:hover {
  transform: scale(1.08);
}

.progressContainer {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.timeLabel {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  width: 45px;
  text-align: center;
}

.progressBar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.progressBar:hover {
  height: 6px;
}

.progressBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(246, 222, 171, 0.8);
  margin-top: 0px;
}

.progressBar:hover::-webkit-slider-thumb {
  transform: scale(1.2);
}

.rightActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 25%;
  min-width: 200px;
}

.downloadBtn {
  background: var(--gradient-gold);
  color: var(--bg-app);
  border-radius: 99px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(114, 70, 12, 0.3);
}

.downloadBtn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.downloadText {
  white-space: nowrap;
}

.volumeWrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 120px;
}

.volumeBtn {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.volumeBtn:hover {
  color: var(--text-main);
}

.volumeSlider {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
}

.mobileExpandIndicator {
  display: none;
}

.expandedPlayer {
  display: none;
}

/* --------------------------------------------------
 * 5. MODALS & FORMS
 * -------------------------------------------------- */
.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.modalCard {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modalTitle {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text-gold-light);
}

.modalCloseBtn {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  font-size: 20px;
}

.modalCloseBtn:hover {
  color: var(--text-main);
}

.formGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formGroup label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.formInput {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-color);
  font-size: 14px;
}

.formInput:focus {
  border-color: var(--gold-light);
}

.modalTabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.modalTab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.modalTabActive {
  color: var(--gold-bright);
  border-bottom: 2px solid var(--gold-color);
}

.submitBtn {
  background: var(--gradient-gold);
  color: var(--bg-app);
  border-radius: 24px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
}

.errorAlert {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  text-align: center;
}

.successAlert {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #28a745;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  text-align: center;
}

/* --------------------------------------------------
 * 6. TABLES & LISTS
 * -------------------------------------------------- */
.songTable {
  width: 100%;
  border-collapse: collapse;
}

.songTableHeader {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.songListRow {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.songListRow:hover {
  background-color: var(--bg-card-hover);
}

.songColIndex {
  width: 40px;
  color: var(--text-muted);
}

.songColInfo {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.songColGenre {
  width: 150px;
  color: var(--text-muted);
  font-size: 13px;
}

.songColViews {
  width: 100px;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.songColActions {
  width: 100px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* --------------------------------------------------
 * 7. ADMIN PAGE STYLING
 * -------------------------------------------------- */
.adminContainer {
  padding: 32px 40px;
}

.adminGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 1024px) {
  .adminGrid {
    grid-template-columns: 1fr;
  }
}

.adminCard {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.adminTitle {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-gold-light);
}

.adminSearchWrapper {
  display: flex;
  align-items: center;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0 12px;
  height: 38px;
  width: 250px;
}

.adminSearchInput {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 13px;
  padding: 0 8px;
  width: 100%;
}

.adminSongItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.adminSongItem:last-child {
  border-bottom: none;
}

.adminSongCover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.adminSongMeta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.adminSongTitle {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adminSongArtist {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adminSongActions {
  display: flex;
  gap: 8px;
}

.adminActionBtn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.adminActionBtn:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.08);
}

.adminActionBtnDelete:hover {
  color: #ff6b6b;
  border-color: rgba(220, 53, 69, 0.4);
  background-color: rgba(220, 53, 69, 0.1);
}

.adminFileWrapper {
  position: relative;
  background-color: var(--bg-input);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
}

.adminFileWrapper input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.adminFileLabel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.adminProgressBarBg {
  background-color: rgba(255,255,255,0.05);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.adminProgressBarFill {
  background: var(--gradient-gold);
  height: 100%;
  width: 0%;
  transition: width 0.1s;
}

/* --------------------------------------------------
 * 8. RESPONSIVE CSS
 * -------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
    --player-height: 80px;
  }

  .homeContainer {
    padding: 20px !important;
  }

  .header {
    height: auto !important;
    padding: 16px 20px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
  }

  .searchWrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  .userInfo {
    justify-content: space-between;
    width: 100%;
  }

  .bannerSection {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding-bottom: 12px !important;
    margin-bottom: 24px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .bannerSection::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean app-like UI */
  }

  .bannerCard {
    flex: 0 0 300px !important;
    scroll-snap-align: start;
    height: 150px !important;
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .bannerTitle {
    font-size: 20px !important;
  }

  .bannerDesc {
    font-size: 11px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 64px;
    flex-direction: row;
    padding: 0;
    border-right: none;
    border-top: 1px solid var(--border-color);
    background-color: rgba(23, 16, 5, 0.98);
    backdrop-filter: blur(10px);
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
  }

  .logoContainer, .footerNote, .authWidget {
    display: none;
  }

  .navMenu {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    padding: 0;
    gap: 0;
  }

  .navItem {
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    gap: 4px;
    font-size: 10px;
    border-radius: 0;
  }

  .navItemActive {
    border-left: none;
    border-top: 2px solid var(--gold-color);
    background-color: transparent !important;
  }

  .main-content {
    padding-bottom: calc(var(--player-height) + 80px);
  }

  .playerBar {
    bottom: 64px;
    height: 70px;
    padding: 0 16px;
    border-radius: 12px 12px 0 0;
    background-color: rgba(29, 19, 6, 0.95);
    left: 0;
    width: 100vw;
  }

  .trackInfo {
    width: 70%;
  }

  .playerControlsWrapper, .rightActions {
    display: none;
  }

  .mobileExpandIndicator {
    display: flex;
    align-items: center;
    color: var(--gold-light);
  }

  /* Full Screen Mobile Player */
  .expandedPlayer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #271a0b 0%, #120c04 100%);
    z-index: 1500;
    padding: 24px;
  }

  .expandedHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .expandedHeaderTitle {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text-gold);
  }

  .expandedBody {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 20px 0;
  }

  .discWrapper {
    width: 250px;
    height: 250px;
    position: relative;
  }

  .expandedDisc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #1a1107;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 2px var(--gold-color);
    position: relative;
    overflow: hidden;
  }

  .expandedCover {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .discCenter {
    width: 44px;
    height: 44px;
    background-color: var(--bg-app);
    border: 3px solid var(--gold-light);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .expandedSongMeta {
    text-align: center;
  }

  .expandedSongMeta h2 {
    font-size: 22px;
    color: var(--text-main);
  }

  .expandedSongMeta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
  }

  .expandedProgress {
    width: 100%;
  }

  .expandedControls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 300px;
  }

  .expandedPlayBtn {
    background: var(--gradient-gold);
    color: var(--bg-app);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(114, 70, 12, 0.4);
  }

  .expandedActions {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mobileDownloadBtn {
    background: var(--gradient-gold);
    color: var(--bg-app);
    border-radius: 99px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}
