/**
 * singers-custom.css
 * Supplemental styles for Singers Karaoke Club
 * Add to header.tpl: <link rel="stylesheet" href="/assets/css/singers-custom.css">
 */

/* ── Account pages: clear the fixed nav (82px) ───────────────────────── */
.account-wrap,
.login-wrap,
.page-with-nav-offset {
  padding-top: 90px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-singers-primary,
a.btn-singers-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.5rem;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--electric-purple, #7c4dff), #512da8);
  color: #fff !important;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 5px 20px rgba(124,77,255,.4);
  text-decoration: none;
  line-height: 1.4;
}
.btn-singers-primary:hover,
a.btn-singers-primary:hover {
  box-shadow: 0 8px 30px rgba(124,77,255,.7);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-singers-outline,
a.btn-singers-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.3rem;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85) !important;
  border: 2px solid rgba(124,77,255,.5);
  border-radius: 25px;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-singers-outline:hover,
a.btn-singers-outline:hover {
  background: rgba(124,77,255,.15);
  border-color: var(--bright-green, #aec871);
  color: var(--bright-green, #aec871) !important;
}
.btn-singers-outline.active {
  background: rgba(124,77,255,.25);
  border-color: var(--electric-purple, #7c4dff);
  color: #fff !important;
}

/* Song card overlay buttons — visible by default, brighter on hover ─── */
.btn-overlay {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .25s;
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.85;
}
.song-art:hover .btn-overlay { opacity: 1; transform: scale(1.08); }

.btn-favorite { background: rgba(255,107,157,.2); border: 2px solid rgba(255,107,157,.6); color: #ff6b9d; }
.btn-favorite:hover { background: #ff6b9d; color: #fff; box-shadow: 0 0 15px rgba(255,107,157,.7); }

.btn-info { background: rgba(174,200,113,.15); border: 2px solid rgba(174,200,113,.5); color: var(--bright-green, #aec871); }
.btn-info:hover { background: var(--bright-green, #aec871); color: #000; }

.btn-login-prompt { background: rgba(124,77,255,.15); border: 2px solid rgba(124,77,255,.5); color: #b39ddb; }
.btn-login-prompt:hover { background: var(--electric-purple, #7c4dff); color: #fff; }

.btn-explicit { background: rgba(239,83,80,.25); border: 2px solid rgba(239,83,80,.5); color: #ef9a9a; cursor: default; }

/* Song card click feedback ───────────────────────────────────────────── */
.song-row { cursor: pointer; }
.song-row:hover .song-info { background: rgba(124,77,255,.04); }

/* ── VIP Account Layout ──────────────────────────────────────────────── */
.vip-sidebar {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(124,77,255,.15);
  border-radius: 16px;
  padding: 1.5rem 0;
  position: sticky;
  top: 100px;
}
.vip-sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.vip-sidebar-link:hover {
  color: #fff;
  background: rgba(124,77,255,.08);
  border-left-color: rgba(124,77,255,.4);
}
.vip-sidebar-link.active {
  color: var(--bright-green, #aec871);
  background: rgba(174,200,113,.06);
  border-left-color: var(--bright-green, #aec871);
  font-weight: 600;
}
.vip-sidebar-link i { width: 20px; text-align: center; }

.vip-content { padding: 2rem; min-height: calc(100vh - 90px); }

/* ── Modals (dark theme) ─────────────────────────────────────────────── */
.modal-singers .modal-content {
  background: #13121e;
  border: 1px solid rgba(124,77,255,.3);
  color: #fff;
  box-shadow: 0 0 40px rgba(124,77,255,.2);
}
.modal-singers .modal-header {
  background: rgba(81,45,168,.2);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal-singers .modal-title { color: #fff; font-weight: 700; }
.modal-singers .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.modal-singers .modal-body { color: rgba(255,255,255,.85); }

/* ── Favorites mini-picker dropdown ─────────────────────────────────── */
.fav-picker {
  position: absolute;
  top: 44px; right: 0;
  background: #1a1628;
  border: 1px solid rgba(124,77,255,.3);
  border-radius: 10px;
  padding: .5rem;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: none;
}
.fav-picker.open { display: block; }
.fav-picker-item {
  display: block;
  padding: .45rem .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.fav-picker-item:hover { background: rgba(124,77,255,.15); color: #fff; }

/* ── Form inputs (dark theme) ────────────────────────────────────────── */
.form-control-dark,
.form-select-dark {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(124,77,255,.25) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
.form-control-dark:focus,
.form-select-dark:focus {
  border-color: rgba(124,77,255,.6) !important;
  box-shadow: 0 0 0 3px rgba(124,77,255,.12) !important;
  background: rgba(255,255,255,.09) !important;
}
.form-control-dark::placeholder { color: rgba(255,255,255,.3) !important; }

/* ── Account Section Layout ─────────────────────────────────────────────── */
.account-layout {
  padding-top: 100px; /* clears fixed nav + breathing room */
  min-height: 100vh;
  background: rgba(0,0,0,.15);
}
@media (max-width: 1199.98px) {
  .account-layout { padding-top: 96px; }
}
@media (max-width: 767.98px) {
  .account-layout { padding-top: 85px; }
}
.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
.vip-sidebar {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(124,77,255,.15);
  border-radius: 16px;
  padding: 1.5rem 0;
  position: sticky;
  top: 100px;
}
.vip-sidebar-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.5rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 500;
  transition: .18s;
  border-left: 3px solid transparent;
}
.vip-sidebar-link:hover { color: #fff; background: rgba(124,77,255,.08); }
.vip-sidebar-link.active { color: #aec871; border-left-color: #aec871; background: rgba(174,200,113,.06); font-weight: 600; }
.vip-sidebar-link i { font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }
