/*
 * Donal's Kitchen Plugin Styles
 * Essential styles for recipe management functionality
 */

/* Adobe Typekit Import */
@import url("https://use.typekit.net/rlz7von.css");

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
  /* Primary Colors */
  --dk-primary-yellow: #ffd459;
  --dk-primary-yellow-hover: #fff0c5;
  --dk-primary-dark: #4d4d4d;
  --dk-primary-gray: #828282;
  --dk-primary-light-gray: #a8b0b5;

  /* Secondary Colors */
  --dk-secondary-green: #2c5530;
  --dk-secondary-green-hover: #1e3a21;
  --dk-secondary-light-green: #e2f8f5;
  --dk-secondary-light-green-hover: #b3f0e6;

  /* Neutral Colors */
  --dk-white: #ffffff;
  --dk-black: #000000;
  --dk-gray-50: #f8f9fa;
  --dk-gray-100: #f1f1f1;
  --dk-gray-200: #e2e8f0;
  --dk-gray-300: #cbd5e0;
  --dk-gray-400: #9ca3af;
  --dk-gray-500: #6c757d;
  --dk-gray-600: #4d4d4e;
  --dk-gray-700: #374151;
  --dk-gray-800: #2d3748;
  --dk-gray-900: #1a202c;

  /* Status Colors
  --dk-success: #ffd459;
  --dk-error: #ffd459;
  --dk-error-hover: #ffd459;
  --dk-error-light: #ffd459;
  --dk-error-light-hover: #ffd459;
  --dk-warning: #ffd459;
  --dk-info: #ffd459; */

  /* Background Colors */
  --dk-bg-primary: #f7f7f7;
  --dk-bg-secondary: #f8f9fa;
  --dk-bg-card: #ffffff;
  --dk-bg-overlay: rgba(0, 0, 0, 0.5);

  /* Border Colors */
  --dk-border-light: #f5f5f5;
  --dk-border-medium: #e2e8f0;
  --dk-border-dark: #cbd5e0;

  /* Font Family */
  --dk-font-family: sofia-pro;

  /* Spacing */
  --dk-spacing-xs: 0.25rem;
  --dk-spacing-sm: 0.5rem;
  --dk-spacing-md: 1rem;
  --dk-spacing-lg: 1.5rem;
  --dk-spacing-xl: 2rem;
  --dk-spacing-2xl: 3rem;

  /* Border Radius */
  --dk-radius-sm: 4px;
  --dk-radius-md: 8px;
  --dk-radius-lg: 12px;
  --dk-radius-xl: 20px;
  --dk-radius-full: 50%;
  --dk-radius-pill: 25px;

  /* Shadows */
  --dk-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --dk-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --dk-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --dk-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Typography */
  --dk-font-size-xs: 0.75rem;
  --dk-font-size-sm: 0.875rem;
  --dk-font-size-base: 1rem;
  --dk-font-size-lg: 1.125rem;
  --dk-font-size-xl: 1.25rem;
  --dk-font-size-2xl: 1.5rem;
  --dk-font-size-3xl: 1.875rem;
  --dk-font-size-4xl: 2.25rem;

  /* Line Heights */
  --dk-line-height-tight: 1.2;
  --dk-line-height-normal: 1.4;
  --dk-line-height-relaxed: 1.6;

  /* Font Weights */
  --dk-font-weight-normal: 400;
  --dk-font-weight-medium: 500;
  --dk-font-weight-semibold: 600;
  --dk-font-weight-bold: 700;

  /* Transitions */
  --dk-transition-fast: 0.2s ease;
  --dk-transition-normal: 0.3s ease;
  --dk-transition-slow: 0.5s ease;

  /* Z-Index Scale */
  --dk-z-dropdown: 1000;
  --dk-z-modal: 10000;
  --dk-z-tooltip: 10001;
}

/* ===== STICKY FOOTER ===== */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page,
#content,
.site-content,
main {
  flex: 1 0 auto;
}

footer,
.site-footer,
#colophon {
  flex-shrink: 0;
  margin-top: auto;
}

/* ===== FONTAWESOME ICON STYLES ===== */

/* Universal FontAwesome icon styling - consolidated */
.fas,
.fa-solid,
.far,
.fab,
i.fas,
i.fa-solid,
i.far,
i.fab,
button .fas,
button .fa-solid,
button .far,
button .fab,
span .fas,
span .fa-solid,
span .far,
span .fab,
div .fas,
div .fa-solid,
div .far,
div .fab,
.fa-print,
.fa-clock,
.fa-share,
.fa-heart,
.fa-fire,
.fa-plus,
.fa-circle-plus,
.fa-times,
.fa-trash,
.fa-chevron-down,
.fa-envelope,
.fa-copy,
.fa-check,
.fa-check-circle,
.fa-exclamation-circle,
.fa-exclamation-triangle,
.fa-info-circle,
.fa-utensils,
.fa-tools,
.fa-facebook-f,
.fa-twitter,
.fa-whatsapp,
.fa-search,
.fa-magnifying-glass {
  color: #000;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Print icon specific styling */
.fa-solid.fa-print::before,
.fa-print::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: "\f02f" !important;
}

/* ===== UNIFIED NOTIFICATION SYSTEM ===== */

/* Universal notification icon styling - consolidated */
.swal2-icon,
.swal2-error,
.swal2-warning,
.swal2-info,
.swal2-success,
.swal2-question,
.notification-icon,
.modal-icon,
.alert-icon,
.error-icon,
.dk-notification-icon,
div[style*="width: 80px"][style*="height: 80px"],
div[style*="width:80px"][style*="height:80px"],
*[style*="background"][style*="width"][style*="height"] {
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 !important;
}

/* Notification background fixes */
div[style*="background-color: rgb(248, 215, 218)"],
div[style*="background-color: #f8d7da"],
div[style*="background: rgb(248, 215, 218)"],
div[style*="background: #f8d7da"],
div[style*="background-color: pink"],
div[style*="background: pink"],
*[style*="rgb(248, 215, 218)"],
[style*="background"][style*="border-radius"] {
  border-radius: 50% !important;
  width: 80px !important;
  height: 80px !important;
  aspect-ratio: 1 / 1 !important;
}

/* SweetAlert2 specific fixes */
.swal2-icon::before,
.swal2-icon::after,
.swal2-icon-content {
  border-radius: 50% !important;
}

/* ===== DONAL'S NOTES SECTION ===== */

.donals-notes {
  margin: var(--dk-spacing-xl) 0;
  padding: var(--dk-spacing-xl);
  background: var(--dk-bg-secondary);
  border-radius: var(--dk-radius-lg);
}

.notes-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.donal-portrait {
  flex-shrink: 0;
}

.portrait-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notes-content {
  flex: 1;
}

.notes-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dk-primary-dark);
  margin-bottom: 1rem;
}

.notes-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  font-family: var(--dk-font-family);
}

/* ===== CONSOLIDATED RESPONSIVE DESIGN ===== */

/* ===== TABLET AND MOBILE BREAKPOINTS ===== */

/* Large screens to medium tablets */
@media (max-width: 1400px) {
  .dk-recipe-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 1200px) {
  .dk-recipe-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem;
  }
}

@media (max-width: 1100px) {
  .dk-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Medium tablets to small tablets */
@media (max-width: 900px) {
  .dk-recipe-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* ===== IPAD PORTRAIT RESPONSIVE (820px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  /* Meal Planner iPad Portrait Optimizations */
  .dk-meal-planner-container {
    padding: 20px 30px;
  }

  .meal-planner-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .meal-planner-actions {
    gap: 25px;
    margin-bottom: 50px;
  }

  .action-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }

  /* Meal Type Headers - Better spacing for iPad */
  .meal-type-headers {
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 30px;
  }

  .meal-type-header {
    padding: 15px 25px;
    font-size: 0.9rem;
  }

  /* Day Rows - More spacious layout */
  .dk-meal-day-row {
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 30px;
  }

  /* Day Labels - Wider for better readability */
  .dk-day-label {
    width: 60px;
    padding: 25px 15px;
    font-size: 1.1rem;
    min-height: 140px;
  }

  /* Meal Slots - Increased size and spacing */
  .dk-meal-slot {
    min-height: 140px;
    padding: 15px;
    margin-bottom: 40px;
    border-radius: 20px;
  }

  /* Recipe Cards in Meal Slots - Better proportions */
  .meal-recipe-card-inner {
    min-height: 160px;
    margin-top: 50px;
    padding: 1.2rem;
    border-radius: 25px;
  }

  .meal-recipe-image-circle {
    width: 120px !important;
    height: 120px !important;
    top: -50px;
    border: 4px solid white;
  }

  .meal-recipe-title {
    font-size: 1rem;
    margin-top: 1.5rem;
    line-height: 1.4;
  }

  .meal-recipe-category-label.cat-pill {
    top: 30px;
    left: -25px;
    font-size: 10px;
    padding: 4px 10px;
  }

  /* Empty Meal Slots */
  .add-meal-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  .meal-type-label {
    font-size: 0.85rem;
    margin-top: 10px;
  }

  /* Recipe Grid - Better spacing for iPad */
  .dk-recipe-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 2rem;
  }

  .recipe-card-dk {
    margin-top: 90px;
    padding: 2rem 1rem;
  }

  .recipe-image-circle {
    width: 180px !important;
    height: 180px !important;
    top: -90px;
  }

  .recipe-title-dk {
    font-size: 1.2rem;
    margin-top: 4.5rem;
    min-height: 3.2rem;
  }

  /* Search and Filter - Better proportions */
  .dk-search-form {
    max-width: 700px;
  }

  .dk-search-input {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }

  .dk-search-btn {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }

  .dk-filter-buttons {
    padding: 25px;
    gap: 15px;
  }

  .dk-filter-btn,
  .dk-nav-btn,
  .dk-clear-filters-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Modal improvements for iPad */
  .dk-modal-content {
    max-width: 700px;
    width: 85%;
  }

  .dk-modal-header,
  .dk-modal-body {
    padding: 30px 40px;
  }

  /* Shopping List iPad optimizations */
  .dk-shopping-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .dk-shopping-category-card {
    border-radius: 20px;
  }

  .dk-category-header {
    padding: 20px 25px;
  }

  .category-name {
    font-size: 1.1rem;
  }

  .dk-category-items {
    padding: 20px 25px;
  }

  .dk-shopping-item {
    padding: 12px 0;
  }

  .dk-shopping-item-text {
    font-size: 1rem;
  }
}

