:root {
  --primary-color: #365545;
  --primary-dark: #2a4236;
  --primary-light: #4c7361;
  --secondary-color: #94a3b8;
  --text-dark: #1e293b;
  --text-light: #ffffff;
  --text-muted: #64748b;
  --background-light: #f8fafc;
  --card-background: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 0.375rem;
  --border-radius-sm: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-full: 9999px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --transition-all: all 0.15s ease;
}

/* Animaties */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Algemene stijlen */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-all);
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* Navbar */
.navbar {
  background-color: var(--card-background);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  color: var(--primary-color);
}

.navbar .nav-link {
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--border-radius);
  color: var(--text-dark) !important;
  transition: all 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  background-color: rgba(var(--accent-color-rgb), 0.1);
  color: var(--primary-color) !important;
}

.navbar .nav-link.active {
  color: var(--text-light) !important;
  background-color: var(--primary-color);
  font-weight: 600;
}

.navbar .nav-link.active:hover {
  background-color: var(--primary-color);
  color: var(--text-light) !important;
}

.navbar .nav-link:active {
  transform: translateY(1px);
}

.navbar-dark .navbar-toggler {
  color: var(--text-dark);
  border-color: var(--border-color);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Containers en secties */
.container {
  padding: var(--spacing-md);
}

.main {
  min-height: calc(100vh - 200px);
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
  .dashboard {
    grid-template-columns: 1fr 1fr;
  }
}

.dashboard-section {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: var(--spacing-lg);
  height: 100%;
  border: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section-header i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

/* Welkomst sectie */
.welcome-section {
  text-align: center;
  padding: var(--spacing-xl) 0;
  position: relative;
  background-color: var(--primary-light);
  margin-bottom: var(--spacing-xl);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1495195134817-aeb325a55b65?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.welcome-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
  position: relative;
  z-index: 1;
}

.welcome-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-dark);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Recept voor vandaag */
.today-recipe {
  display: flex;
  flex-direction: column;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.today-recipe-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.today-recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.today-recipe:hover .today-recipe-image img {
  transform: scale(1.05);
}

.today-recipe-content {
  padding: var(--spacing-lg);
}

.today-recipe-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  color: var(--text-dark);
}

.today-recipe-description {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.today-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.recipe-meta-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.recipe-meta-item i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

@media (min-width: 768px) {
  .today-recipe {
    flex-direction: row;
  }
  
  .today-recipe-image {
    width: 40%;
    height: auto;
  }
  
  .today-recipe-content {
    width: 60%;
  }
}

/* Komende maaltijden */
.upcoming-meals {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.meal-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-all);
  animation: fadeIn 0.5s ease-out;
}

.meal-card:nth-child(1) { animation-delay: 0.1s; }
.meal-card:nth-child(2) { animation-delay: 0.2s; }
.meal-card:nth-child(3) { animation-delay: 0.3s; }
.meal-card:nth-child(4) { animation-delay: 0.4s; }
.meal-card:nth-child(5) { animation-delay: 0.5s; }

.meal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.meal-date {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.meal-type {
  font-weight: 600;
  color: var(--primary-color);
}

.meal-info {
  display: flex;
  padding: var(--spacing-md);
  align-items: center;
}

.meal-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.meal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-small {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.meal-details {
  flex-grow: 1;
}

.meal-details h4 {
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.meal-portions {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.meal-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--background-light);
  color: var(--primary-color);
  border-radius: var(--border-radius-full);
  margin-left: var(--spacing-md);
  transition: var(--transition-all);
  border: 1px solid var(--border-color);
}

.meal-action:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Recepten overzicht */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 576px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (min-width: 768px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (min-width: 992px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (min-width: 1200px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.recipe-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-all);
  height: 100%;
}

.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.recipe-image {
  height: 200px;
  overflow: hidden;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image img {
  transform: scale(1.05);
}

.recipe-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.recipe-tag {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  background-color: rgba(54, 85, 69, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-full);
  font-weight: 500;
}

.recipe-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.recipe-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: auto;
}

/* Knoppen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-primary:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: rgba(var(--accent-color-rgb), 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:active {
  background-color: rgba(var(--accent-color-rgb), 0.2);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn i {
  margin-right: var(--spacing-xs);
}

/* Footer */
.footer {
  background-color: var(--card-background);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer h5 {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--background-light);
  color: var(--primary-color);
  border-radius: var(--border-radius-full);
  transition: all 0.15s ease-in-out;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Formulieren */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--card-background);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(54, 85, 69, 0.25);
}

label {
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  display: block;
  font-size: 0.875rem;
  color: var(--text-dark);
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
}

.empty-state-icon i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  color: var(--text-muted);
  height: 100%;
  font-size: 0.9rem;
  border: 1px dashed var(--border-color);
}

/* Card elementen */
.card-element {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.card-element:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Recepten pagina stijlen */
.recent-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* Extra stijlen voor de recipes.php pagina */
.recipes-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  width: 100%;
}

/* Breder maken van de receptkaarten */
.recipe-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-all);
  height: 100%;
  min-width: 300px;
  margin-bottom: var(--spacing-md);
}

