﻿/* Plan pages (diet & workouts) */

.filters {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filters .form-group {
  min-width: 180px;
  margin-bottom: 0;
}

.diet-grid .card,
.workout-grid .card {
  animation: fadeUp 0.5s ease forwards;
}

.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.day-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-gold-light);
}

.meal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.meal-table th,
.meal-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.meal-table th {
  color: var(--color-gold);
  font-weight: 600;
  width: 110px;
}

.meal-table td {
  color: var(--color-text-muted);
}

.workout-grid .card {
  position: relative;
}

.workout-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.workout-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin: 0;
}

.workout-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.workout-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  overflow: hidden;
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mark-complete {
  width: 100%;
}

.mark-complete.completed {
  background: var(--color-success);
  color: #000;
}

@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    gap: 12px;
  }

  .filters .form-group {
    min-width: 100%;
  }
}