/* ===== TABLET RESPONSIVE (768px) ===== */
@media (max-width: 768px) {
  /* Donal's Notes */
  .donals-notes {
    margin: 1.5rem 0;
    padding: 1.5rem;
  }

  .notes-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .portrait-image {
    width: 150px;
    height: 150px;
  }

  .notes-title {
    font-size: 1.4rem;
  }

  /* Login Modal */
  .dk-login-required-modal {
    margin: 1rem;
  }

  .dk-notification-icon {
    width: 40px;
    height: 40px;
  }

  .dk-notification-icon i {
    font-size: 2rem;
  }

  .dk-notification-title {
    font-size: 1.5rem;
  }

  .dk-notification-message {
    font-size: 1rem;
  }

  /* Search Bar */
  .dk-search-input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .dk-search-btn {
    padding: 0.8rem 1.2rem;
    min-width: 50px;
    justify-content: center;
    border-radius: 0 25px 25px 0;
    box-shadow: 0 2px 8px rgba(44, 85, 48, 0.3);
  }

  .dk-search-btn-text {
    display: none;
  }

  .dk-search-btn {
    position: relative;
  }

  .dk-search-btn i {
    font-size: 1.2rem !important;
    display: block !important;
    margin-right: 0 !important;
    color: white !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
  }

  .dk-search-btn span {
    display: none !important;
  }

  .dk-search-clear {
    right: 70px;
  }

  /* Recipe Grid */
  .dk-recipe-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .recipe-card-dk {
    padding: 1.5rem 1rem;
  }

  .recipe-image-circle {
    width: 160px !important;
    height: 160px !important;
  }

  .recipe-title-dk {
    font-size: 1.1rem;
  }

  /* Meal Planner */
  .dk-meal-planner-container {
    padding: 0;
  }

  .meal-planner-title {
    font-size: 2rem;
  }

  .meal-planner-actions {
    flex-direction: column;
    gap: 15px;
  }

  .meal-type-headers {
    display: none;
  }

  .dk-meal-planner-container .dk-meal-day-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0px;
    background: #f8f9fa;
    border-radius: 15px;
  }

  .dk-meal-planner-container .dk-day-label {
    writing-mode: initial !important;
    text-orientation: initial !important;
    min-height: auto !important;
    padding: 5px;
    margin-bottom: 15px;
    width: 100% !important;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    background: #cdebf1 !important;
    color: #2d3748 !important;
    border-radius: 10px;
  }

  .dk-meal-planner-container .dk-day-label .day-name {
    transform: none !important;
    writing-mode: initial !important;
    text-orientation: initial !important;
    display: inline !important;
  }

  .dk-meal-planner-container .dk-meal-slot {
    width: 100% !important;
    margin-bottom: 15px;
    position: relative;
    display: block !important;
    grid-column: unset !important;
  }

  .dk-meal-slot::before {
    content: attr(data-meal-type);
    position: absolute;
    top: -10px;
    left: 15px;
    background: #ffd459;
    color: #2d3748;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
  }

  .meal-type-label {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .meal-recipe-card-inner {
    min-height: 140px;
    margin-top: 30px;
    padding: 0.8rem;
  }

  .meal-recipe-image-circle {
    width: 100px !important;
    height: 100px !important;
    top: -30px;
  }

  .meal-recipe-title {
    font-size: 1rem;
    margin-top: 3rem;
  }

  .meal-recipe-category-label.cat-pill {
    font-size: 8px;
    padding: 2px 6px;
    top: 20px;
    left: -25px;
  }

  .meal-favorite-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    padding: 0.3rem;
  }

  /* Mobile meal planner improvements */
  .dk-meal-planner-container .dk-meal-planner-grid {
    display: block !important;
    grid-template-columns: none !important;
  }

  .meal-planner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Hide desktop meal type headers on mobile */
  .meal-type-headers {
    display: none !important;
  }

  /* Recipe Search Modal */
  .recipe-search-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .recipe-actions {
    justify-content: space-between;
  }

  .servings-selector-inline {
    flex: 1;
  }

  /* Add Item Modal */
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qty-group,
  .units-group {
    width: 100%;
  }

  .qty-input,
  .units-select {
    text-align: left;
  }

  /* Modal Styles */
  .dk-modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .dk-modal-header,
  .dk-modal-body {
    padding: 1rem 1.5rem;
  }

  .dk-form-actions {
    flex-direction: column;
  }

  /* Filter Menu */
  .dk-nav-btn {
    display: none !important;
  }

  .dk-modern-filter-menu {
    margin: 20px 0;
  }

  .dk-filter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
  }

  .dk-filter-dropdown {
    position: relative;
  }

  .dk-filter-btn {
    width: 100%;
    padding: 12px 16px;
    background: #a8b0b5;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    font-family: var(--dk-font-family);
    -webkit-tap-highlight-color: transparent;
  }

  .dk-filter-btn:hover,
  .dk-filter-btn:active {
    background: #ffd459;
    color: #4d4d4d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .dk-filter-btn.has-filter {
    background: #ffd459;
    color: #4d4d4d;
  }

  .dk-filter-btn.has-filter:hover,
  .dk-filter-btn.has-filter:active {
    background: #ffd459;
    color: #4d4d4d;
  }

  .dk-dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s ease;
  }

  .dk-filter-dropdown.active .dk-dropdown-arrow {
    transform: rotate(180deg);
  }

  .dk-nav-btn,
  .dk-clear-filters-btn {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--dk-font-family);
  }

  .dk-nav-btn {
    background: #9ca3af;
    color: white;
    border: none;
  }

  .dk-clear-filters-btn {
    background: #ef4444;
    color: white;
    border: none;
  }

  .dk-nav-btn:hover,
  .dk-nav-btn:active {
    background: #ffcd1f;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .dk-clear-filters-btn:hover,
  .dk-clear-filters-btn:active {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .dk-filter-dropdown-content {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: none !important;
    overflow-y: visible !important;
    display: none;
    margin-top: 8px;
    width: 100%;
  }

  .dk-filter-dropdown.active .dk-filter-dropdown-content {
    display: block;
  }

  .dk-filter-list {
    padding: 8px 0;
  }

  .dk-filter-option {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .dk-filter-option:hover,
  .dk-filter-option:active,
  .dk-filter-option.active {
    background: #ffd459;
    color: #4d4d4d;
    text-decoration: none;
  }

  .dk-filter-option:last-child {
    border-bottom: none;
  }

  /* Search Form */
  .dk-search-form {
    border-radius: 25px;
  }

  .dk-search-input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .dk-search-btn {
    padding: 0.75rem 1.5rem;
  }

  /* Filter Menu Shortcode */
  .dk-filter-menu-shortcode .dk-filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .dk-filter-menu-shortcode .dk-filter-dropdown,
  .dk-filter-menu-shortcode .dk-nav-btn,
  .dk-filter-menu-shortcode .dk-clear-filters-btn {
    width: 100%;
    max-width: 300px;
  }

  /* Single Recipe Template */
  .dk-single-recipe-container .recipe-header,
  .dk-single-recipe-container .donals-notes,
  .dk-single-recipe-container .recipe-content,
  .dk-single-recipe-container .related-recipes {
    padding-left: 15px;
    padding-right: 15px;
  }

  .recipe-meta-box {
    flex-direction: column;
    gap: 15px;
  }

  .recipe-meta-left {
    justify-content: center;
  }

  .recipe-meta-actions {
    justify-content: center;
  }

  /* WPRM Ingredients */
  .wprm-recipe-ingredients-container {
    padding: 25px 10px;
  }

  .wprm-recipe-ingredient-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* padding: 12px 15px; */
  }

  .wprm-recipe-ingredient-amount-unit {
    margin-bottom: 4px;
  }

  /* Share Modal */
  .share-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Notification Modal */
  .dk-notification-header,
  .dk-notification-body {
    padding: 20px;
  }

  /* Ingredients Equipment Tabs */
  .ingredients-equipment-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .tab-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Ingredients List */
  .ingredients-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ingredient-item {
    padding: 12px 15px;
  }

  .ingredient-amount-unit {
    font-size: 12px;
    padding: 2px 8px;
  }

  .ingredient-name {
    font-size: 14px;
  }

  /* Recipe Ingredients Equipment */
  .recipe-ingredients-equipment {
    padding: 20px;
  }

  .ingredients-equipment-tabs {
    margin-bottom: 20px;
  }

  /* Favorites */
  .dk-favorites {
    padding: 0;
  }

  .favorites-course-section {
    margin-bottom: 25px;
    padding: 20px;
  }

  .favorites-course-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  /* Favorites Navigation */
  .favorites-category-nav {
    gap: 8px;
    padding: 15px;
  }

  .category-nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Recipe Category Label */
  .recipe-category-label.cat-pill {
    top: 12px;
    left: 15px;
    font-size: 9px;
    padding: 2px 6px;
    letter-spacing: 0.2px;
  }

  /* Login Required Modal */
  .dk-login-required-container {
    padding: 15px;
  }

  .dk-login-required-modal {
    margin: 10px;
    padding: 20px;
  }

  .dk-notification-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .dk-notification-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .dk-notification-message {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* User Forms */
  #wppb-edit-user.wppb-user-forms {
    margin: 20px 15px;
    padding: 20px;
  }

  .wppb-form-field {
    margin-bottom: 20px;
  }

  /* Recipe Search Header */
  .dk-recipe-search-header {
    padding: 20px 15px 15px 15px;
  }

  .dk-recipe-search-title {
    font-size: 2rem;
  }

  /* Servings Button */
  .servings-button {
    padding: 14px 18px;
    font-size: 16px;
    min-width: 60px;
  }

  .servings-controls {
    gap: 12px;
  }

  /* Share Options */
  .dk-share-options {
    gap: 15px;
    padding: 15px 0;
  }

  .dk-share-option {
    padding: 12px 15px;
    font-size: 14px;
  }

  /* Ingredients View Toggle */
  .ingredients-view-toggle {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .view-toggle-buttons {
    justify-content: center;
  }

  .servings-controls {
    justify-content: center;
  }

  /* Ingredients Controls */
  .ingredients-controls {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}

/* ===== MOBILE RESPONSIVE (600px) ===== */
@media (max-width: 600px) {
  .dk-recipe-grid {
    grid-template-columns: 1fr;
  }

  .dk-meal-planner {
    padding: 1rem;
  }

  .dk-shopping-list {
    padding: 1rem;
  }

  .dk-modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .dk-modal-header,
  .dk-modal-body {
    padding: 1rem 1.5rem;
  }

  .dk-form-actions {
    flex-direction: column;
  }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  /* Donal's Notes */
  .donals-notes {
    margin: 1rem 0;
    padding: 1rem;
  }

  .portrait-image {
    width: 140px;
    height: 140px;
  }

  .notes-title {
    font-size: 1.3rem;
  }

  .notes-text {
    font-size: 0.95rem;
  }

  /* Filter Buttons */
  .dk-filter-buttons {
    padding: 1rem;
  }

  .dk-filter-btn,
  .dk-nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }

  /* Recipe Grid */
  .dk-recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
    margin-top: 2rem;
  }

  /* Meal Planner - Extra small mobile */
  .dk-meal-planner-container {
    padding: 10px;
  }

  .meal-planner-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .dk-day-label {
    font-size: 1rem;
    padding: 12px;
  }

  .dk-meal-slot {
    min-height: 100px;
  }

  .dk-meal-slot::before {
    font-size: 0.7rem;
    padding: 4px 10px;
    top: -8px;
    left: 10px;
  }

  .recipe-card-dk {
    margin-top: 70px;
  }

  .recipe-image-circle {
    width: 160px !important;
    height: 160px !important;
    top: -70px;
  }

  .recipe-category-label {
    top: -35px;
    left: 15px;
    font-size: 0.65rem;
    padding: 0.3rem 1rem;
  }

  .dk-recipe-grid .recipe-card-dk {
    min-height: 300px;
  }

  /* Single Recipe */
  .recipe-title {
    font-size: 1.6rem;
  }

  .recipe-meta-box {
    gap: 10px;
  }

  .meta-item {
    font-size: 0.8rem;
  }

  .btn-meal-plan {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  /* WPRM Ingredients */

  .wprm-recipe-ingredient-amount-unit {
    font-size: 11px;
  }

  .wprm-recipe-ingredient-name {
    font-size: 13px;
  }

  /* Share Options */
  .share-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dk-share-options {
    gap: 10px;
    padding: 10px 0;
  }

  .dk-share-option {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* Notification Modal */
  .dk-notification-header,
  .dk-notification-body {
    padding: 15px;
  }

  .dk-notification-title {
    font-size: 16px;
  }

  .dk-notification-message {
    font-size: 13px;
  }

  /* Ingredients */
  .ingredient-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  .ingredient-amount-unit {
    font-size: 11px;
    padding: 2px 6px;
  }

  .ingredient-name {
    font-size: 13px;
  }

  /* Recipe Ingredients Equipment */
  .recipe-ingredients-equipment {
    padding: 15px;
  }

  .ingredients-equipment-tabs {
    margin-bottom: 15px;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 12px;
  }

  /* Favorites */
  .favorites-course-section {
    padding: 15px;
  }

  .favorites-course-title {
    font-size: 18px;
  }

  /* Favorites Navigation */
  .favorites-category-nav {
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }

  .category-nav-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  /* Recipe Category Label */
  .recipe-category-label.cat-pill {
    top: -15px;
    left: 10px;
    font-size: 8px;
    padding: 1px 4px;
  }

  /* Login Required Modal */
  .dk-login-required-container {
    padding: 10px;
  }

  .dk-login-required-modal {
    margin: 5px;
    padding: 15px;
  }

  .dk-notification-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .dk-notification-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .dk-notification-message {
    font-size: 12px;
    margin-bottom: 15px;
  }

  /* Recipe Search Title */
  .dk-recipe-search-title {
    font-size: 1.75rem;
  }

  /* Ingredient Grid */
  .wprm-recipe-ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ===== LOGIN REQUIRED MODAL STYLES ===== */

/* Disable body scroll when login modal is visible */
body.dk-login-modal-active {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

.dk-login-required-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow-y: auto;
}

.dk-login-required-modal {
  background: white;
  border-radius: 20px;
  /* padding: 3rem; */
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Login modal notification styles - consolidated with unified notification system above */

/* ===== SEARCH BAR STYLES ===== */

.dk-modern-search-bar {
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.dk-search-form {
  max-width: 800px;
  margin: 0 auto;
}

.dk-search-input-wrapper {
  display: flex;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.dk-search-input-wrapper:focus-within {
  border-color: var(--dk-primary-yellow);
  box-shadow: 0 4px 25px rgba(44, 85, 48, 0.15);
}

.dk-search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #333;
}

.dk-search-input::placeholder {
  color: #999;
  font-style: italic;
}

.dk-search-btn {
  background: #a8b0b5;
  color: white;
  border: none;
  padding: 1rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500 !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--dk-font-family);
  text-transform: uppercase;
}

.dk-search-btn:hover {
  background: var(--dk-primary-yellow);
  transform: translateX(-2px);
}

.dk-search-btn:active {
  transform: translateX(0);
  background: #0f1f11;
}

.dk-search-btn i {
  font-size: 1rem;
  margin-right: 0.5rem;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Ensure search icon is always visible */
.dk-search-btn i.fa-solid.fa-magnifying-glass {
  display: inline-block !important;
  color: white !important;
  font-weight: 900;
  font-family: "Font Awesome 6 Free" !important;
}

.dk-search-btn-text {
  display: inline;
}

/* Search input focused state */
.dk-search-input-wrapper.focused {
  border-color: var(--dk-primary-yellow);
  box-shadow: 0 4px 25px rgba(44, 85, 48, 0.15);
}

/* Clear search button */
.dk-search-clear {
  position: absolute;
  right: 150px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.dk-search-clear:hover {
  background: #f0f0f0;
  color: #666;
}

.dk-search-input-wrapper {
  position: relative;
  width: 100%;
  height: 45px;
}

/* Search bar spacing */
.dk-modern-search-bar + .dk-modern-filter-menu {
  margin-top: 1rem;
}

/* ===== RECIPE CARD STYLES ===== */

/* Recipe Grid Layout */
.dk-recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0 2rem 0; /* Added top margin for floating images */
  padding: 0 1rem;
}

/* Recipe Card Container */
.recipe-card-dk {
  background: white;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow: visible;
  margin-top: 80px; /* Space for the floating image */
}

.recipe-card-dk:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Recipe Card Link */
.recipe-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Category Label */
.recipe-category-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: white;
  color: #666;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 25px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 10;
  font-family: var(--dk-font-family);
}

.recipe-category-label.cat-pill {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-top-right-radius: 0;
  text-transform: uppercase;
}

/* Circular Recipe Image - Floating above card */
.recipe-image-circle {
  width: 160px !important;
  height: 160px !important;
  margin: 0 auto;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: -80px; /* Float above the card */
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
  z-index: 5;
}

.recipe-image-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  /* transition: transform 0.3s ease; */
  display: block !important;
}

/* Recipe Title */
.recipe-title-dk {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dk-primary-dark);
  margin: 4rem 0 1.2rem 0; /* Added top margin for spacing from floating image */
  line-height: 1.6rem;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  text-align: left;
  font-family: var(--dk-font-family);
}

.recipe-title-dk:hover {
  color: var(--dk-primary-yellow);
}

/* Recipe Meta Information */
.recipe-meta-dk {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.meta-item-dk {
  color: #828281 !important;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.3rem;
}

.meta-label {
  font-weight: 400;
}

.meta-value {
  font-weight: 400;
  color: #374151;
  font-family: var(--dk-font-family);
}

/* Calories specific styling */
.meta-item-dk.calories {
  color: #828281 !important;
  font-weight: 400;
}

/* Recipe Footer */
.recipe-footer-dk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.recipe-time-dk {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #718096;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--dk-font-family);
}

.time-icon {
  font-size: 0.9rem;
}

/* Favorite Button */
.favorite-btn-dk {
  background: #ededed;
  border: 1px solid #ededed;
  font-size: 1.1rem;
  color: #4d4d4e;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn-dk:hover {
  color: var(--dk-gray-600);
  background: var(--dk-primary-yellow);
  border-color: var(--dk-primary-yellow);
  transform: scale(1.05);
}

.favorite-btn-dk.active {
  color: var(--dk-gray-600);
  background: var(--dk-primary-yellow);
  border-color: var(--dk-primary-yellow);
}

/* ===== MEAL PLANNER STYLES ===== */

.dk-meal-planner-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  background: #f7f7f7;
}

/* ===== MEAL PLANNER RECIPE CARDS ===== */

.dk-meal-recipe-card {
  width: 100%;
  height: 100%;
  position: relative;
}

.meal-recipe-card-inner {
  background: white;
  border-radius: 20px;
  padding: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px); /* Account for floating image margin */
  min-height: 160px;
  margin-top: 40px; /* Space for floating image */
}

.meal-recipe-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Floating Recipe Image */
.meal-recipe-image-circle {
  width: 100px !important;
  height: 100px !important;
  margin: 0 auto;
  border-radius: 50% !important;
  overflow: visible !important;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
  z-index: 5;
}

.meal-recipe-image-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 50% !important;
}

/* Category Label for Meal Cards */
.meal-recipe-category-label.cat-pill {
  position: absolute;
  top: 25px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  color: #2d3748;
  padding: 3px 8px;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-top-right-radius: 0;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 15;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(226, 232, 240, 0.3);
  font-family: var(--dk-font-family);
}

/* Recipe Content */
.meal-recipe-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 32px;
}

