/* =========================================
   PLAYLIST — EFEMÉRIDES MUSICALES
   Desktop-first
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080b0d;
  --sidebar: #090c0e;
  --panel: #0f1316;
  --panel-hover: #14191d;
  --border: #293036;

  --text: #f5f5f5;
  --muted: #9099a1;
  --muted-light: #bac1c7;

  --accent: #F93B1D;
  --accent-hover: #d92d13;

  --success: #67d983;
  --danger: #ff6b5b;

  --sidebar-width: 230px;
}


/* =========================================
   GENERAL
========================================= */

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  min-height: 100vh;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}


/* =========================================
   APP
========================================= */

.app {
  display: grid;

  grid-template-columns:
    var(--sidebar-width) minmax(0, 1fr);

  min-height: 100vh;
}


/* =========================================
   SIDEBAR
========================================= */

.sidebar {
  position: fixed;

  left: 0;
  top: 0;
  bottom: 0;

  width: var(--sidebar-width);

  background: var(--sidebar);

  border-right:
    1px solid var(--border);

  padding: 20px 14px;

  display: flex;
  flex-direction: column;

  overflow-y: auto;

  z-index: 100;
}


/* LOGO */

.logo {
  font-size: 28px;
  font-weight: 900;

  letter-spacing: -1px;

  color: white;
}

.logo-sub {
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;

  margin-top: 4px;
}


/* =========================================
   MENU
========================================= */

.menu {
  margin-top: 32px;
}

.menu-title {
  color: var(--muted);

  font-size: 10px;

  text-transform: uppercase;

  margin:
    27px 8px
    10px;
}

.menu-item {
  display: flex;
  align-items: center;

  gap: 11px;

  padding: 12px 13px;

  border-radius: 7px;

  margin-bottom: 5px;

  color: var(--text);

  cursor: pointer;

  user-select: none;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.menu-item:hover {
  background:
    var(--panel-hover);
}

.menu-item.active {
  background:
    var(--accent);

  color: white;

  font-weight: 700;
}

.menu-icon {
  width: 17px;

  text-align: center;

  font-size: 14px;
}


/* =========================================
   ADMIN
========================================= */

.admin-access {
  margin-top: auto;

  padding-top: 25px;
}

.secondary {
  width: 100%;

  padding: 10px 12px;

  background: transparent;

  color: white;

  border:
    1px solid var(--border);

  border-radius: 7px;
}

.secondary:hover {
  border-color:
    var(--accent);

  color:
    var(--accent);
}

.admin-email {
  color: var(--accent);

  font-size: 10px;

  text-align: center;

  margin-top: 10px;

  word-break: break-all;
}

.admin-state {
  color: var(--muted);

  font-size: 10px;

  text-align: center;

  margin-top: 7px;
}


/* =========================================
   MAIN
========================================= */

main {
  grid-column: 2;

  width: 100%;

  padding:
    22px
    34px
    60px;

  min-width: 0;
}


/* =========================================
   HEADER
========================================= */

.topbar {
  display: flex;

  justify-content:
    space-between;

  align-items: center;

  gap: 30px;

  margin-bottom: 30px;
}

.page-heading {
  display: flex;

  align-items: baseline;

  gap: 18px;
}

.page-heading h1 {
  font-size: 30px;

  letter-spacing: -0.5px;
}

.current-date {
  color: var(--accent);

  font-size: 14px;

  font-weight: 700;
}


/* =========================================
   SEARCH
========================================= */

.actions {
  display: flex;

  align-items: center;

  gap: 10px;
}

.artist-search {
  width: 290px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  color: white;

  border-radius: 7px;

  padding:
    11px
    14px;

  outline: none;
}

.artist-search:focus {
  border-color:
    var(--accent);
}

.artist-search::placeholder {
  color:
    #727b83;
}

.primary {
  background:
    var(--accent);

  color: white;

  border: none;

  border-radius: 7px;

  padding:
    11px
    17px;

  font-weight: 700;

  white-space: nowrap;
}

.primary:hover {
  background:
    var(--accent-hover);
}

.primary:disabled {
  opacity: 0.55;

  cursor: default;
}


/* =========================================
   STATUS
========================================= */

.status {
  display: none;

  padding:
    12px
    14px;

  margin-bottom: 22px;

  border-radius: 7px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  font-size: 13px;
}

.status.success {
  display: block;

  border-color:
    #315b39;

  color:
    var(--success);
}

.status.error {
  display: block;

  border-color:
    var(--accent);

  color:
    #ff8a77;
}


/* =========================================
   VISTAS
========================================= */

.view {
  display: none;
}

.view.active {
  display: block;
}

.section-title {
  font-size: 13px;

  font-weight: 700;

  text-transform: uppercase;

  margin-bottom: 17px;
}


/* =========================================
   DASHBOARD HOY
========================================= */

.dashboard-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    310px;

  gap: 24px;
}

