/* 学校行事・予定ビュー (self-introduction 和モダン カード) */
.schedules-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 960px;
}

.schedule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.schedule-card:hover {
  background-color: var(--color-surface-2);
  border-color: var(--color-line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.schedule-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.schedule-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: var(--bg-input);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.schedule-date-month {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-matcha-light);
  letter-spacing: 0.04em;
}

.schedule-date-day {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-top: 2px;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.schedule-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.schedule-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.schedule-type-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.badge-exam {
  background-color: var(--danger-bg);
  color: #ff9da6;
  border: 1px solid var(--danger-border);
}

.badge-holiday {
  background-color: rgba(100, 181, 246, 0.15);
  color: #90caf9;
  border: 1px solid var(--info-border);
}

.badge-substitute {
  background-color: var(--warning-bg);
  color: #f7ce7a;
  border: 1px solid var(--warning-border);
}

.badge-event {
  background-color: rgba(122, 184, 122, 0.15);
  color: var(--color-matcha-light);
  border: 1px solid rgba(122, 184, 122, 0.4);
}

.schedule-notes {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.schedules-empty {
  text-align: center;
  padding: 48px 24px;
  background-color: var(--color-surface);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  color: var(--color-text-muted);
}

.schedules-empty__icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.schedules-empty__text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .schedule-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .schedule-card .btn-danger {
    align-self: flex-end;
  }
}