.meal-recipe-link {
  text-decoration: none;
  color: inherit;
}

.meal-recipe-title {
  font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  margin-top: 3rem;
  font-family: var(--dk-font-family);
}

.meal-recipe-title:hover {
  color: var(--dk-primary-yellow);
}

/* Favorite Heart for Meal Cards */
.meal-recipe-favorite {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
}

.meal-favorite-btn {
  background: #ededed;
  border: 1px solid #ededed;
  font-size: 0.9rem;
  color: #4d4d4e;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.4rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meal-favorite-btn:hover {
  color: var(--dk-gray-600);
  background: var(--dk-primary-yellow);
  border-color: var(--dk-primary-yellow);
  transform: scale(1.05);
}

.meal-favorite-btn.active {
  color: var(--dk-gray-600);
  background: var(--dk-primary-yellow);
  border-color: var(--dk-primary-yellow);
}

/* Remove Button for Meal Cards */
.dk-meal-recipe-card .remove-from-meal-plan {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ededed;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  z-index: 15;
}

.dk-meal-recipe-card .remove-from-meal-plan:hover {
  background: var(--dk-primary-yellow);
  transform: scale(1.1);
}

/* Header */
.dk-meal-planner-header {
  text-align: center;
  margin-bottom: 40px;
}

.meal-planner-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 30px 0;
  line-height: 1.2;
  font-family: var(--dk-font-family);
}

.meal-planner-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--dk-primary-yellow);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Action Buttons */
.meal-planner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.action-btn {
  background: none;
  border: none;
  color: #5c6a6c;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-family: var(--dk-font-family);
}

.action-btn:hover {
  color: #333;
}

.action-btn .action-icon {
  font-size: 16px;
  color: #4d4d4d;
}

/* Special buttons */
.clear-favorites-btn,
.clear-meal-plan-btn {
  background: #cdebf1;
  color: #5c6a6c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.clear-favorites-btn:hover,
.clear-meal-plan-btn:hover {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.generate-shopping-btn {
  background: #cdebf1;
  color: #5c6a6c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.generate-shopping-btn:hover {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

/* Meal Type Headers */
.meal-type-headers {
  display: grid;
  grid-template-columns: 40px repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.header-spacer {
  /* Empty spacer to align headers with meal slots */
}

.meal-type-header {
  background: var(--dk-primary-yellow);
  color: #333;
  padding: 6px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.5px;
  font-family: var(--dk-font-family);
}

/* Meal Planner Grid */
.dk-meal-planner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.dk-meal-day-row {
  display: grid;
  grid-template-columns: 40px repeat(5, 1fr);
  gap: 20px;
  align-items: stretch; /* Changed from center to stretch for equal heights */
  margin-bottom: 20px;
}

/* Day Label */
.dk-day-label {
  background: #cdebf1;
  color: #4d4d4d;
  padding: 20px 10px;
  border-radius: 25px;
  text-align: center;
  font-weight: 500;
  font-size: 1.1rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 35px;
  font-family: var(--dk-font-family);
}

.day-name {
  transform: rotate(180deg);
}

/* Meal Slots */
.dk-meal-slot {
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  min-height: 120px; /* Increased height for recipe cards */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px;
  height: 100%; /* Stretch to fill row height */
  overflow: visible; /* Allow floating images to show outside */
}

.dk-meal-slot:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.dk-meal-slot.has-recipe {
  background: transparent;
  border-color: var(--dk-primary-yellow);
  padding: 10px;
  overflow: visible; /* Allow floating images to show */
  min-height: 200px; /* Ensure enough space for floating image */
}

/* Empty Meal Slot */
.dk-meal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%; /* Ensure empty slots fill available height */
  gap: 8px;
}

.add-meal-icon {
  width: 40px;
  height: 40px;
  background: #ededed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
}

.dk-meal-slot:hover .add-meal-icon {
  background: var(--dk-primary-yellow);
  color: #333;
}

.meal-type-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.dk-meal-slot:hover .meal-type-label {
  color: #333;
}

/* Old meal recipe styles - replaced with recipe cards */
/* Meal recipe servings display */
.meal-recipe-servings {
  margin-top: 4px;
  color: #666;
  font-size: 0.8em;
  margin-bottom: 4px;
}

.meal-recipe-servings small {
  font-style: italic;
}

/* Recipe search modal styles */
#recipe-search-modal .modal-content {
  max-height: 80vh;
  height: 600px;
  display: flex;
  flex-direction: column;
}

#recipe-search-modal .modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#recipe-search-results {
  flex: 1;
  overflow-y: auto;
  min-height: 300px;
  max-height: 400px;
}

.recipe-search-list {
  height: 100%;
}

.recipe-search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  gap: 15px;
}

.recipe-search-item:last-child {
  border-bottom: none;
}

.recipe-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recipe-title {
  font-weight: 600;
  color: #333;
}

.recipe-original-servings {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
}

.recipe-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.servings-selector-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.servings-selector-inline label {
  font-size: 0.9em;
  color: #666;
  margin: 0;
}

.recipe-servings-select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9em;
  min-width: 60px;
}

.recipe-servings-select:focus {
  outline: none;
  border-color: #2c5530;
}

.servings-fixed {
  font-weight: 600;
  color: #2c5530;
  padding: 4px 8px;
  background: rgba(255, 212, 89, 0.8);
  border-radius: 4px;
  font-size: 0.9em;
}

/* Old remove button styles - now handled by .dk-meal-recipe-card .remove-from-meal-plan */

/* ===== SHOPPING LIST STYLES ===== */

.dk-shopping-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  background: #f7f7f7;
}

/* Header */
.dk-shopping-list-header {
  text-align: center;
  margin-bottom: 40px;
}

.shopping-list-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 30px 0;
  line-height: 1.2;
  font-family: var(--dk-font-family);
}

.shopping-list-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--dk-primary-yellow);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Action Buttons */
.shopping-list-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.shopping-list-actions .action-btn {
  background: none;
  border: none;
  color: #5c6a6c;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.shopping-list-actions .action-btn:hover {
  color: #4d4d4d;
}

.shopping-list-actions .back-to-meal-planner-btn,
.shopping-list-actions .add-category-btn {
  background: #cdebf1;
  color: #5c6a6c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.shopping-list-actions .back-to-meal-planner-btn:hover,
.shopping-list-actions .add-category-btn:hover {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.shopping-list-actions .clear-shopping-list-btn {
  background: #cdebf1;
  color: #5c6a6c;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.shopping-list-actions .clear-shopping-list-btn:hover {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

/* Shopping Categories Grid */
.dk-shopping-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* Category Card */
.dk-shopping-category-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

/* Category Header */
.dk-category-header {
  background: var(--dk-primary-yellow);
  color: #333;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dk-category-header.has-items {
  cursor: pointer;
}

.category-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.5px;
  font-family: var(--dk-font-family);
}

.category-toggle-btn {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.category-toggle-btn.open .toggle-icon {
  transform: rotate(180deg);
}

/* Category Items */
.dk-category-items {
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.dk-shopping-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
}

.dk-shopping-item:last-child {
  border-bottom: none;
}

.dk-shopping-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: pointer;
}

.dk-shopping-item-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ffd459; /* Yellow checkbox color */
}

/* Custom checkbox styling for better control */
.dk-shopping-item-checkbox:checked {
  background-color: #ffd459;
  border-color: #ffd459;
}

.dk-shopping-item-text {
  font-size: 0.95rem;
  color: #2d3748;
  font-family: var(--dk-font-family);
}

.dk-shopping-item.checked .dk-shopping-item-text {
  text-decoration: line-through !important;
  color: #999;
}

/* Alternative selector for when checkbox is checked */
.dk-shopping-item-checkbox:checked + .dk-shopping-item-text,
.dk-shopping-item-checkbox:checked ~ .dk-shopping-item-text {
  text-decoration: line-through !important;
  color: #999;
}

.remove-item {
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.remove-item:hover {
  background: var(--dk-primary-yellow);
  transform: scale(1.1);
}

/* Add Item Section */
.dk-add-item-section {
  padding: 15px 20px;
}

.dk-add-item-btn {
  width: 100%;
  background: #f8f9fa;
  border: 2px dashed #e2e8f0;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.dk-add-item-btn:hover {
  background: #fff;
  border-color: #ffd459;
  color: #333;
}

.add-icon {
  font-size: 1.2rem;
}

.add-text {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== FAVORITES STYLES ===== */

.dk-favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.dk-favorites-section {
  margin-bottom: 3rem;
}

.dk-favorites-section h3 {
  color: #2c5530;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2c5530;
}

/* ===== MODAL STYLES ===== */

.dk-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.dk-modal.show {
  display: block;
}

/* ===== UNIFIED MODAL SYSTEM ===== */

/* Base modal styles - consolidated */
.modal,
.dk-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
}

.modal.show,
.dk-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Modal content - consolidated */
.modal .modal-content,
.modal-content,
.dk-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
}

/* Modal header - consolidated */
.modal .modal-header,
.modal-header,
.dk-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3,
.dk-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  font-family: var(--dk-font-family);
}

/* Modal close button - consolidated */
.modal-close,
.dk-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover,
.dk-modal-close:hover {
  background: #f1f1f1;
  color: #333;
}

/* Modal body - consolidated */
.modal .modal-body,
.modal-body,
.dk-modal-body {
  padding: 30px;
}

/* Modal backdrop - consolidated */
.modal-backdrop,
.dk-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.search-filters .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.favorites-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.favorites-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #2d3748;
  width: 100%;
  justify-content: space-between;
}

.favorites-toggle input[type="checkbox"] {
  width: 50px;
  height: 25px;
  appearance: none;
  background: #e2e8f0;
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorites-toggle input[type="checkbox"]:checked {
  background: #ffd459;
}

.favorites-toggle input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.favorites-toggle input[type="checkbox"]:checked::before {
  transform: translateX(25px);
}

/* Recipe Search Results */
.recipe-search-list {
  max-height: 400px;
  overflow-y: auto;
}

.recipe-search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.3s ease;
}

.recipe-search-item:hover {
  background-color: #f8f9fa;
}

.recipe-search-item:last-child {
  border-bottom: none;
}

.recipe-search-item .recipe-title {
  flex: 1;
  font-size: 1rem;
  color: #2d3748;
  font-weight: 500;
}

.recipe-search-item .select-recipe {
  background: #ffd459;
  color: #333;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recipe-search-item .select-recipe:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
}

.recipe-search-item .select-recipe.processing {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
}

.recipe-search-item .select-recipe.processing:hover {
  background: #ccc;
  transform: none;
}

.loading,
.error {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}

.error {
  color: #e53e3e;
}

/* ===== ADD ITEM MODAL STYLES ===== */

.add-item-modal-content {
  max-width: 600px;
  width: 90%;
}

.add-item-form {
  padding: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px;
  align-items: end;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.search-group {
  flex: 1;
}

.qty-group {
  width: 80px;
}

.units-group {
  width: 120px;
}

.form-control {
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ffd459;
  box-shadow: 0 0 0 3px rgba(255, 212, 89, 0.1);
}

.search-input {
  font-size: 1rem;
}

.qty-input {
  text-align: center;
}

.units-select {
  text-align: center;
  cursor: pointer;
}

.units-select option {
  text-align: center;
}

.add-items-btn {
  width: 100%;
  background: #ffd459;
  color: #333;
  border: none;
  border-radius: 25px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-items-btn:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
}

/* dk-modal styles consolidated above in unified modal system */

/* ===== FORM STYLES ===== */

.dk-form-group {
  margin-bottom: 20px;
}

.dk-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
}

.dk-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.dk-form-control:focus {
  outline: none;
  border-color: #ffd459;
  box-shadow: 0 0 0 3px rgba(255, 212, 89, 0.1);
}

.dk-form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

/* Shopping List Modal Form Buttons - Match Meal Planner Style */
.dk-form-actions .dk-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.dk-form-actions .dk-btn:not(.dk-btn-secondary) {
  background: #ffd459;
  color: #333;
}

.dk-form-actions .dk-btn:not(.dk-btn-secondary):hover {
  background: #ffcd1f;
  transform: translateY(-1px);
}

.dk-form-actions .dk-btn-secondary {
  background: #e2e8f0;
  color: #666;
}

.dk-form-actions .dk-btn-secondary:hover {
  background: #cbd5e0;
}

/* ===== BUTTON STYLES ===== */

.dk-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #2c5530;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.dk-btn:hover {
  background: #1e3a21;
}

.dk-btn-secondary {
  background: #6c757d;
}

.dk-btn-secondary:hover {
  background: #545b62;
}

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

/* ===== LOADING OVERLAY ===== */

.dk-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.dk-spinner {
  color: white;
  font-size: 1.2rem;
}

/* ===== SEARCH RESULTS ===== */

.dk-recipe-search-list {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 1rem;
}

.dk-recipe-search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.dk-recipe-search-item:last-child {
  border-bottom: none;
}

.dk-recipe-search-item:hover {
  background-color: #f8f9fa;
}

