/* =============================
   Dark Blue Theme – Drop-in Replacement
   ============================= */
:root {
  --bg: #0B1220;              /* page background */
  --surface: #0F1B2D;         /* cards & panels */
  --surface-2: #0C1626;       /* inputs / alt panels */
  --border: #1D2A44;          /* subtle outlines */
  --text: #E6EDF7;            /* primary text */
  --text-muted: #A9B8D9;      /* secondary text */
  --accent: #2F6AE9;          /* primary accent */
  --accent-hover: #265AD0;    /* darker on hover */
  --ring: rgba(47, 106, 233, .45); /* focus ring */
  --shadow: rgba(20, 40, 90, .45); /* drop shadows */
}

/* Global */
* { box-sizing: border-box; }

body {
  background: radial-gradient(1200px 800px at 20% -10%, rgba(47,106,233,0.08), transparent),
              radial-gradient(1000px 700px at 110% 10%, rgba(18,86,136,0.08), transparent),
              var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
header {
  text-align: center;
  margin: 24px 0 12px;
}

header h1 {
  font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem);
  margin: 0;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* Date picker & Search */
.date-picker,
.search-box {
  text-align: center;
  margin-bottom: 20px;
}

.date-picker input,
.search-box input {
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--surface-2), #0A1322);
  color: var(--text);
  width: 220px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.date-picker input::placeholder,
.search-box input::placeholder {
  color: var(--text-muted);
  opacity: .7;
}

.date-picker input:focus,
.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring), 0 2px 10px var(--shadow);
}

.search-box button {
  padding: 12px 16px;
  font-size: 16px;
  background: linear-gradient(180deg, var(--accent), #1D49B6);
  color: #F3F6FF;
  border: 1px solid #2049A8;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 10px;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(47,106,233,.25);
}

.search-box button:hover {
  filter: saturate(1.1);
}

.search-box button:active {
  transform: translateY(1px);
}

.search-box button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), 0 6px 18px rgba(47,106,233,.4);
}

/* Song list */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

/* Song box */
.song-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    var(--surface);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  margin: 0 auto;
  max-width: 1800px;
  width: calc(100% - 40px);
}

.song-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20,40,90,.55);
  border-color: #2A3A66;
}

/* Time */
.time {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-right: 20px;
  font-weight: 700;
  min-width: 72px;
}

/* Details */
.song-details { flex: 1; }

.artist {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 4px;
}

.title {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
}

.date {
  font-size: .9rem;
  color: #87A0D6;
  margin-top: 6px;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 16px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 6px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pagination a:hover,
.pagination a.active {
  background: linear-gradient(180deg, #162544, #121F36);
  color: var(--text);
  border-color: #2A3A66;
  box-shadow: 0 2px 10px var(--shadow);
}

.pagination a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring), 0 2px 10px var(--shadow);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 32px;
  padding: 20px;
  background: linear-gradient(180deg, #0C1626, #0A1322);
  color: var(--text);
  font-size: 1rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px var(--shadow);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Responsive niceties */
@media (max-width: 640px) {
  .song-box { padding: 16px; }
  .time { min-width: 60px; margin-right: 14px; }
  .artist { font-size: 1.2rem; }
  .title { font-size: 1rem; }
}
