/**
 * Daily Smoothie Choices Styling
 * 365-Day Alkaline Vegan Meal Plan
 */

/* Smoothie Section */
.daily-smoothies {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.smoothie-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.smoothie-header h3 {
  color: var(--jamaica-green, #008744);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.smoothie-subtitle {
  color: #558b2f;
  font-size: 1rem;
  font-style: italic;
}

/* Smoothie Options Grid */
.smoothie-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Individual Smoothie Card */
.smoothie-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 2px solid #c5e1a5;
}

.smoothie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Option Badge */
.smoothie-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Card Header */
.smoothie-card-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e8f5e9;
}

.smoothie-name {
  color: #2d5016;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smoothie-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #558b2f;
}

.smoothie-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Card Body */
.smoothie-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.smoothie-description {
  color: #666;
  line-height: 1.5;
  font-style: italic;
}

/* Ingredients */
.smoothie-ingredients {
  background: #f9fbe7;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #9ccc65;
}

.smoothie-ingredients strong {
  color: #558b2f;
  display: block;
  margin-bottom: 0.5rem;
}

.smoothie-ingredients ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.smoothie-ingredients li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
}

.smoothie-ingredients li:before {
  content: '🌿';
  position: absolute;
  left: 0;
}

/* Instructions & Nutrition (Details/Summary) */
.smoothie-instructions,
.smoothie-nutrition {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.smoothie-instructions summary,
.smoothie-nutrition summary {
  padding: 0.8rem 1rem;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: 600;
  color: #2d5016;
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.2s ease;
}

.smoothie-instructions summary:hover,
.smoothie-nutrition summary:hover {
  background: #e8f5e9;
}

.instructions-content {
  padding: 1rem;
  color: #555;
}

.instructions-content p {
  margin: 0.5rem 0;
  padding-left: 1rem;
  line-height: 1.6;
}

/* Nutrition Grid */
.nutrition-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
}

.nutrition-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: #f9fbe7;
  border-radius: 6px;
}

.nutrition-label {
  font-weight: 600;
  color: #558b2f;
  text-transform: capitalize;
}

.nutrition-value {
  color: #333;
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .smoothie-options {
    grid-template-columns: 1fr;
  }

  .daily-smoothies {
    padding: 1rem;
  }

  .smoothie-header h3 {
    font-size: 1.5rem;
  }

  .smoothie-name {
    font-size: 1.2rem;
  }

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

/* Print Styles */
@media print {
  .daily-smoothies {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .smoothie-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .smoothie-card:hover {
    transform: none;
  }

  .smoothie-instructions[open],
  .smoothie-nutrition[open] {
    border: 1px solid #ddd;
  }
}
