/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
  scroll-padding-bottom: calc(var(--keyboard-guard-offset, 0px) + 2rem);
}

body.keyboard-guard-active {
  padding-bottom: calc(var(--keyboard-guard-offset, 0px) + 2rem);
}

body.keyboard-guard-active main {
  padding-bottom: 3rem;
}

.music-label-badge {
  align-items: center;
  border: 1px solid;
  border-radius: 0.25rem;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  margin-right: 0.375rem;
  margin-top: 0.375rem;
  padding: 0.25rem 0.5rem;
}

.music-label-badge--compact {
  margin-right: 0.25rem;
  margin-top: 0.25rem;
  padding: 0.125rem 0.375rem;
}

.music-label-badge--0 {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fcd34d;
}

.music-label-badge--1 {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}

.music-label-badge--2 {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.42);
  color: #93c5fd;
}

.music-label-badge--3 {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.42);
  color: #fca5a5;
}

.music-label-badge--4 {
  background: rgba(63, 63, 70, 0.88);
  border-color: #52525b;
  color: #d4d4d8;
}