.dk-recipe-search-item .recipe-title {
  flex: 1;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

.dk-no-results {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== UTILITY CLASSES ===== */

.dk-text-center {
  text-align: center;
}

.dk-mb-2 {
  margin-bottom: 1rem;
}

.dk-mb-3 {
  margin-bottom: 1.5rem;
}

.dk-mt-2 {
  margin-top: 1rem;
}

.dk-mt-3 {
  margin-top: 1.5rem;
}

.dk-hidden {
  display: none;
}

.dk-flex {
  display: flex;
}

.dk-justify-between {
  justify-content: space-between;
}

.dk-align-center {
  align-items: center;
}

.dk-gap-1 {
  gap: 0.5rem;
}

.dk-gap-2 {
  gap: 1rem;
}
/* Additional Recipe Card Enhancements */
.recipe-card-dk .recipe-card-link {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-card-dk .recipe-card-link:hover {
  text-decoration: none;
}

/* Course label specific colors */
.recipe-category-label {
  white-space: nowrap;
}

/* Ensure consistent card heights */
.dk-recipe-grid .recipe-card-dk {
  max-height: 350px;
}

/* Additional styling for the new floating image layout */
.recipe-card-dk .recipe-card-link {
  padding-top: 0.5rem; /* Add some space at the top for better spacing */
}

/* Ensure the category label doesn't interfere with the image */
.recipe-category-label.cat-pill {
  z-index: 15; /* Higher than the image */
}

/* Better spacing for the entire card container */
.dk-recipe-grid .recipe-card-dk {
  position: relative;
  overflow: visible;
}
/* ===== MODERN FILTER MENU STYLES ===== */

.dk-modern-filter-menu {
  margin: 2rem 0;
  /* padding: 0 1rem; */
}

.dk-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50px;
}

/* Filter Dropdown Buttons */
.dk-filter-dropdown {
  position: relative;
  display: inline-block;
}

/* Filter button base styles - consolidated */
.dk-filter-btn,
.dk-nav-btn,
.dk-clear-filters-btn {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 25px;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-top-right-radius: 0;
  font-family: var(--dk-font-family);
}

.dk-filter-btn {
  background: #a8b0b5;
  color: white;
}

.dk-filter-btn:hover,
.dk-filter-btn.active,
.dk-filter-btn.has-filter {
  background: #ffd459;
  color: #4d4d4d;
  transform: translateY(-1px);
  font-weight: 600;
}

.dk-dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: #fff !important;
}

.dk-filter-dropdown.active .dk-dropdown-arrow {
  transform: rotate(180deg);
  color: #fff !important;
}

/* Dropdown Content */
.dk-filter-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 250px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  z-index: 1000;
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

.dk-filter-dropdown.active .dk-filter-dropdown-content {
  display: block;
}

/* Filter Lists */
.dk-filter-list,
.dk-ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dk-filter-option {
  display: block;
  padding: 1rem 1.5rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  font-family: var(--dk-font-family);
}

.dk-filter-option:last-child {
  border-bottom: none;
}

.dk-filter-option:hover {
  background: #ffd459;
  color: #4d4d4d;
  text-decoration: none;
}

.dk-filter-option.active {
  background: #ffd459;
  color: #4d4d4d;
  font-weight: 600;
}

/* Navigation and clear filter button styles - consolidated above with filter buttons */
.dk-nav-btn {
  background: #9ca3af;
  color: white;
  padding: 0.5rem 1em;
}

.dk-nav-btn:hover {
  background: #ffd459;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.dk-clear-filters-btn {
  background: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
}

.dk-clear-filters-btn:hover {
  background: #dc2626;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Active states consolidated above with hover states */

/* ===== MODERN SEARCH BAR ===== */

.dk-modern-search-bar {
  margin: 2rem 0 1rem 0;
  padding: 0 1rem;
}

.dk-search-form {
  display: flex;
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dk-search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  background: transparent;
  font-family: var(--dk-font-family);
}

.dk-search-input:focus {
  outline: none;
}

.dk-search-input::placeholder {
  color: #9ca3af;
}

.dk-search-btn {
  background: #a8b0b5;
  color: white;
  border: none;
  padding: 1rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dk-search-btn:hover {
  background: #ffd459;
  color: #000;
}

.dk-search-info {
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

/* Force dropdown to show when active */
.dk-filter-dropdown.active .dk-filter-dropdown-content {
  display: block !important;
  visibility: visible;
}

/* ===== SHARE MODAL STYLES ===== */

.dk-share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.dk-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
  gap: 10px;
  min-height: 80px;
}

.dk-share-option:hover {
  background: #fff;
  border-color: #ffd459;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #2d3748;
  text-decoration: none;
}

.dk-share-option .dk-share-icon {
  font-size: 24px;
  color: #000 !important;
  margin-bottom: 5px;
}

.dk-share-option span {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Force all share icons to be black FontAwesome icons */
.dk-share-option .dk-share-icon {
  color: #000 !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

/* Specific FontAwesome icon overrides */
.dk-share-option[data-platform="facebook"] .dk-share-icon::before {
  content: "\f39e" !important;
  font-family: "Font Awesome 6 Brands" !important;
  color: #000 !important;
}

.dk-share-option[data-platform="twitter"] .dk-share-icon::before {
  content: "\e61b" !important;
  font-family: "Font Awesome 6 Brands" !important;
  color: #000 !important;
}

.dk-share-option[data-platform="whatsapp"] .dk-share-icon::before {
  content: "\f232" !important;
  font-family: "Font Awesome 6 Brands" !important;
  color: #000 !important;
}

.dk-share-option[data-platform="email"] .dk-share-icon::before {
  content: "\f0e0" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  color: #000 !important;
}

.dk-share-option[data-platform="copy"] .dk-share-icon::before {
  content: "\f0c5" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  color: #000 !important;
}

/* Mobile responsive share modal */
@media (max-width: 768px) {
  .dk-share-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 15px 0;
  }

  .dk-share-option {
    padding: 15px 10px;
    min-height: 70px;
    border-radius: 12px;
    /* Force black text on mobile */
    color: #000 !important;
  }

  .dk-share-option span {
    font-size: 12px;
    /* Force black text on mobile */
    color: #000 !important;
  }

  .dk-share-option .dk-share-icon {
    font-size: 20px;
  }

  /* Keep platform colors for icons but ensure text is black */
  .dk-share-option:hover {
    color: #000 !important;
  }

  .dk-share-option:hover span {
    color: #000 !important;
  }
}

@media (max-width: 480px) {
  .dk-share-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dk-share-option {
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px 20px;
    text-align: left;
    gap: 15px;
    min-height: 60px;
  }

  .dk-share-option .dk-share-icon {
    font-size: 18px;
    margin-bottom: 0;
  }

  .dk-share-option span {
    font-size: 14px;
  }
}

/* ===== CONSOLIDATED PRINT STYLES ===== */
@media print {
  /* Hide all interactive elements */
  .dk-print-hide,
  .meal-planner-actions,
  .shopping-list-actions,
  .recipe-meta-actions,
  .action-btn,
  .btn-share,
  .btn-print,
  .btn-meal-plan,
  .modal,
  .dk-notification-modal,
  .admin-bar,
  #wpadminbar,
  button,
  .favorite-btn-dk,
  .remove-from-meal-plan,
  .remove-item,
  .dk-add-item-btn,
  .category-toggle-btn,
  .dk-add-item-section,
  .dk-modern-filter-menu,
  .dk-modern-search-bar,
  .ingredients-view-toggle,
  .servings-controls,
  .dk-share-options,
  .ingredients-equipment-tabs {
    display: none !important;
  }

  /* Base print styles */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  body {
    font-size: 12pt !important;
    line-height: 1.4 !important;
    color: #000 !important;
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Container styles */
  .dk-meal-planner-container,
  .dk-shopping-list-container,
  .dk-single-recipe-container,
  .recipe-single {
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    background: white !important;
    box-shadow: none !important;
  }

  /* Page titles */
  .meal-planner-title,
  .shopping-list-title,
  .recipe-title {
    font-size: 24pt !important;
    color: #000 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    page-break-after: avoid !important;
    font-family: var(--dk-font-family);
  }

  /* Recipe hero image */
  .recipe-hero-image {
    max-height: 300px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
  }

  .recipe-hero-image img {
    width: 100% !important;
    height: auto !important;
  }

  /* Shopping list styles */
  .dk-shopping-categories-grid {
    display: block !important;
    break-inside: avoid;
  }

  .dk-shopping-category-card {
    page-break-inside: avoid !important;
    break-inside: avoid;
    margin-bottom: 20px !important;
    border: 1px solid #ccc !important;
    background: white !important;
    box-shadow: none !important;
  }

  .dk-category-header {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: bold !important;
    padding: 15px !important;
    border-bottom: 1px solid #ccc !important;
  }

  .category-name {
    color: #000 !important;
    font-size: 14pt !important;
  }

  .dk-category-items {
    padding: 15px !important;
    display: block !important;
    visibility: visible !important;
  }

  .dk-shopping-item {
    border-bottom: 1px solid #eee !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .dk-shopping-item-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .dk-shopping-item-checkbox {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #000 !important;
    margin-right: 10px !important;
    accent-color: #ffd459 !important;
  }

  .dk-shopping-item-checkbox:checked {
    background-color: #ffd459 !important;
    border-color: #ffd459 !important;
  }

  .dk-shopping-item-text {
    color: #000 !important;
    font-size: 11pt !important;
  }

  .dk-shopping-item.checked .dk-shopping-item-text {
    text-decoration: line-through !important;
    color: #666 !important;
  }

  /* Meal planner styles */
  .dk-meal-planner-grid {
    display: block !important;
    break-inside: avoid;
  }

  .dk-meal-day-row {
    page-break-inside: avoid !important;
    break-inside: avoid;
    margin-bottom: 20px !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    display: block !important;
  }

  .dk-day-label {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    writing-mode: initial !important;
    text-orientation: initial !important;
  }

  .dk-meal-slot {
    border: 1px solid #ddd !important;
    padding: 10px !important;
    margin: 5px 0 !important;
    background: white !important;
    min-height: auto !important;
    display: block !important;
  }

  .dk-recipe-name {
    color: #000 !important;
    font-weight: bold !important;
  }

  /* Recipe content styles */
  .recipe-ingredients,
  .recipe-equipment,
  .recipe-instructions {
    background: white !important;
    border: 1px solid #ccc !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid !important;
  }

  .recipe-ingredients h2,
  .recipe-equipment h2,
  .recipe-instructions h2 {
    color: #000 !important;
    font-size: 18pt !important;
    margin-bottom: 15px !important;
    padding-bottom: 5px !important;
    border-bottom: 2px solid #000 !important;
    font-family: var(--dk-font-family);
  }

  .ingredients-list,
  .instructions-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ingredient-item,
  .instruction-item {
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    break-inside: avoid;
  }

  .ingredient-amount-unit {
    background: #f0f0f0 !important;
    color: #000 !important;
    padding: 2px 6px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    font-weight: bold !important;
  }

  .ingredient-name,
  .instruction-item {
    color: #000 !important;
    font-size: 11pt !important;
  }

  /* Ingredient views - force show all content */
  .view-list,
  .view-images,
  .wprm-recipe-ingredients-container,
  .wprm-recipe-ingredient-item,
  .wprm-recipe-ingredient-amount-unit,
  .wprm-recipe-ingredient-name {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
  }

  .wprm-recipe-ingredient-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 0 !important;
    border-bottom: 1px solid #eee !important;
  }

  /* General heading styles */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #000 !important;
    page-break-after: avoid !important;
  }

  /* Ensure all content is visible */
  .dk-shopping-list-container,
  .dk-shopping-list-container *,
  .dk-shopping-categories-grid,
  .dk-shopping-category-card,
  .dk-category-header,
  .category-name,
  .dk-category-items,
  .dk-shopping-item,
  .dk-shopping-item-label,
  .dk-shopping-item-text,
  .dk-single-recipe-container,
  .dk-single-recipe-container * {
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Override any potential hiding */
  .dk-shopping-list-container,
  .dk-single-recipe-container {
    background: white !important;
    color: #000 !important;
  }

  /* Show empty categories during print */
  .dk-empty-category {
    display: flex !important;
    font-style: italic !important;
    color: #666 !important;
  }

  .dk-empty-text {
    color: #666 !important;
  }

  /* Donal's Notes */
  .donals-notes {
    background: #f9f9f9 !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    page-break-inside: avoid !important;
  }

  .notes-title {
    color: #000 !important;
    font-size: 16pt !important;
    margin-bottom: 10px !important;
  }

  .notes-text {
    color: #000 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  /* Recipe meta information */
  .recipe-meta-box {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    margin: 15px 0 !important;
    background: #f9f9f9 !important;
  }

  .meta-item {
    color: #000 !important;
    font-size: 10pt !important;
    margin: 5px 0 !important;
  }
}

/* Filter dropdown active styles */
.dk-filter-dropdown.active {
  position: relative;
}

.dk-filter-dropdown.active .dk-filter-btn {
  background: #ffd459 !important;
}
/* ===== FILTER MENU SHORTCODE STYLES ===== */

.dk-filter-menu-shortcode {
  margin: 2rem 0;
}

.dk-filter-menu-shortcode .dk-modern-search-bar {
  margin-bottom: 1rem;
}

.dk-filter-menu-shortcode .dk-modern-filter-menu {
  margin: 0;
}

/* Ensure shortcode version has proper spacing */
.dk-filter-menu-shortcode .dk-filter-buttons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Force dropdown display for shortcode version */
.dk-filter-menu-shortcode
  .dk-filter-dropdown.active
  .dk-filter-dropdown-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999 !important;
}

/* Desktop layout for shortcode - match main page */
.dk-filter-menu-shortcode .dk-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.dk-filter-menu-shortcode .dk-filter-dropdown,
.dk-filter-menu-shortcode .dk-clear-filters-btn,
.dk-filter-menu-shortcode .dk-nav-btn {
  flex: 0 0 auto;
}

/* Responsive adjustments for shortcode */
@media (max-width: 768px) {
  .dk-filter-menu-shortcode .dk-filter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .dk-filter-menu-shortcode .dk-filter-dropdown {
    width: 100%;
  }

  .dk-filter-menu-shortcode .dk-clear-filters-btn {
    grid-column: 1 / -1; /* Full width */
    width: 100%;
  }

  .dk-filter-menu-shortcode .dk-nav-btn {
    display: none; /* Hide navigation buttons on mobile for shortcode */
  }
}
/* Ultra-specific CSS for shortcode dropdown */
body
  .dk-filter-menu-shortcode
  .dk-filter-dropdown.active
  .dk-filter-dropdown-content,
html
  body
  .dk-filter-menu-shortcode
  .dk-filter-dropdown.active
  .dk-filter-dropdown-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 99999 !important;
  position: absolute !important;
  background: white !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  min-width: 250px !important;
  padding: 1rem !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 0.5rem !important;
}

/* Ensure parent dropdown has relative positioning */
.dk-filter-menu-shortcode .dk-filter-dropdown {
  position: relative !important;
  overflow: visible !important;
}

.dk-filter-menu-shortcode .dk-filter-dropdown.active .dk-filter-btn {
  background: #ffd459 !important;
  color: white !important;
}

/* Ensure parent dropdown has relative positioning */
.dk-filter-menu-shortcode .dk-filter-dropdown {
  position: relative !important;
  overflow: visible !important;
}

/* Additional filter dropdown styles */
.dk-filter-menu-shortcode
  .dk-filter-dropdown.active
  .dk-filter-dropdown-content {
  background: #ffd459 !important;
  border: 3px solid #ffd459 !important;
  box-shadow: 0 0 20px rgba(255, 212, 89, 0.8) !important;
}
/* ===== INFINITE SCROLL STYLES ===== */

.dk-infinite-scroll-trigger {
  margin: 3rem 0;
  text-align: center;
}

.dk-loading-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: #fffbeb;
  border: 2px solid #ffd459;
  border-radius: 50px;
  margin: 0 auto;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(255, 212, 89, 0.3);
}

.dk-loading-indicator.loading {
  display: flex;
}

.dk-loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ffd459;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  animation: dk-spin 1s linear infinite;
}

.dk-loading-text {
  color: #92400e;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@keyframes dk-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading state for recipe grid */
.dk-recipe-grid.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Smooth fade-in for new recipes */
.dk-recipe-card-new {
  opacity: 0;
  transform: translateY(20px);
  animation: dk-fadeInUp 0.5s ease forwards;
}

@keyframes dk-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* End of results indicator */
.dk-end-of-results {
  text-align: center;
  padding: 1rem;
  color: #000000;
  font-style: italic;
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
}

.dk-end-of-results::before {
  content: "✨";
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* Infinite Scroll Styles */
.dk-infinite-scroll-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  margin-top: 40px;
  min-height: 80px;
}

.dk-loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dk-loading-indicator.loading {
  opacity: 1;
}

.dk-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  animation: dk-spin 1s linear infinite;
}

.dk-loading-text {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.dk-end-of-results {
  text-align: center;
  padding: 40px 20px;
  font-size: 1.4rem;
  color: #000000;
  font-weight: 500;
  background: #f9f9f9;
  border-radius: 10px;
  margin: 20px 0;
}

@keyframes dk-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Recipe card animation for newly loaded items */
.dk-recipe-card-new {
  opacity: 0;
  transform: translateY(20px);
  animation: dk-fadeInUp 0.6s ease forwards;
}

@keyframes dk-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for multiple new cards */
.dk-recipe-card-new:nth-child(1) {
  animation-delay: 0.1s;
}
.dk-recipe-card-new:nth-child(2) {
  animation-delay: 0.2s;
}
.dk-recipe-card-new:nth-child(3) {
  animation-delay: 0.3s;
}
.dk-recipe-card-new:nth-child(4) {
  animation-delay: 0.4s;
}
.dk-recipe-card-new:nth-child(5) {
  animation-delay: 0.5s;
}
.dk-recipe-card-new:nth-child(6) {
  animation-delay: 0.6s;
}

/* ===== SINGLE RECIPE TEMPLATE STYLES ===== */

.dk-single-recipe-container {
  background: white;
}

/* Hero Image - Full Width */
.recipe-hero-image {
  width: 100vw;
  height: 400px;
  overflow: hidden;
  border-radius: 0;
  margin: 0 0 40px 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.recipe-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content Container - Everything except hero image */
.dk-single-recipe-container .recipe-header,
.dk-single-recipe-container .donals-notes,
.dk-single-recipe-container .recipe-content,
.dk-single-recipe-container .related-recipes {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Recipe Header */
.recipe-header {
  text-align: center;
  margin-bottom: 40px;
  background: #f8f9fa;
}

.recipe-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 20px 0;
  line-height: 1.4;
  font-family: var(--dk-font-family);
}

/* Recipe Meta Box */
.recipe-meta-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
  padding: 0;
  background: transparent;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Left side meta items (time, calories) */
.recipe-meta-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  padding: 0;
}

/* Specific icon styling */
.meta-item .meta-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000000;
}

.meta-item .meta-value {
  color: #666;
  font-weight: 500;
}

/* Action buttons container */
.recipe-meta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Interactive Buttons - Clean minimal style */
.btn-print,
.btn-share {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.btn-print:hover,
.btn-share:hover {
  color: #333;
}

/* Favorite button - matching recipe card style */
.btn-favorite {
  background: #ededed;
  border: 1px solid #ededed;
  font-size: 1.1rem;
  color: #4d4d4e;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-favorite:hover {
  color: #4d4d4e;
  background: #ffd459;
  border-color: #ffd459;
  transform: scale(1.05);
}

.btn-favorite.active {
  color: #4d4d4e;
  background: #ffd459;
  border-color: #ffd459;
}

/* Add to Meal Planner - Special yellow button */
.btn-meal-plan {
  background: #ffd459;
  color: #333;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-meal-plan:hover {
  background: #ffcd1f;
  color: #333;
}

/* All icons now use FontAwesome - removed CSS content rules */

/* Icon colors handled by universal FontAwesome rules above */

/* FontAwesome Print and Share Icons */
.action-icon {
  font-size: 16px;
  margin-right: 8px;
  display: inline-block;
}

.meta-icon {
  font-size: 16px;
  margin-right: 6px;
  display: inline-block;
}

.dk-share-icon {
  font-size: 20px;
  margin-right: 10px;
  display: inline-block;
}

.dk-notification-icon i {
  font-size: 24px;
}

/* Share modal icons - styling handled by universal FontAwesome rules */
.dk-share-option .dk-share-icon {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure brand icons use the correct font family */
.dk-share-option .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Ensure solid icons use the correct font family */
.dk-share-option .fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Notification header icon - color handled by universal FontAwesome rules */

/* FontAwesome font families - consolidated */
.fas,
.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

.far {
  font-weight: 400;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

/* Context-specific font family overrides */
button .fas,
button .far,
span .fas,
span .far,
div .fas,
div .far {
  font-family: "Font Awesome 6 Free" !important;
}

button .fab,
span .fab,
div .fab {
  font-family: "Font Awesome 6 Brands" !important;
}

/* Specific icon font families - consolidated above */

/* FontAwesome fallback content - consolidated */
.fa-print::before {
  content: "🖨";
}
.fa-share::before {
  font-family: "Font Awesome 6 Free" !important;
  content: "\f064";
  font-weight: 900 !important;
}
.fa-facebook-f::before {
  content: "📘";
}
.fa-twitter::before {
  content: "🐦";
}
.fa-whatsapp::before {
  content: "💬";
}
.fa-envelope::before {
  content: "📧";
}
.fa-copy::before {
  content: "📋";
}
.fa-clock::before {
  font-family: "Font Awesome 6 Free" !important;
  content: "\f017";
  font-weight: 400 !important;
}

.fas.fa-fire::before,
.fa-fire::before {
  content: "🔥";
}

/* FontAwesome Icon Styling */

/* General icon spacing and sizing */
.add-icon,
.toggle-icon,
.action-icon,
.meta-icon,
.dk-share-icon {
  display: inline-block;
  vertical-align: middle;
}

/* Heart/Favorite icons - color handled by universal FontAwesome rules */
.favorite-btn-dk i,
.btn-favorite i {
  transition: color 0.3s ease;
}

/* Dropdown arrow icons */
.dk-dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.dk-filter-dropdown.active .dk-dropdown-arrow {
  transform: rotate(180deg);
}

/* Toggle icons for categories */
.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.category-toggle-btn.open .toggle-icon {
  transform: rotate(180deg);
}

/* Remove/close icons */
.remove-item i,
.remove-from-meal-plan i {
  font-size: 12px;
}

/* Add meal icon */
.add-meal-icon i {
  font-size: 24px;
  color: #666;
}

.dk-meal-slot:hover .add-meal-icon i {
  color: #333;
}

/* Notification icon colors - consolidated with unified notification system above */

/* Admin status icons */
.dk-status-active i {
  color: #ffd459;
}

.dk-status-inactive i {
  color: #ffd459;
}

/* End of results icon */
.dk-end-of-results i {
  margin-right: 8px;
  color: #666;
}

.btn-favorite.active {
  background: #ffd459;
  border-color: #ffd459;
}

/* Donal's Notes Section */
.donals-notes {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
}

.notes-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.donal-portrait {
  flex-shrink: 0;
}

.portrait-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notes-content {
  flex: 1;
}

.notes-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 15px 0;
  font-family: var(--dk-font-family);
}

.notes-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

/* Recipe Content */
.recipe-single {
  background: #f8f9fa;
}

.recipe-content {
  max-width: 1000px;
  margin: 0 auto;
}

.recipe-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Ingredients Section */
.recipe-ingredients {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.recipe-ingredients h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
}

.recipe-ingredients h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ffd459;
  border-radius: 2px;
}

.ingredient-group-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.ingredient-item:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.ingredient-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.ingredient-amount-unit {
  background: #ffd459;
  color: #333;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

.ingredient-name {
  font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  flex: 1;
}

.ingredient-notes {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.ingredient-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
}

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

/* Equipment Section */
.recipe-equipment {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.recipe-equipment h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
}

.recipe-equipment h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ffd459;
  border-radius: 2px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.equipment-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.equipment-item:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.equipment-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 10px 0;
}

.equipment-notes {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.equipment-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffd459;
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wprm-recipe-equipment-affiliate-html {
  text-align: center;
  background: #ffd459;
  color: #2d3748;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 60px;
}

.wprm-recipe-equipment-affiliate-html:hover {
  background: #ffcd1f;
  color: #fff;
}

.equipment-link:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Instructions Section */
.recipe-instructions {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.recipe-instructions h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
  font-family: var(--dk-font-family);
}

.recipe-instructions h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ffd459;
  border-radius: 2px;
  font-family: var(--dk-font-family);
}

.instruction-group-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.instructions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: instruction-counter;
}

.instruction-item {
  counter-increment: instruction-counter;
  position: relative;
  padding: 20px 20px 30px 80px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
}

.instruction-item::before {
  content: counter(instruction-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  background: #ffd459;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.instruction-image {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.instruction-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* New instruction step format with video support */
.instruction-step {
  padding: 2.5rem 0;
  border-bottom: 4px solid #f3f4f6;
  position: relative;
}

.instruction-step:last-child {
  border-bottom: none;
}

.instruction-content {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.step-number {
  width: 1.5rem;
  height: 1.5rem;
  background: #ffd459;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: regular;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
  margin-top: -0.25rem;
}

.step-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4b5563;
  font-weight: 400;
  letter-spacing: 0.045em;
  margin-left: 16px;
  font-family: var(--dk-font-family);
}

.instruction-video {
  margin: 1rem 0;
  width: 100%;
  max-width: 63.333333%; /* 2/3 width like original */
  margin-left: 3rem;
  position: relative;
  min-height: 200px; /* Minimum height to prevent layout shift */
  background-color: #000;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instruction-video video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  background: #000;
  transition: box-shadow 0.3s ease;
  display: block;
}

/* Hide video controls completely */
.instruction-video video::-webkit-media-controls {
  display: none !important;
}

.instruction-video video::-webkit-media-controls-panel {
  display: none !important;
}

.instruction-video video::-webkit-media-controls-play-button {
  display: none !important;
}

.instruction-video video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.instruction-video video::-moz-media-controls {
  display: none !important;
}

.instruction-video video::-ms-media-controls {
  display: none !important;
}

/* Remove controls attribute styling */
.instruction-video video[controls] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.instruction-video video[controls]::-webkit-media-controls {
  display: none !important;
}

/* Hide controls on hover and focus */
.instruction-video video:hover::-webkit-media-controls,
.instruction-video video:focus::-webkit-media-controls {
  display: none !important;
}

.instruction-video video:hover::-webkit-media-controls-panel,
.instruction-video video:focus::-webkit-media-controls-panel {
  display: none !important;
}

/* Ensure no controls are ever shown - more targeted approach */
.instruction-video video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Disable right-click context menu on videos */
.instruction-video video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

.instruction-video video:focus {
  outline: none;
}

.instruction-video video.playing {
  /* Add visual indicator when video is playing */
  /* box-shadow: 0 0 0 2px #ffd459; */
  box-shadow: none;
}

.instruction-video iframe {
  width: 100%;
  height: 315px; /* Standard YouTube embed height */
  border-radius: 0.5rem;
}

/* Related Recipes */
.related-recipes {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

.related-recipes h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 30px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dk-single-recipe-container .recipe-header,
  .dk-single-recipe-container .donals-notes,
  .dk-single-recipe-container .recipe-content,
  .dk-single-recipe-container .related-recipes {
    padding-left: 15px;
    padding-right: 15px;
  }

  .recipe-hero-image {
    height: 250px;
    margin-bottom: 30px;
  }

  .recipe-title {
    font-size: 2rem;
  }

  .recipe-meta-box {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .recipe-meta-left {
    justify-content: center;
    gap: 20px;
  }

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

  .notes-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .portrait-image {
    width: 150px !important;
    height: 150px !important;
  }

  .recipe-ingredients,
  .recipe-equipment,
  .recipe-instructions {
    padding: 25px 20px;
  }

  .ingredient-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 15px;
  }

  .ingredient-content {
    width: 100%;
    justify-content: space-between;
  }

  .ingredient-image {
    align-self: center;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .equipment-item {
    padding: 15px;
    text-align: center;
  }

  .equipment-name {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .instruction-item {
    padding: 20px 15px 20px 70px;
  }

  .instruction-item::before {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .recipe-title {
    font-size: 1.6rem;
  }

  .recipe-ingredients h2,
  .recipe-equipment h2,
  .recipe-instructions h2 {
    font-size: 1.5rem;
  }

  .donals-notes {
    padding: 25px 20px;
  }

  .notes-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .notes-title {
    font-size: 1.3rem;
  }

  .instruction-video {
    max-width: 90%;
    margin-left: 2rem;
  }
}

/* ===== WP RECIPE MAKER INGREDIENT TEMPLATE STYLES ===== */

.wprm-recipe-ingredients-container {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.wprm-recipe-ingredient-group-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

/* Clean list layout for ingredients */
.wprm-recipe-ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.wprm-recipe-ingredient-item {
  margin-bottom: 8px;
}

.wprm-recipe-ingredient-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  flex: 1;
}

.wprm-recipe-ingredient-amount-unit {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.wprm-recipe-ingredient-name {
  font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  flex: 1;
  font-family: var(--dk-font-family);
}

.wprm-recipe-ingredient-notes {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.wprm-recipe-ingredient-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  align-self: center;
  margin-top: 8px;
}

.wprm-recipe-ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive styles for WPRM ingredients */
@media (max-width: 768px) {
  .wprm-recipe-ingredients-container {
    padding: 25px 10px;
  }

  .wprm-recipe-ingredient-item {
    padding: 6px 8px;
  }

  .wprm-recipe-ingredient-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 12px;
  }

  .wprm-recipe-ingredient-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .wprm-recipe-ingredient-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
  }

  .wprm-recipe-ingredient-text {
    font-size: 0.9rem;
  }

  .wprm-recipe-ingredient-amount-unit {
    font-size: 0.85rem;
  }
}

/* ===== SHARE MODAL STYLES ===== */

/* Share modal styles consolidated above in unified modal system */

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.share-option-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.share-option-card:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.share-icon-large {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-option-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
}

.share-option-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 480px) {
  .share-options-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header,
  .modal-body {
    padding: 20px;
  }
}

/* ===== MEAL PLANNER MODAL STYLES ===== */

.meal-planner-form {
  max-width: 400px;
  margin: 0 auto;
}

.meal-planner-form .form-group {
  margin-bottom: 20px;
}

.meal-planner-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
}

.meal-planner-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.meal-planner-form .form-control:focus {
  outline: none;
  border-color: #ffd459;
  box-shadow: 0 0 0 3px rgba(255, 212, 89, 0.1);
}

.meal-planner-form .form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.meal-planner-form .dk-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.meal-planner-form .dk-btn:not(.dk-btn-secondary) {
  background: #ffd459;
  color: #333;
}

.meal-planner-form .dk-btn:not(.dk-btn-secondary):hover {
  background: #ffcd1f;
  transform: translateY(-1px);
}

.meal-planner-form .dk-btn-secondary {
  background: #e2e8f0;
  color: #666;
}

.meal-planner-form .dk-btn-secondary:hover {
  background: #cbd5e0;
}

/* ===== FAVORITES PAGE STYLES ===== */

.dk-favorites {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  background: #f7f7f7;
}

/* Header */
.dk-favorites-header {
  text-align: center;
  margin-bottom: 40px;
}

.favorites-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 30px 0;
  line-height: 1.2;
  font-family: var(--dk-font-family);
}

.favorites-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ffd459;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Action Buttons */
.favorites-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Empty State */
.dk-favorites-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.dk-favorites-empty p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
/* ===== CUSTOM NOTIFICATION MODALS ===== */

.dk-notification-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
}

.dk-notification-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.dk-notification-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dk-notification-header {
  display: block;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.dk-notification-icon {
  font-size: 24px;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dk-notification-icon.success {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.dk-notification-icon.error {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.dk-notification-icon.warning {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.dk-notification-icon.info {
  background: rgba(255, 212, 89, 0.8);
  color: #4d4d4d;
}

.dk-notification-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.dk-notification-body {
  padding: 20px 30px 30px;
}

.dk-notification-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0 0 25px 0;
  font-family: var(--dk-font-family);
}

.dk-notification-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.dk-notification-btn {
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
  min-width: 80px;
}

.dk-notification-btn.primary {
  background: #ffd459;
  color: #333;
}

.dk-notification-btn.primary:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
}

.dk-notification-btn.secondary {
  background: #e2e8f0;
  color: #666;
}

.dk-notification-btn.secondary:hover {
  background: #cbd5e0;
}

.dk-notification-btn.danger {
  background: #ffcd1f;
  color: #4d4d4d;
}

.dk-notification-btn.danger:hover {
  background: ##ffcd1f;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 480px) {
  .dk-notification-header,
  .dk-notification-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dk-notification-actions {
    flex-direction: column;
  }

  .dk-notification-btn {
    width: 100%;
  }
}
/* ===== SHARE MODAL STYLES ===== */

.dk-share-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.dk-share-option {
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 80px;
  flex: 0 0 auto;
}

.dk-share-option:hover {
  background: #fff;
  border-color: #ffd459;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Duplicate rule removed - dk-share-icon is defined above */

/* FontAwesome Icon Fix - Let FontAwesome handle content */

/* Simple FontAwesome styling - let FontAwesome CSS handle the rest */
.fas,
.far,
.fab {
  color: #000;
}

/* Ensure proper font loading */
i.fas,
i.far {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

i.far {
  font-weight: 400;
}

i.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

/* Ensure icons display in buttons and other containers */
button i.fas,
button i.far,
button i.fab,
span i.fas,
span i.far,
span i.fab,
div i.fas,
div i.far,
div i.fab {
  font-family: inherit;
}
/* Circle Plus Icon Styling */
.fa-solid.fa-circle-plus::before,
.fa-circle-plus::before {
  font-family: "Font Awesome 6 Free" !important;
  content: "\f055" !important;
  font-weight: 900 !important;
}
/* ===== INGREDIENTS & EQUIPMENT TABS ===== */

.recipe-ingredients-equipment {
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.ingredients-equipment-tabs {
  display: flex !important;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 30px;
  gap: 0;
  visibility: visible !important;
}

.tab-button {
  background: none !important;
  border: none !important;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent !important;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  gap: 8px;
  visibility: visible !important;
}

.tab-button:hover {
  color: #ffd459;
  background: rgba(255, 212, 89, 0.1);
}

.tab-button.active {
  color: #ffd459;
  border-bottom-color: #ffd459;
  background: rgba(255, 212, 89, 0.1);
}

.tab-button i {
  font-size: 18px;
}

.tab-content-container {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

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

.recipe-ingredients-content,
.recipe-equipment-content {
  min-height: 200px;
}

/* Responsive tabs */
@media (max-width: 768px) {
  .ingredients-equipment-tabs {
    flex-direction: column !important;
    border-bottom: none;
    display: flex !important;
  }

  .tab-button {
    border-bottom: none;
    border-left: 3px solid transparent;
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .tab-button.active {
    border-left-color: #ffd459;
    border-bottom-color: transparent;
  }
}
/* ===== INGREDIENTS LAYOUT IMPROVEMENTS ===== */

.ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.2s ease;
  min-height: 60px;
  gap: 12px;
}

.ingredient-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ingredient-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* Prevents flex item from overflowing */
}

.ingredient-main-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ingredient-amount-unit {
  background: #ffd459;
  color: #2d3748;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.ingredient-name {
  font-weight: 500;
  color: #2d3748;
  font-size: 16px;
  flex: 1;
  min-width: 0;
}

.ingredient-notes {
  color: #64748b;
  font-size: 14px;
  font-style: italic;
  margin-top: 2px;
}

.ingredient-image {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.ingredient-group-name {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 25px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffd459;
  display: inline-block;
}

.ingredient-group-name:first-child {
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ingredients-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ingredient-item {
    padding: 12px;
    min-height: 60px;
    gap: 12px;
  }

  .ingredient-main-info {
    gap: 8px;
  }

  .ingredient-amount-unit {
    font-size: 13px;
    padding: 3px 8px;
  }

  .ingredient-name {
    font-size: 15px;
  }

  .ingredient-image {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .ingredient-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ingredient-main-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .ingredient-image {
    align-self: center;
    width: 70px;
    height: 70px;
  }
}
/* ===== RECIPE INGREDIENTS & EQUIPMENT CONTENT ===== */

.recipe-ingredients-content,
.recipe-equipment-content {
  padding: 10px 0 0 0;
}

.recipe-ingredients-content h2,
.recipe-equipment-content h2 {
  display: none; /* Hide h2 since we have tabs */
}

/* Equipment grid improvements */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.equipment-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.equipment-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.equipment-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 8px 0;
}

.equipment-notes {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.equipment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd459;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.equipment-link:hover {
  color: #ffcd1f;
}

.external-icon {
  font-size: 12px;
}

/* Responsive adjustments for ingredients-equipment section */
@media (max-width: 768px) {
  .recipe-ingredients-equipment {
    padding: 20px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .recipe-ingredients-equipment {
    padding: 15px;
    border-radius: 8px;
  }
}
/* ===== FAVORITES GROUPED BY COURSE ===== */

.dk-favorites-grouped {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.favorites-course-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.course-title {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #ffd459;
  display: inline-block;
  font-family: var(--dk-font-family);
}

.favorites-course-section .dk-recipe-grid {
  margin-top: 0;
}

/* Responsive adjustments for grouped favorites */
@media (max-width: 768px) {
  .dk-favorites {
    padding: 0;
  }
  .dk-favorites-grouped {
    gap: 30px;
  }

  .favorites-course-section {
    padding: 20px;
  }

  .course-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .favorites-course-section {
    padding: 15px;
    border-radius: 8px;
  }

  .course-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
}
/* ===== FAVORITES CATEGORY NAVIGATION ===== */

.favorites-category-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 40px 0;
  flex-wrap: wrap;
}

.category-nav-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  font-family: var(--dk-font-family);
}

.category-nav-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e0;
  color: #2d3748;
}

.category-nav-btn.active {
  background: #ffd459;
  border-color: #ffd459;
  color: #2d3748;
}

.favorites-content-view {
  display: none;
}

.favorites-content-view.active {
  display: block;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .favorites-category-nav {
    gap: 8px;
    margin: 20px 0 30px 0;
  }

  .category-nav-btn {
    padding: 10px 18px;
    font-size: 14px;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .favorites-category-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .category-nav-btn {
    width: 200px;
    text-align: center;
  }
}
/* ===== RECIPE CATEGORY LABEL POSITIONING ===== */

.recipe-category-label.cat-pill {
  position: absolute;
  top: -15px;
  left: 35px;
  background: rgba(255, 255, 255, 0.95);
  color: #2d3748;
  padding: 4px 12px;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-top-right-radius: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  z-index: 10;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(226, 232, 240, 0.3);
}

/* Ensure parent container has relative positioning */
.recipe-card-dk {
  position: relative;
}

/* Responsive adjustments - maintain position */
@media (max-width: 768px) {
  .recipe-category-label.cat-pill {
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    font-size: 11px;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-top-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .recipe-category-label.cat-pill {
    top: -15px;
    left: 60px;
    padding: 4px 8px;
    font-size: 10px;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-top-right-radius: 0;
  }
}
/* ===== LOGIN REQUIRED MODAL ===== */

.dk-login-required-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 20px;
}

.dk-login-required-modal {
  max-width: 600px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.dk-login-required-modal.show {
  opacity: 1;
  transform: translateY(0);
}

.dk-login-required-modal .dk-notification-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
}

.dk-login-required-modal .dk-notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #1976d2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 24px;
}

.dk-login-required-modal .dk-notification-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  margin-left: 8px;
}

.dk-login-required-modal .dk-notification-message {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 25px 0;
  font-family: var(--dk-font-family);
}

.dk-login-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.dk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 140px;
  justify-content: center;
}

.dk-btn-primary {
  background: #ffd459;
  color: #2d3748;
  border-color: #ffd459;
}

.dk-btn-primary:hover {
  background: #ffcd1f;
  border-color: #ffcd1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 212, 89, 0.4);
}

.dk-btn-secondary {
  background: transparent;
  color: #64748b;
  border-color: #e2e8f0;
}

.dk-btn-secondary:hover {
  background: #f8fafc;
  color: #2d3748;
  border-color: #cbd5e0;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dk-login-required-container {
    padding: 15px;
  }

  .dk-login-required-modal {
    max-width: 95%;
    margin: 0 auto;
  }

  .dk-login-required-modal .dk-notification-content {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .dk-login-required-modal .dk-notification-title {
    font-size: 20px;
  }

  .dk-login-required-modal .dk-notification-message {
    font-size: 15px;
  }

  .dk-login-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .dk-btn {
    width: 100%;
    max-width: 250px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .dk-login-required-container {
    padding: 10px;
  }

  .dk-login-required-modal {
    max-width: 95%;
  }

  .dk-login-required-modal .dk-notification-content {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .dk-login-required-modal .dk-notification-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .dk-login-required-modal .dk-notification-title {
    font-size: 18px;
  }

  .dk-login-required-modal .dk-notification-message {
    font-size: 14px;
  }

  .dk-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}
/* ===== PROFILE BUILDER PRO MULTI-STEP FORM STYLING ===== */

/* Main form container */
#wppb-edit-user.wppb-user-forms {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

/* Multi-step form tabs */
#wppb-msf-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 30px 20px 30px;
}

.wppb-msf-tabs,
input.wppb-msf-tabs {
  background: #4d4d4d !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border: none !important;
  border-top-left-radius: 9999px !important;
  border-bottom-left-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
  border-top-right-radius: 0 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  margin: 5px 2px !important;
}

.wppb-msf-tabs:hover,
input.wppb-msf-tabs:hover {
  background: #ffd459 !important;
  color: #333 !important;
  transform: translateY(-1px) !important;
}

.wppb-msf-tabs.wppb-msf-active,
input.wppb-msf-tabs.wppb-msf-active {
  background: #ffd459 !important;
  color: #333 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(255, 212, 89, 0.3) !important;
}

/* Form step container */
.wppb-msf-step {
  background: white;
  border-radius: 0;
  padding: 40px;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  list-style: none;
}

.wppb-msf-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Form field styling */
.wppb-form-field {
  margin-bottom: 25px;
}

.wppb-form-field label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Input field styling */
.wppb-form-field input[type="text"],
.wppb-form-field input[type="email"],
.wppb-form-field input[type="password"],
.wppb-form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.wppb-form-field input:focus,
.wppb-form-field select:focus {
  outline: none;
  border-color: #ffd459;
  box-shadow: 0 0 0 3px rgba(255, 212, 89, 0.1);
}

/* Select dropdown styling */
.wppb-form-field select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* Upload button styling */
.wppb_upload_button {
  background: #ffd459;
  color: #333;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.wppb_upload_button:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
  color: #333;
  text-decoration: none;
}

.wppb_simple_upload {
  background: #ffd459;
  color: #333;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

/* Avatar field styling */
.wppb-form-field.wppb-avatar {
  text-align: center;
  margin-bottom: 30px;
}

/* Heading styling */
.wppb-form-field.wppb-heading h4 {
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffd459;
  padding-bottom: 10px;
}

/* Radio button styling */
.wppb-form-field.wppb-radio .wppb-radios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.wppb-form-field.wppb-radio .wppb-radios li {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.wppb-form-field.wppb-radio .wppb-radios li:hover {
  background: #e2e8f0;
  border-color: #ffd459;
}

.wppb-form-field.wppb-radio input[type="radio"] {
  margin-right: 12px;
  accent-color: #ffd459;
  width: 18px;
  height: 18px;
}

.wppb-form-field.wppb-radio label.wppb-rc-value {
  margin: 0;
  font-weight: 500;
  color: #2d3748;
  cursor: pointer;
}

/* Checkbox styling */
.wppb-form-field.wppb-checkbox .wppb-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.wppb-form-field.wppb-checkbox .wppb-checkboxes li:not(.wppb-hidden) {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.wppb-form-field.wppb-checkbox .wppb-checkboxes li:hover {
  background: #e2e8f0;
  border-color: #ffd459;
}

.wppb-form-field.wppb-checkbox input[type="checkbox"] {
  margin-right: 12px;
  accent-color: #ffd459;
  width: 18px;
  height: 18px;
}

.wppb-form-field.wppb-checkbox label.wppb-rc-value {
  margin: 0;
  font-weight: 500;
  color: #2d3748;
  cursor: pointer;
}

/* Datepicker styling */
.wppb-form-field.wppb-datepicker input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 45px;
}

/* Step navigation buttons */
.wppb-msf-step-commands {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 80px 40px 40px;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -40px;
}

.wppb-msf-button,
input.wppb-msf-button {
  padding: 12px 30px !important;
  border: none !important;
  border-top-left-radius: 9999px !important;
  border-bottom-left-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
  border-top-right-radius: 0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 120px !important;
  margin-top: 16px !important;
}

.wppb-msf-button.wppb-msf-prev,
input.wppb-msf-button.wppb-msf-prev {
  background: #414141 !important;
  color: #fff !important;
}

.wppb-msf-button.wppb-msf-prev:hover:not(:disabled),
input.wppb-msf-button.wppb-msf-prev:hover:not(:disabled) {
  background: #414141 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.wppb-msf-button.wppb-msf-prev:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wppb-msf-button.wppb-msf-next,
input.wppb-msf-button.wppb-msf-next {
  background: #ffd459 !important;
  color: #333 !important;
}

.wppb-msf-button.wppb-msf-next:hover,
input.wppb-msf-button.wppb-msf-next:hover {
  background: #ffcd1f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(255, 212, 89, 0.3) !important;
}

/* Submit button styling */
.form-submit {
  text-align: center;
  margin-top: 0;
  padding: 20px 80px 80px 80px;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -40px;
}

.form-submit input[type="submit"] {
  background: #4d4d4d;
  color: white;
  padding: 15px 50px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 235px;
  margin-top: 16px;
}

.form-submit input[type="submit"]:hover {
  background: #ffd459;
  color: #4d4d4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(45, 55, 72, 0.3);
}

.wppb-hidden {
  display: none !important;
}

/* Password strength indicator */
#pass-strength-result {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Description text styling */
.wppb-description-delimiter {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  display: block;
  font-style: italic;
}

/* Required field indicator */
.wppb-required {
  color: #e53e3e;
  margin-left: 4px;
}

/* Spinner container */
.wppb-msf-spinner-container {
  display: none;
  text-align: center;
  padding: 20px;
}

/* Two column layout for certain fields */
.wppb-form-field.wppb-default-first-name,
.wppb-form-field.wppb-default-last-name {
  display: inline-block;
  width: calc(50% - 10px);
  margin-right: 20px;
}

.wppb-form-field.wppb-default-last-name {
  margin-right: 0;
}

.wppb-form-field.wppb-default-password,
.wppb-form-field.wppb-default-repeat-password {
  display: inline-block;
  width: calc(50% - 10px);
  margin-right: 20px;
}

.wppb-form-field.wppb-default-repeat-password {
  margin-right: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  #wppb-edit-user.wppb-user-forms {
    margin: 20px 15px;
  }

  #wppb-msf-tabs {
    padding: 20px 15px 15px 15px;
  }

  .wppb-msf-step {
    padding: 25px 20px;
  }

  .wppb-msf-tabs {
    padding: 10px 16px;
    font-size: 0.8rem;
    margin: 2px;
    width: 100%;
  }

  .wppb-form-field.wppb-default-first-name,
  .wppb-form-field.wppb-default-last-name,
  .wppb-form-field.wppb-default-password,
  .wppb-form-field.wppb-default-repeat-password {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .wppb-form-field.wppb-checkbox .wppb-checkboxes {
    grid-template-columns: 1fr;
  }

  .wppb-msf-step-commands {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px 25px 20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -25px;
    list-style: none;
    width: 100%;
  }

  .wppb-msf-button {
    width: 100%;
  }

  .form-submit {
    padding: 25px 35px 45px 35px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -25px;
  }
}
/* ===== RECIPE SEARCH PAGE TITLE ===== */

.dk-recipe-search-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 10px 20px 20px 20px;
}

.dk-recipe-search-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.2;
  position: relative;
}

.dk-recipe-search-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ffd459;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Responsive title styling */
@media (max-width: 768px) {
  .dk-recipe-search-header {
    padding: 20px 15px 15px 15px;
    margin-top: -1rem;
    margin-bottom: 0px;
  }

  .dk-recipe-search-title {
    font-size: 2rem;
  }

  .dk-recipe-search-title::after {
    width: 60px;
    height: 3px;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .dk-recipe-search-title {
    font-size: 1.75rem;
  }
}
/* Duplicate mobile filter menu styles removed - consolidated above */
/* Duplicate mobile filter menu override removed - consolidated above */
/* Mobile filter dropdown scrollbar override removed - consolidated above */
/* ===== SERVINGS SELECTOR STYLES ===== */

.servings-selector-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start;
}

.servings-selector {
  position: relative;
  display: inline-block;
}

.servings-dropdown {
  position: relative;
}

.servings-button {
  background: #ffd459;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  font-size: 16px;
  transition: all 0.2s ease;
  min-width: 140px;
  justify-content: space-between;
}

.servings-button:hover {
  background: #ffcd1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 212, 89, 0.3);
}

.servings-label {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: var(--dk-font-family);
}

.servings-value {
  font-size: 18px;
  font-weight: 700;
}

.servings-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.servings-dropdown.open .servings-arrow {
  transform: rotate(180deg);
}

.servings-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
  margin-top: 4px;
}

.servings-dropdown.open .servings-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.servings-option {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  transition: background-color 0.2s ease;
  text-align: center;
}

.servings-option:hover {
  background: #f8fafc;
}

.servings-option.active {
  background: #ffd459;
  color: #333;
}

.servings-option:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .servings-button {
    padding: 14px 18px;
    font-size: 15px;
    min-width: 120px;
  }

  .servings-label {
    font-size: 13px;
  }

  .servings-value {
    font-size: 16px;
  }
}
/* Mobile responsive for horizontal share options */
@media (max-width: 768px) {
  .dk-share-options {
    gap: 15px;
  }

  .dk-share-option {
    min-width: 70px;
    padding: 12px 15px;
    font-size: 0.8rem;
  }

  .dk-share-icon {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .dk-share-options {
    gap: 10px;
  }

  .dk-share-option {
    min-width: 60px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .dk-share-icon {
    font-size: 16px !important;
  }
}
/* Share modal specific icon content - consolidated with fallbacks above */
.dk-share-option .dk-share-icon {
  text-indent: 0 !important;
  font-size: 20px !important;
  width: auto !important;
  height: auto !important;
}

/* Additional styles for filter dropdowns */
.dk-filter-dropdown.active {
  position: relative !important;
  z-index: 1000 !important;
}

.dk-filter-dropdown.active .dk-filter-dropdown-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Ensure filter options are clickable */
.dk-filter-option {
  display: block !important;
  padding: 8px 12px !important;
  text-decoration: none !important;
  color: #374151 !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease !important;
  font-family: var(--dk-font-family);
}

.dk-filter-option:hover {
  background-color: #f3f4f6 !important;
  color: #111827 !important;
}

.dk-filter-option.active {
  background-color: #ffd459 !important;
  color: #4d4d4d !important;
  font-weight: 600 !important;
}

/* Styles for time and calorie filtering display */
.dk-filter-info {
  background: var(--dk-gray-50);
  padding: 15px;
  margin: 15px 0;
  border: 1px solid var(--dk-gray-300);
  border-radius: 5px;
}

.dk-filter-info h4 {
  margin: 0 0 10px 0;
  color: var(--dk-primary-dark);
}

.dk-filter-info pre {
  background: var(--dk-white);
  padding: 10px;
  border-radius: 3px;
  overflow-x: auto;
  font-size: 12px;
}
/* Enhanced Shopping List Checkbox Styling */
.dk-shopping-item-checkbox {
  /* Modern browsers support accent-color */
  accent-color: #ffd459;
}

/* Custom checkbox styling for better cross-browser support */
.dk-shopping-item-checkbox:checked {
  background-color: #ffd459;
  border-color: #ffd459;
}

/* Webkit browsers (Chrome, Safari) */
.dk-shopping-item-checkbox::-webkit-appearance {
  -webkit-appearance: checkbox;
}

.dk-shopping-item-checkbox:checked::-webkit-appearance {
  background-color: #ffd459;
}

/* Firefox */
.dk-shopping-item-checkbox:checked {
  background-color: #ffd459;
  border-color: #ffd459;
}

/* Ensure strikethrough works with different checkbox states */
.dk-shopping-item input[type="checkbox"]:checked + label .dk-shopping-item-text,
.dk-shopping-item input[type="checkbox"]:checked ~ .dk-shopping-item-text,
.dk-shopping-item.checked .dk-shopping-item-text {
  text-decoration: line-through !important;
  color: #999 !important;
  opacity: 0.7;
}
/* Clean List Ingredients Layout */
.wprm-recipe-ingredient-item:hover {
  background: #fff;
  border-color: #ffd459;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wprm-recipe-ingredient-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.wprm-recipe-ingredient-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: #ffd459;
  flex-shrink: 0;
}

.wprm-recipe-ingredient-checkbox:checked {
  background-color: #ffd459;
  border-color: #ffd459;
}

.wprm-recipe-ingredient-text {
  flex: 1;
  font-size: 1rem;
  color: #2d3748;
  line-height: 1.5;
  transition: all 0.3s ease;
  font-family: var(--dk-font-family);
}

/* Strikethrough when checked */
.wprm-recipe-ingredient-checkbox:checked + .wprm-recipe-ingredient-text {
  text-decoration: line-through;
  color: #999;
  opacity: 0.7;
}

/* Update amount/unit styling for list layout */
.wprm-recipe-ingredient-list .wprm-recipe-ingredient-amount-unit {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.wprm-recipe-ingredient-list .wprm-recipe-ingredient-name {
  font-weight: 600;
  margin-right: 5px;
}

.wprm-recipe-ingredient-list .wprm-recipe-ingredient-notes {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}
/* Ingredients Controls Container */
.ingredients-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
  min-height: 42px; /* Ensure consistent height */
}

/* Ingredients View Toggle */
.ingredients-view-toggle {
  display: flex;
  gap: 10px;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 42px; /* Match exact height */
  box-sizing: border-box;
}

.view-toggle-btn:hover {
  background: #fff;
  border-color: #ffd459;
  color: #2d3748;
}

.view-toggle-btn.active {
  background: #ffd459;
  border-color: #ffd459;
  color: #333;
}

.view-toggle-btn i {
  font-size: 1rem;
}

/* Hide inactive views - but not in print */
@media screen {
  .view-list,
  .view-images {
    display: none !important;
  }
}

.view-list.active {
  display: block !important;
}

.view-images.active {
  display: grid !important;
}

/* Image Grid View Styles */
.wprm-recipe-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.wprm-recipe-ingredient-card {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.wprm-recipe-ingredient-card:hover {
  background: #fff;
  border-color: #ffd459;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.wprm-recipe-ingredient-card-label {
  display: block;
  cursor: pointer;
  position: relative;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
}

.wprm-recipe-ingredient-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f8f9fa; /* Match card background */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none; /* Remove any borders */
}

.wprm-recipe-ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wprm-recipe-ingredient-image-placeholder {
  width: 100%;
  height: 120px;
  background: #f8f9fa; /* Match card background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 2rem;
  border: none; /* Remove any borders */
  border-radius: 8px;
}

.wprm-recipe-ingredient-card-content {
  padding: 15px;
  text-align: center;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-amount-unit {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 5px;
  font-size: 0.9rem;
  display: none;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-name {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-notes {
  display: block;
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  display: none;
}

/* Checked state for image cards */
.wprm-recipe-ingredient-card
  .wprm-recipe-ingredient-checkbox:checked
  + .wprm-recipe-ingredient-image {
  opacity: 0.6;
}

.wprm-recipe-ingredient-card
  .wprm-recipe-ingredient-checkbox:checked
  ~ .wprm-recipe-ingredient-card-content {
  opacity: 0.6;
}

.wprm-recipe-ingredient-card
  .wprm-recipe-ingredient-checkbox:checked
  ~ .wprm-recipe-ingredient-card-content
  .wprm-recipe-ingredient-name {
  text-decoration: line-through;
  color: #999;
}

/* Mobile responsive for toggle and grid */
@media (max-width: 768px) {
  .ingredients-view-toggle {
    flex-direction: column;
    align-items: center;
  }

  .view-toggle-btn {
    width: 200px;
    justify-content: center;
  }

  .wprm-recipe-ingredient-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .wprm-recipe-ingredient-image,
  .wprm-recipe-ingredient-image-placeholder {
    height: 100px;
  }

  .wprm-recipe-ingredient-card-content {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .wprm-recipe-ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Force hide inactive ingredient views - but not in print */
@media screen {
  .wprm-recipe-ingredients-container .view-list:not(.active),
  .wprm-recipe-ingredients-container .view-images:not(.active) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* Ensure active views are properly shown */
.wprm-recipe-ingredients-container .view-list.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

.wprm-recipe-ingredients-container .view-images.active {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Remove any circular styling and borders from ingredient images */
.wprm-recipe-ingredient-image,
.wprm-recipe-ingredient-image img {
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.wprm-recipe-ingredient-image-placeholder {
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}
/* Servings Button Styling to Match Toggle Buttons */
.servings-selector-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.servings-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
  justify-content: space-between;
  height: 42px; /* Match exact height of toggle buttons */
  box-sizing: border-box;
}

.servings-button:hover {
  background: #fff;
  border-color: #ffd459;
  color: #2d3748;
}

.servings-button .servings-label {
  font-size: 0.9rem; /* Match toggle button font size */
  font-weight: 500; /* Match toggle button font weight */
  letter-spacing: 0;
}

.servings-button .servings-value {
  font-weight: 600;
  margin: 0 3px;
  font-size: 0.9rem; /* Match toggle button font size */
}

.servings-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.servings-dropdown.open .servings-arrow {
  transform: rotate(180deg);
}

/* Servings Dropdown */
.servings-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 2px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  min-width: 120px;
  display: none;
}

.servings-dropdown.open .servings-options {
  display: block;
}

.servings-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.3s ease;
  text-align: center;
}

.servings-option:hover {
  background: #ffd459;
  color: #333;
}

.servings-option:last-child {
  border-radius: 0 0 6px 6px;
}

/* Servings Display Only (for large batch recipes) */
.servings-display-only {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  white-space: nowrap;
  min-width: 120px;
  justify-content: center;
  height: 42px; /* Match exact height of toggle buttons */
  box-sizing: border-box;
}

.servings-display-only .servings-label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
}

.servings-display-only .servings-value {
  font-weight: 600;
  margin: 0 3px;
  font-size: 0.9rem;
}

/* Mobile responsive for ingredients controls */
@media (max-width: 768px) {
  .ingredients-controls {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .ingredients-view-toggle {
    justify-content: center;
  }

  .servings-selector-container {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .ingredients-view-toggle {
    flex-direction: column;
    align-items: center;
  }

  .view-toggle-btn {
    width: 200px;
    justify-content: center;
  }

  .servings-button {
    width: 200px;
  }
}
/* Better equipment mobile layout */
@media (max-width: 480px) {
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .equipment-item {
    padding: 12px 8px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .equipment-name {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    margin-top: 8px;
  }

  .equipment-notes {
    font-size: 0.75rem;
    margin-top: 4px;
    text-align: center;
  }

  .equipment-link {
    font-size: 0.8rem;
    margin-top: 8px;
  }
}

/* For very small screens, stack equipment in single column with better spacing */
@media (max-width: 320px) {
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .equipment-item {
    padding: 20px 15px;
    min-height: auto;
  }

  .equipment-name {
    font-size: 1rem;
  }
}
/* Override WP Recipe Maker Equipment Styles for Mobile */
.wprm-recipe-equipment-container {
  margin: 20px 0;
}

.wprm-recipe-equipment-container .wprm-recipe-equipment {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wprm-recipe-equipment-container .wprm-recipe-equipment-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.wprm-recipe-equipment-container .wprm-recipe-equipment-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile responsive for WP Recipe Maker equipment */
@media (max-width: 768px) {
  .wprm-recipe-equipment-container .wprm-recipe-equipment {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-item {
    padding: 15px !important;
    min-height: 140px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-name {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    margin-top: 10px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .wprm-recipe-equipment-container .wprm-recipe-equipment {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-item {
    padding: 12px 8px !important;
    min-height: 120px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-name {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-top: 8px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-notes {
    font-size: 0.75rem !important;
    margin-top: 4px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-link {
    font-size: 0.8rem !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 320px) {
  .wprm-recipe-equipment-container .wprm-recipe-equipment {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-item {
    padding: 20px 15px !important;
    min-height: auto !important;
  }

  .wprm-recipe-equipment-container .wprm-recipe-equipment-name {
    font-size: 1rem !important;
  }
}
/* Additional equipment overrides - target the tab content */
#equipment-tab .wprm-recipe-equipment,
.recipe-equipment-content .wprm-recipe-equipment,
.tab-content .wprm-recipe-equipment {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 20px !important;
}

/* Mobile overrides for equipment in tab content */
@media (max-width: 768px) {
  #equipment-tab .wprm-recipe-equipment,
  .recipe-equipment-content .wprm-recipe-equipment,
  .tab-content .wprm-recipe-equipment {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  #equipment-tab .wprm-recipe-equipment,
  .recipe-equipment-content .wprm-recipe-equipment,
  .tab-content .wprm-recipe-equipment {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 320px) {
  #equipment-tab .wprm-recipe-equipment,
  .recipe-equipment-content .wprm-recipe-equipment,
  .tab-content .wprm-recipe-equipment {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}
/* Ensure ingredient images blend seamlessly with cards */
.wprm-recipe-ingredient-card {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-image {
  background: #f8f9fa !important; /* Match exact card background */
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-image img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.wprm-recipe-ingredient-card .wprm-recipe-ingredient-image-placeholder {
  background: #f8f9fa !important; /* Match exact card background */
  border: none !important;
  box-shadow: none !important;
}

/* Remove any potential white backgrounds from ingredient images */
.wprm-recipe-ingredient-card img[src*="ingredient"] {
  background: transparent !important;
  mix-blend-mode: multiply; /* Helps blend with background */
}
/* Force perfect alignment for all buttons */
.ingredients-controls {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 25px !important;
  gap: 20px !important;
  min-height: 42px !important;
}

.ingredients-view-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.servings-selector-container {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.servings-selector {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.servings-dropdown {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure all buttons have exact same baseline */
.view-toggle-btn,
.servings-button {
  vertical-align: top !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
/* Updated Print Styles for New Recipe Layout */
@media print {
  /* Show main content */
  body,
  .dk-single-recipe-container,
  .recipe-single,
  .recipe-header,
  .recipe-content,
  .recipe-main,
  .donals-notes,
  .wprm-recipe-ingredients-container,
  .recipe-instructions,
  .recipe-equipment-content {
    display: block !important;
    visibility: visible !important;
  }

  /* Hide new interactive elements */
  .ingredients-controls,
  .ingredients-view-toggle,
  .view-toggle-btn,
  .servings-selector-container,
  .servings-button,
  .servings-dropdown,
  .servings-options,
  .recipe-meta-actions,
  .btn-favorite,
  .btn-print,
  .btn-share,
  .btn-meal-plan,
  .add-to-meal-plan-btn,
  .instruction-video,
  .wprm-recipe-ingredient-checkbox,
  .recipe-hero-image {
    display: none !important;
  }

  /* Recipe container */
  .dk-single-recipe-container {
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    background: white !important;
  }

  /* Recipe title */
  .recipe-title {
    font-size: 24pt !important;
    color: #000 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    page-break-after: avoid !important;
  }

  /* Recipe meta info */
  .recipe-meta-box {
    background: #f8f9fa !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    display: block !important;
  }

  .recipe-meta-left {
    display: block !important;
    margin-bottom: 10px !important;
  }

  .meta-item {
    display: inline-block !important;
    margin-right: 20px !important;
    font-size: 12pt !important;
    color: #000 !important;
  }

  .meta-icon {
    display: none !important;
  }

  .meta-value {
    font-weight: bold !important;
    color: #000 !important;
  }

  /* Donal's Notes */
  .donals-notes {
    background: #f8f9fa !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid !important;
  }

  .notes-title {
    font-size: 14pt !important;
    font-weight: bold !important;
    color: #000 !important;
    margin-bottom: 10px !important;
  }

  .notes-text {
    font-size: 11pt !important;
    color: #000 !important;
    line-height: 1.4 !important;
  }

  .donal-portrait {
    display: none !important;
  }

  /* Ingredients section */
  .wprm-recipe-ingredients-container {
    background: white !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid !important;
  }

  .wprm-recipe-ingredient-group-name {
    font-size: 14pt !important;
    font-weight: bold !important;
    color: #000 !important;
    margin: 15px 0 10px 0 !important;
    border-bottom: 1px solid #ccc !important;
    padding-bottom: 5px !important;
  }

  /* Force show ingredients content */
  .view-list,
  .view-list.active,
  .wprm-recipe-ingredient-list,
  .wprm-recipe-ingredient-item,
  .wprm-recipe-ingredient-label,
  .wprm-recipe-ingredient-text,
  .wprm-recipe-ingredient-amount-unit,
  .wprm-recipe-ingredient-name,
  .wprm-recipe-ingredient-notes {
    display: block !important;
    visibility: visible !important;
  }

  .view-images,
  .view-images.active {
    display: none !important;
  }

  .wprm-recipe-ingredient-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .wprm-recipe-ingredient-item {
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    margin: 0 !important;
    background: white !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
  }

  .wprm-recipe-ingredient-label {
    cursor: default !important;
  }

  .wprm-recipe-ingredient-text {
    font-size: 11pt !important;
    color: #000 !important;
    line-height: 1.4 !important;
  }

  .wprm-recipe-ingredient-amount-unit {
    font-weight: bold !important;
    color: #000 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .wprm-recipe-ingredient-name {
    font-weight: normal !important;
    color: #000 !important;
  }

  .wprm-recipe-ingredient-notes {
    font-style: italic !important;
    color: #666 !important;
    font-size: 10pt !important;
  }

  /* Force show instructions content */
  .recipe-instructions,
  .recipe-instructions h2,
  .instruction-step,
  .instruction-content,
  .step-number,
  .step-text {
    display: block !important;
    visibility: visible !important;
  }

  .recipe-instructions {
    background: white !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  .recipe-instructions h2 {
    font-size: 16pt !important;
    font-weight: bold !important;
    color: #000 !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #ccc !important;
    padding-bottom: 5px !important;
  }

  .instruction-step {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee !important;
    page-break-inside: avoid !important;
  }

  .instruction-content {
    overflow: hidden !important;
  }

  .step-number {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background: #000 !important;
    color: white !important;
    border-radius: 50% !important;
    text-align: center !important;
    line-height: 20px !important;
    font-weight: bold !important;
    font-size: 10pt !important;
    margin-right: 10px !important;
    float: left !important;
  }

  .step-text {
    font-size: 11pt !important;
    color: #000 !important;
    line-height: 1.4 !important;
    margin-left: 30px !important;
    display: block !important;
  }

  .instruction-image {
    display: none !important;
  }

  /* Equipment section */
  .recipe-equipment-content {
    background: white !important;
    border: 1px solid #ccc !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  /* Hide tabs */
  .ingredients-equipment-tabs {
    display: none !important;
  }

  .tab-content {
    display: block !important;
  }

  /* Page breaks */
  .recipe-single {
    page-break-after: auto !important;
  }

  /* Print servings info */
  .recipe-meta-box::before {
    content: "Serves: " attr(data-servings) " | ";
    font-weight: bold;
    color: #000;
  }
}
/* Print fallback - ensure basic content shows */
@media print {
  /* Override any hiding that might be too aggressive */
  .dk-single-recipe-container * {
    visibility: visible !important;
  }

  /* But still hide interactive elements */
  .dk-single-recipe-container button,
  .dk-single-recipe-container .btn,
  .dk-single-recipe-container input[type="checkbox"],
  .dk-single-recipe-container .ingredients-controls,
  .dk-single-recipe-container .recipe-meta-actions,
  .dk-single-recipe-container video,
  .dk-single-recipe-container .instruction-video {
    display: none !important;
    visibility: hidden !important;
  }

  /* Ensure text content is black */
  .dk-single-recipe-container,
  .dk-single-recipe-container * {
    color: #000 !important;
    background: white !important;
  }

  /* Simple ingredient list fallback */
  .dk-single-recipe-container ul,
  .dk-single-recipe-container li {
    display: list-item !important;
    list-style: none !important;
    margin: 5px 0 !important;
    padding: 2px 0 !important;
  }
}

/* ===== COOK MODE TOGGLE SWITCH STYLES ===== */

/* Cook Mode Toggle Container */
.cook-mode-toggle-container {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

/* Cook Mode Toggle Switch */
.cook-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 6px 12px;
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cook-mode-toggle:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
  background: #ffffff;
}

/* Hide the default checkbox */
.cook-mode-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Toggle Slider */
.cook-mode-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background: #e5e7eb;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px;
  flex-shrink: 0;
}

/* Toggle Slider - Active State */
.cook-mode-toggle input:checked + .cook-mode-slider {
  background: #1f2937;
}

/* Toggle Icon */
.cook-mode-icon {
  position: relative;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #6b7280 !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Toggle Icon - Active State */
.cook-mode-toggle input:checked + .cook-mode-slider .cook-mode-icon {
  transform: translateX(20px);
  color: #f59e0b !important;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Cook Mode Label */
.cook-mode-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #374151;
  transition: color 0.3s ease;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  font-family: var(--dk-font-family);
}

/* Active Container State */
.cook-mode-toggle-container.cook-mode-active .cook-mode-toggle {
  border-color: #374151;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(55, 65, 81, 0.15);
}

.cook-mode-toggle-container.cook-mode-active .cook-mode-label {
  color: #1f2937;
  font-weight: 700;
}

/* Focus State for Accessibility */
.cook-mode-toggle input:focus + .cook-mode-slider {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Cook Mode Overlay */
.cook-mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  pointer-events: none;
}

.cook-mode-overlay.subtle {
  background: transparent;
}

.cook-mode-indicator {
  background: #ffc107;
  color: #856404;
  padding: 16px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
  transition: all 0.5s ease;
}

.cook-mode-overlay.subtle .cook-mode-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  font-size: 14px;
  background: rgba(255, 193, 7, 0.9);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.cook-mode-indicator i {
  font-size: 20px;
  color: inherit !important;
  animation: pulse 2s infinite;
}

.cook-mode-overlay.subtle .cook-mode-indicator i {
  font-size: 16px;
  animation: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cook-mode-toggle-container {
    margin-left: 0;
    margin-top: 0;
  }

  .cook-mode-toggle {
    width: 100%;
    padding: 12px 16px;
    gap: 10px;
    background: #ffffff;
    justify-content: center;
    min-height: 48px;
    border-radius: 25px;
  }

  .cook-mode-slider {
    width: 36px;
    height: 18px;
    border-radius: 18px;
  }

  .cook-mode-icon {
    width: 14px;
    height: 14px;
    font-size: 7px;
    background: #ffffff;
  }

  .cook-mode-toggle input:checked + .cook-mode-slider .cook-mode-icon {
    transform: translateX(18px);
    background: #ffffff;
  }

  .cook-mode-label {
    font-size: 12px;
    font-weight: 700;
  }

  .cook-mode-overlay.subtle .cook-mode-indicator {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Integration with existing recipe meta styles */
.recipe-meta-box .cook-mode-toggle-container {
  height: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure consistent button sizing in recipe meta actions */
.recipe-meta-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure proper spacing between all meta action buttons */
.recipe-meta-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* Mobile layout for recipe meta actions */
@media (max-width: 768px) {
  .recipe-meta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }

  /* Keep small buttons (heart, print, share) compact */
  .recipe-meta-actions .btn-favorite,
  .recipe-meta-actions .favorite-btn,
  .recipe-meta-actions .btn-print,
  .recipe-meta-actions .btn-share {
    flex: 0 0 auto;
    width: auto;
    min-width: 44px;
    margin-right: 16px;
  }

  /* Make only meal planner and cook mode full width */
  .recipe-meta-actions .btn-meal-plan,
  .recipe-meta-actions .add-to-meal-plan-btn,
  .recipe-meta-actions .cook-mode-toggle-container {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 8px;
  }
}

/* Dark mode support for cook mode */
@media (prefers-color-scheme: dark) {
  .cook-mode-toggle {
    background: #ffffff;
    border-color: #6b7280;
  }

  .cook-mode-toggle:hover {
    border-color: #9ca3af;
    background: #ffffff;
  }

  .cook-mode-slider {
    background: #6b7280;
  }

  .cook-mode-toggle input:checked + .cook-mode-slider {
    background: #1f2937;
  }

  .cook-mode-label {
    color: #374151;
  }

  .cook-mode-icon {
    background: #ffffff;
  }

  .cook-mode-toggle input:checked + .cook-mode-slider .cook-mode-icon {
    background: #ffffff;
  }

  .cook-mode-toggle-container.cook-mode-active .cook-mode-toggle {
    background: #ffffff;
    border-color: #374151;
  }

  .cook-mode-toggle-container.cook-mode-active .cook-mode-label {
    color: #1f2937;
  }
}
/* ===== COOK MODE HELP TOOLTIP ===== */

.dk-cook-mode-help-tooltip {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid #ffd459;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 212, 89, 0.3);
  z-index: 10000;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dk-cook-mode-help-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.dk-help-content {
  padding: 0;
}

.dk-help-header {
  background: #ffd459;
  color: #333333;
  padding: 12px 16px;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.dk-help-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #333333;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.dk-help-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.dk-help-body {
  padding: 16px;
}

.dk-help-body p {
  margin: 0 0 16px 0;
  color: #374151;
  line-height: 1.5;
  font-size: 13px;
}

.dk-help-actions {
  text-align: right;
}

.dk-help-got-it {
  background: #ffd459;
  color: #333333;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid #e6c04a;
}

.dk-help-got-it:hover {
  background: #e6c04a;
  transform: translateY(-1px);
}

.dk-help-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffd459;
}

/* Position tooltip relative to toggle container */
.cook-mode-toggle-container {
  position: relative;
}

/* Mobile adjustments for tooltip */
@media (max-width: 768px) {
  .dk-cook-mode-help-tooltip {
    width: 260px;
    top: -130px;
  }

  .dk-help-body p {
    font-size: 12px;
  }
}

/* Ensure tooltip appears above other elements */
.dk-cook-mode-help-tooltip {
  z-index: 999999;
}

/* ===== CLEAR FILTERS ROW ===== */
.dk-clear-filters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
}

/* Mobile adjustments for clear filters row */
@media (max-width: 768px) {
  .dk-clear-filters-row {
    margin-top: 12px;
    padding-top: 12px;
  }

  .dk-clear-filters-row .action-btn {
    width: 90%;
    max-width: 400px;
    justify-content: center;
  }
}