.featured-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;

  margin-bottom: 38px;
}

.feature-card {
  min-height: 220px;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius: 9px;

  padding: 21px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.feature-card:hover {
  border-color:
    #434b51;

  transform:
    translateY(-1px);
}

.badge {
  align-self:
    flex-start;

  margin-bottom: auto;

  background:
    var(--accent);

  color: white;

  border-radius: 4px;

  padding:
    5px 8px;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;
}

.card-artist {
  font-size: 20px;

  font-weight: 700;
}

.card-title {
  color:
    var(--accent);

  font-size: 18px;

  margin-top: 5px;
}

.card-type {
  color:
    var(--muted);

  font-size: 10px;

  margin-top: 7px;

  text-transform: uppercase;
}

.card-date {
  color:
    var(--muted-light);

  font-size: 12px;

  margin-top: 14px;
}


/* =========================================
   EVENT LIST
========================================= */

.event-list {
  border:
    1px solid var(--border);

  border-radius: 9px;

  overflow: hidden;
}

.event-row {
  display: grid;

  grid-template-columns:
    80px
    minmax(0, 1fr)
    100px;

  align-items: center;

  padding:
    17px
    18px;

  border-bottom:
    1px solid var(--border);
}

.event-row:last-child {
  border-bottom: none;
}

.event-row:hover {
  background:
    var(--panel);
}

.event-day {
  color:
    var(--accent);

  font-size: 24px;

  font-weight: 700;
}

.event-month {
  color:
    var(--muted);

  font-size: 10px;
}

.event-title {
  font-weight: 700;

  font-size: 15px;
}

.event-meta {
  color:
    var(--muted);

  font-size: 11px;

  margin-top: 5px;
}


/* =========================================
   PANEL MIS ARTISTAS — HOME
========================================= */

.artists-panel {
  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius: 9px;

  height: fit-content;

  overflow: hidden;
}

.artists-header {
  display: flex;

  justify-content:
    space-between;

  align-items: center;

  padding:
    17px
    18px;

  border-bottom:
    1px solid var(--border);
}

.artists-header strong {
  font-size: 14px;
}

.counter {
  color:
    var(--accent);
}

.artist-row {
  padding:
    14px
    18px;

  border-bottom:
    1px solid var(--border);

  cursor: pointer;
}

.artist-row:last-child {
  border-bottom: none;
}

.artist-row:hover {
  background:
    var(--panel-hover);
}

.dot {
  display: inline-block;

  width: 8px;
  height: 8px;

  background:
    var(--accent);

  border-radius: 50%;

  margin-right: 10px;
}


/* =========================================
   MUSICBRAINZ SEARCH RESULTS
========================================= */

.search-results {
  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius: 9px;

  margin-bottom: 27px;

  overflow: hidden;
}

.results-header {
  display: flex;

  justify-content:
    space-between;

  align-items: center;

  padding:
    16px
    18px;

  border-bottom:
    1px solid var(--border);

  font-size: 13px;
}

.result-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    120px;

  gap: 20px;

  align-items: center;

  padding:
    17px
    18px;

  border-bottom:
    1px solid var(--border);
}

.result-row:last-child {
  border-bottom: none;
}

.result-row:hover {
  background:
    var(--panel-hover);
}

.result-name {
  font-size: 17px;

  font-weight: 700;
}

.result-meta {
  color:
    var(--muted);

  font-size: 12px;

  margin-top: 6px;
}

