.social-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.social-calendar-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  padding: 0 0.25rem 0.15rem;
}

.social-calendar-day {
  min-height: 6.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.35rem;
  background: #fff;
}

.social-calendar-day.is-outside {
  background: #f8f9fa;
}

.social-calendar-day.is-outside .social-calendar-date {
  color: #adb5bd;
}

.social-calendar-day.is-today {
  border-color: #0d6efd;
}

.social-calendar-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.social-calendar-post {
  display: block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.25;
  text-decoration: none;
  color: inherit;
  background: #e7f1ff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.social-calendar-post.is-published {
  background: #e8f6ee;
}

.social-calendar-post.is-failed {
  background: #fdecea;
}

.social-calendar-post.is-partial,
.social-calendar-post.is-publishing {
  background: #fff6e0;
}

.social-calendar-post.is-draft,
.social-calendar-post.is-cancelled {
  background: #f1f3f5;
}

.social-calendar-time {
  font-variant-numeric: tabular-nums;
  margin-right: 0.25rem;
}

.social-media-preview {
  max-width: 100%;
  max-height: 320px;
  border-radius: 0.5rem;
}

@media (max-width: 767.98px) {
  .social-calendar {
    grid-template-columns: 1fr;
  }

  .social-calendar-weekday,
  .social-calendar-day.is-outside {
    display: none;
  }

  .social-calendar-day {
    min-height: 0;
  }
}
