/* Container */
.birthday-row-block {
  padding: 8px 0;
}

/* Row list */
.birthday-row {
  display: flex;
  flex-wrap: nowrap;          /* make it a single row by default */
  gap: 12px;
  overflow-x: auto;           /* horizontal scroll if needed */
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* Each item (small card) */
.birthday-card {
  flex: 0 0 auto;            /* don't shrink; width based on content */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  max-width: 140px;
  padding: 8px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

/* Avatar inside the card (thumbnail from formatter) */
.birthday-card .user-pic img {
  display: block;
  border-radius: 6px;
}

/* Name link */
.birthday-card .user-name a {
  text-decoration: none;
}

/* Meta (date / Today) */
.birthday-card .meta {
  color: #666;
  font-size: 0.9em;
  margin-top: 2px;
}

/* Section titles */
.birthday-section-title {
  font-weight: 600;
  margin: 6px 0 8px;
}

/* On narrow screens allow wrapping (optional) */
@media (max-width: 560px) {
  .birthday-row {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.birthday-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.birthday-more {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: #eee;
  text-decoration: none;
}

.birthday-more:hover {
  background: #e2e2e2;
}