.recipes-grid .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 767px) {
  .recipes-grid .row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .recipes-grid .row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .recipes-grid .row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recipe-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Stijlen voor de vandaag pagina */
.recipe-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-lg);
  border: 1px solid var(--border-color);
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badges voor dieet voorkeuren */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.badge-vegetarian {
  background-color: rgba(76, 175, 80, 0.1);
  color: #388E3C;
}

.badge-vegan {
  background-color: rgba(139, 195, 74, 0.1);
  color: #689F38;
}

.badge-gluten-free {
  background-color: rgba(255, 193, 7, 0.1);
  color: #FFA000;
}

.badge-lactose-free {
  background-color: rgba(33, 150, 243, 0.1);
  color: #1976D2;
}

/* Weekmenu stijlen */
.add-meal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  color: var(--primary-color);
  background-color: rgba(54, 85, 69, 0.1);
  border: 1px dashed var(--primary-color);
  border-radius: var(--border-radius);
  transition: var(--transition-all);
  font-weight: 500;
  text-align: center;
  width: 100%;
  margin: var(--spacing-sm) 0;
}

.add-meal-button:hover {
  background-color: rgba(54, 85, 69, 0.2);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.add-meal-button i {
  font-size: 1.2rem;
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition-all);
  text-align: center;
}

.quick-link:hover {
  border-color: var(--primary-color);
  background-color: rgba(54, 85, 69, 0.05);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.quick-link-icon {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.quick-link-icon i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

.quick-link-text {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Recipes pagina in HyperUI stijl */
.recipes-grid .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  width: 100%;
}

.recipe-item {
  width: 100%;
  margin-bottom: var(--spacing-md);
}

/* Zorg ervoor dat we minstens 2 recepten naast elkaar kunnen tonen op bredere schermen */
@media (min-width: 768px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (min-width: 992px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (min-width: 1200px) {
  .recipes-grid .row {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

.recipe-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-all);
  height: 100%;
  box-shadow: var(--shadow);
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.recipe-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.recipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-card-image img {
  transform: scale(1.05);
}

.recipe-card-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  color: var(--text-muted);
}

.recipe-card-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.recipe-card-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.recipe-card-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: auto;
}

/* HyperUI Stijlen - Tags en badges */
.recipe-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background-color: rgba(54, 85, 69, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.recipe-tag i {
  margin-right: 0.25rem;
}

/* HyperUI Stijlen - Formulieren */
.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--card-background);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(54, 85, 69, 0.25);
}

/* HyperUI Stijlen - Weekly Menu */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.current-week {
  font-weight: 500;
  color: var(--text-dark);
}

.weekly-menu {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .weekly-menu {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .weekly-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .weekly-menu {
    grid-template-columns: 1fr;
  }
}

.day-column {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 15px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.day-header {
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.day-name {
  font-weight: 700;
  color: var(--text-dark);
}

.day-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.day-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.meal-item {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
}

.meal-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.meal-title {
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.meal-meta {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.meal-meta i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

.meal-actions {
  display: flex;
  justify-content: space-between;
}

.add-meal-container {
  margin-top: auto;
  padding-top: 10px;
}

/* HyperUI Stijlen - Alerts */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* HyperUI Stijlen - Today Pagina */
.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.recipe-header h2 {
  margin: 0;
  flex: 1;
}

.servings-control {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.servings-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

#servings-value {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  font-weight: 700;
}

.recipe-detail {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.recipe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-vegetarian {
  background-color: #d4edda;
  color: #155724;
}

.badge-vegan {
  background-color: #c3e6cb;
  color: #155724;
}

.badge-gluten-free {
  background-color: #d1ecf1;
  color: #0c5460;
}

.badge-lactose-free {
  background-color: #d0e0fc;
  color: #004085;
}

.recipe-description {
  margin-bottom: 30px;
  line-height: 1.8;
}

.recipe-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.recipe-ingredients, .recipe-instructions {
  margin-bottom: 30px;
}

.recipe-ingredients h3, .recipe-instructions h3 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.recipe-ingredients ul {
  list-style-type: none;
  padding: 0;
}

.recipe-ingredients li {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.ingredient-amount {
  font-weight: 700;
  margin-right: 5px;
  min-width: 30px;
}

.ingredient-unit {
  margin-right: 5px;
  min-width: 50px;
}

.ingredient-name {
  flex: 1;
}

.ingredient-price {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.instructions-text {
  line-height: 1.8;
}

.recipe-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 768px) {
  .recipe-content {
    grid-template-columns: 1fr;
  }
  
  .recipe-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .servings-control {
    margin-top: 10px;
  }
}

.recipe-image img, 
.recipe-card-image img, 
.meal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Iconen accentkleur */
i.fas, i.far, i.fab {
  color: var(--primary-color);
}

.btn i.fas, .btn i.far, .btn i.fab,
.meal-action i.fas, .meal-action i.far, .meal-action i.fab,
.social-link i.fas, .social-link i.far, .social-link i.fab {
  color: inherit;
}

.empty-state-icon i.fas, .empty-state-icon i.far, .empty-state-icon i.fab {
  color: var(--primary-light);
}

.text-primary {
  color: var(--accent-color) !important;
} 