.result-description {
  color:
    var(--muted-light);

  font-size: 11px;

  margin-top: 5px;
}

.score {
  color:
    var(--accent);

  font-weight: 700;
}

.select-btn {
  background:
    transparent;

  border:
    1px solid var(--accent);

  color:
    var(--accent);

  border-radius: 6px;

  padding:
    9px 11px;

  font-weight: 700;
}

.select-btn:hover {
  background:
    var(--accent);

  color: white;
}


/* =========================================
   PÁGINAS INTERNAS
========================================= */

.page-intro {
  display: flex;

  justify-content:
    space-between;

  align-items:
    flex-end;

  gap: 30px;

  padding-bottom: 20px;

  border-bottom:
    1px solid var(--border);

  margin-bottom: 25px;
}

.page-title {
  font-size: 28px;

  font-weight: 700;
}

.page-description {
  color:
    var(--muted);

  font-size: 13px;

  margin-top: 7px;

  max-width: 700px;

  line-height: 1.5;
}


/* =========================================
   TABLAS
========================================= */

.data-table {
  width: 100%;

  border-collapse:
    collapse;

  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius: 9px;

  overflow: hidden;
}

.data-table th {
  color:
    var(--muted);

  font-size: 10px;

  text-transform:
    uppercase;

  letter-spacing:
    0.4px;

  text-align: left;

  padding:
    12px
    15px;

  border-bottom:
    1px solid var(--border);
}

.data-table td {
  padding:
    14px
    15px;

  border-bottom:
    1px solid var(--border);

  font-size: 13px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background:
    var(--panel-hover);
}


/* =========================================
   ARTIST LIBRARY
========================================= */

.library-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(260px, 1fr)
    );

  gap: 14px;
}

.library-card {
  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius: 9px;

  padding: 19px;

  cursor: pointer;

  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.library-card:hover {
  border-color:
    var(--accent);

  transform:
    translateY(-1px);
}

.library-artist {
  font-size: 18px;

  font-weight: 700;
}

.library-meta {
  color:
    var(--muted);

  font-size: 11px;

  margin-top: 7px;
}


/* =========================================
   ARTIST DETAIL
========================================= */

.artist-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding-bottom: 22px;
  margin-bottom: 22px;

  border-bottom:
    1px solid var(--border);
}

.artist-detail-identity {
  display: flex;
  align-items: center;

  gap: 16px;

  min-width: 0;
  flex: 1;
}

.artist-detail-info {
  min-width: 0;
  flex: 1;
}

.artist-detail-image {
  width: 82px;
  height: 82px;

  flex: 0 0 82px;

  border-radius: 50%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    var(--surface);

  border:
    1px solid var(--border);

  color:
    var(--accent);

  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1px;
}


.artist-detail-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;
}


@media (max-width: 700px) {

  .artist-detail-identity {
    gap: 14px;
  }


  .artist-detail-image {
    width: 72px;
    height: 72px;

    flex-basis: 72px;

    font-size: 18px;
  }
}

.artist-detail-name {
  font-size: 36px;

  font-weight: 800;

  letter-spacing:
    -1px;
}

.artist-detail-meta {
  color:
    var(--muted);

  margin-top:
    8px;

  font-size:
    13px;
}

.artist-stats {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;

  margin:
    25px 0;
}

.stat-card {
  background:
    var(--panel);

  border:
    1px solid var(--border);

  border-radius:
    8px;

  padding:
    18px;
}

.stat-number {
  color:
    var(--accent);

  font-size:
    27px;

  font-weight:
    800;
}

.stat-label {
  color:
    var(--muted);

  font-size:
    11px;

  margin-top:
    5px;

  text-transform:
    uppercase;
}


/* =========================================
   EMPTY STATES
========================================= */

.empty-state {
  background:
    var(--panel);

  border:
    1px dashed var(--border);

  border-radius:
    9px;

  padding:
    45px 25px;

  text-align:
    center;

  color:
    var(--muted);
}

.empty-title {
  color:
    var(--text);

  font-size:
    17px;

  font-weight:
    700;

  margin-bottom:
    7px;
}


