/* ---------- Admin Bar ---------- */
/* Full-width admin bar even if site CSS gives body a margin */
body.admin-page { margin: 0; }
footer{ margin: 0; }
/* Put the old "body margin" onto a wrapper instead */
/* =========================
   Admin UI utilities
   ========================= */

.admin-heading {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-status {
  font-size: 13px;
  opacity: 0.85;
}
.admin-content { margin: 2rem;
margin-bottom:0px; }

.admin-bar{
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;

  background: #222;
  color: #fff;

  font-size: 13px;
  line-height: 1;
}

.admin-bar *{
  box-sizing: border-box;
}

.admin-bar a{
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-bar .admin-bar-links a {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.admin-bar-links a + a::before{
  content: "|";
  display: inline-block;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.admin-bar a:hover{
  text-decoration: none;
}

.admin-bar-links{
  display: inline-flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 6px;
  align-items: center;
}

.admin-bar-title {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-bottom: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
}

/* Match the two-tier admin toolbar used by the desktop site design. */
@media (min-width: 1025px) {
  .admin-bar {
    min-height: 104px;
    padding: 0 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .admin-bar-title {
    min-height: 62px;
    align-items: flex-start;
    padding-top: 10px;
    font-size: 18px;
  }

  .admin-bar-links {
    flex: 0 0 42px;
    width: 100%;
  }

  .admin-bar a {
    height: 42px;
    font-size: 13px;
  }

  .admin-bar .admin-bar-links a {
    font-size: 13px;
  }
}

.field--grow {
  flex: 1;
  min-width: 260px;
}


/* ---------- Admin Highlight ---------- */
.song-card.is-latest {
  background: #fff7d6;
  border-color: #e0b000;
}

.song-card.is-latest .song-title::after {
  content: " • latest";
  font-size: 0.85em;
  color: #7a5a00;
}
/* ----- Two-column admin layout (Upload left / Current music right) ----- */
.admin-split{
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.admin-left{
  flex: 0 0 520px;   /* fixed-ish left column width */
  margin-left:2rem;
}

.admin-right{
  flex: 1;
  min-width: 420px;  /* stops it collapsing too narrow */
}
.admin-bar-toggle{
  display: none;
  background: none;
  border: 1px solid #555;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
/* Mobile/tablet */
@media (max-width: 1024px){
  .admin-bar{
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 50px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 8px;
    padding-bottom: 10px;
    gap: 6px 14px;
    font-size: 16px;
  }

  .admin-bar-toggle{
    display: none;
  }

  .admin-bar-links{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 12px;
    margin-top: 2px;
    padding: 0;
  }

  .admin-bar-links a{
    height: auto;
    min-height: 42px;
    padding: 8px 6px;
    font-size: 18px;
    white-space: nowrap;
  }

  .admin-bar .admin-bar-links a {
    font-size: 18px;
  }

  .admin-bar-title {
    min-height: 50px;
    padding-bottom: 6px;
    font-size: 20px;
  }

  .admin-bar-links a + a::before{
    content: "|";
    margin-right: 16px;
  }
}
/* Responsive fallback: stack on small screens */
@media (max-width: 1100px){
  .admin-split{
    flex-direction: column;
  }
  .admin-left{
    flex: 1 1 auto;
  }
  .admin-right{
    min-width: 0;
  }
}