/* =========================================
   CALENDAR
========================================= */

.calendar-grid {
  display: grid;

  grid-template-columns:
    repeat(7, 1fr);

  border-top:
    1px solid var(--border);

  border-left:
    1px solid var(--border);
}

.calendar-day {
  min-height:
    125px;

  border-right:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  padding:
    10px;

  background:
    var(--panel);
}

.calendar-number {
  font-size:
    12px;

  color:
    var(--muted);
}

.calendar-event {
  margin-top:
    8px;

  padding:
    5px 6px;

  border-left:
    2px solid var(--accent);

  background:
    var(--panel-hover);

  font-size:
    10px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

  .dashboard-layout {
    grid-template-columns:
      1fr;
  }

  .artists-panel {
    max-width:
      none;
  }

  .featured-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 850px) {

  :root {
    --sidebar-width: 0px;
  }

  .app {
    display: block;
  }

  .sidebar {
    display: none;
  }

  main {
    display: block;

    padding:
      20px;
  }

  .topbar {
    flex-direction:
      column;

    align-items:
      stretch;
  }

  .actions {
    width: 100%;
  }

  .artist-search {
    flex: 1;

    width: auto;
  }

  .featured-grid {
    grid-template-columns:
      1fr;
  }

  .artist-stats {
    grid-template-columns:
      1fr;
  }

}


@media (max-width: 550px) {

  .actions {
    flex-direction:
      column;
  }

  .artist-search,
  .primary {
    width: 100%;
  }

  .result-row {
    grid-template-columns:
      1fr;
  }

  .event-row {
    grid-template-columns:
      60px
      1fr;
  }

}

/* =========================================
   FICHA ARTISTA — REDISEÑO COMPACTO
========================================= */

.artist-tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 18px;
  flex-wrap: wrap;
}

.artist-tab {
  background: transparent;
  color: var(--muted-light);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
}

.artist-tab:hover {
  border-color: var(--accent);
  color: white;
}

.artist-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.artist-tab-count {
  margin-left: 6px;
  opacity: 0.85;
}

.artist-tab-panel {
  display: none;
}

.artist-tab-panel.active {
  display: block;
}


/* =========================================
   RESUMEN COMPACTO
========================================= */

.artist-summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.artist-summary-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.artist-summary-number {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.artist-summary-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}


/* =========================================
   TABLA COMPACTA
========================================= */

.compact-release-table {
  width: 100%;
  border-collapse: collapse;
}

.compact-release-table thead th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}

.compact-release-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.compact-release-table tbody tr:hover {
  background: var(--panel-hover);
}

.release-month-row td {
  padding: 15px 0 7px;
  border-bottom: none;
}

.release-month-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.release-month-label::after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}

.release-date-cell {
  width: 145px;
  white-space: nowrap;
  color: var(--muted-light);
}

.release-anniversary-cell {
  width: 190px;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
}

.release-title-cell strong {
  font-weight: 700;
}


/* =========================================
   FICHA MÁS COMPACTA
========================================= */

.artist-detail-header {
  padding-bottom: 18px;
  margin-bottom: 12px;
}

.artist-detail-name {
  font-size: 34px;
}

.artist-stats {
  display: none;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

  .artist-tabs {
    gap: 6px;
  }

  .artist-tab {
    flex: 1;
    text-align: center;
    padding: 9px 8px;
  }

  .compact-release-table thead {
    display: none;
  }

  .compact-release-table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .compact-release-table td {
    display: block;
    border: none;
    padding: 3px 0;
  }

  .release-date-cell,
  .release-anniversary-cell {
    width: auto;
  }

}

.artist-detail-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.artist-detail-image {
  width: 78px;
  height: 78px;

  flex: 0 0 78px;

  border-radius: 50%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--surface);
  border: 1px solid var(--border);

  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.artist-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-detail-name {
  margin-bottom: 6px;
}

.artist-detail-meta {
  line-height: 1.45;
}

.artist-detail-header > button,
.artist-detail-header .delete-artist-button {
  flex: 0 0 auto;
  min-width: 170px;
}

@media (max-width: 760px) {

  .artist-detail-header {
    flex-direction: column;
    gap: 18px;
  }

  .artist-detail-identity {
    width: 100%;
  }

  .artist-detail-image {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    font-size: 18px;
  }

  .artist-detail-header > button,
  .artist-detail-header .delete-artist-button {
    width: 100%;
  }
}

/* =========================================
   FIX CABECERA FICHA ARTISTA
========================================= */

.artist-detail-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto;

  align-items: center;
  gap: 30px;

  width: 100%;

  padding-bottom: 24px;
  margin-bottom: 24px;

  border-bottom:
    1px solid var(--border);
}


.artist-detail-identity {
  display: flex;
  align-items: center;

  gap: 18px;

  min-width: 0;
  width: auto;
}


.artist-detail-info {
  min-width: 0;
  width: auto;
}


.artist-detail-image {
  width: 82px;
  height: 82px;

  flex: 0 0 82px;

  border-radius: 50%;
  overflow: hidden;
}


.artist-detail-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;
}


.artist-detail-name {
  margin: 0 0 6px 0;

  font-size: 36px;
  line-height: 1.05;
}


.artist-detail-meta {
  margin-top: 6px;

  white-space: normal;
  word-break: normal;
}


#deleteArtistBtn {
  width: auto !important;
  min-width: 170px;
  max-width: 220px;

  flex: none;

  align-self: center;
}


@media (max-width: 760px) {

  .artist-detail-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }


  #deleteArtistBtn {
    width: 100% !important;
    max-width: none;
  }

}

/* =========================================
   LOGOS — MIS ARTISTAS
========================================= */

.library-card-content {
  display: flex;
  align-items: center;

  gap: 16px;

  width: 100%;
}


.library-logo {
  width: 58px;
  height: 58px;

  flex: 0 0 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 8px;

  background: #f2f2f2;

  border:
    1px solid var(--border);
}


.library-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  padding: 7px;

  display: block;
}


.library-logo span {
  color:
    var(--accent);

  font-size: 18px;
  font-weight: 800;
}


.library-info {
  min-width: 0;
  flex: 1;
}

/* =========================================
   MENÚ MÓVIL
========================================= */

.mobile-menu-btn {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}


@media (max-width: 800px) {

  .mobile-menu-btn {
    position: fixed;

    top: 18px;
    left: 18px;

    z-index: 1002;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--panel);
    color: #fff;

    font-size: 24px;

    cursor: pointer;
  }


  .sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: 270px;

    z-index: 1001;

    transform: translateX(-100%);
    transition: transform 0.25s ease;

    overflow-y: auto;
  }


  .sidebar.mobile-open {
    transform: translateX(0);
    display: flex !important;
  }


  .mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 1000;

    background: rgba(0, 0, 0, 0.65);
  }


  .mobile-menu-overlay.active {
    display: block;
  }


  main {
    width: 100%;
    margin-left: 0;
    padding-top: 85px;
  }
}

/* =========================================
   CUMPLEAÑOS
========================================= */

.birthdays-toolbar {
  margin-top: -8px;
  padding-top: 0;
}

.birthday-legend {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.birthday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.birthday-grid > .empty-state {
  grid-column: 1 / -1;
}

.birthday-card {
  display: grid;
  grid-template-columns: 54px 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

.birthday-card:hover {
  border-color: var(--accent);
  background: var(--panel-hover);
}

.birthday-date {
  text-align: center;
  color: var(--accent);
}

.birthday-date strong,
.birthday-date span {
  display: block;
}

.birthday-date strong {
  font-size: 26px;
  line-height: 1;
}

.birthday-date span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
}

.birthday-avatar {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

.birthday-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.birthday-info {
  min-width: 0;
}

.birthday-info h3 {
  margin: 3px 0;
  font-size: 16px;
}

.birthday-info p {
  margin: 0 0 5px;
  color: var(--muted-light);
  font-size: 12px;
}

.birthday-info a,
.birthday-status {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .birthday-grid {
    grid-template-columns: 1fr;
  }

  .birthday-card {
    grid-template-columns: 46px 54px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .birthday-avatar {
    width: 54px;
    height: 54px;
  }
}
