/* Container styling */
.status-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  /* Equivalent to min-h-12 (48px-3em) */
  background-color: transparent;
  padding-left: 1px;
  /* pl-8 (32px) */
  /* border-top-left-radius: 12px; /* rounded-l-[12px] */
  /* border-bottom-left-radius: 12px;  */
  border-radius: 12px 12px;

  /* Text layout safety */
  word-break: break-word;
  /* break-words */
  text-transform: capitalize;
  /* capitalize */
  font-family: 'Outfit', sans-serif;
  /* font-outfit */
}

/* Inner Badge styling */
#status-badge_amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*  width: 100%; */
  width: fit-content auto;
  /*  w-fit */
  /* height: 24px auto; */
  /* float: left; */
  padding: 2px 6px;
  /* py-1 px-3 i.e. 4px 12px*/
  margin: 1px;
  border-radius: 12px;
  /* rounded-[6px] */

  /* Typography matching .tw-paragraph-sm and Tailwind weights */
  font-size: 12px;
  /* text-sm equivalent to 14px */
  font-weight: 700;
  /* font-semibold */
  text-transform: capitalize;
  /* capitalize */

  /* Dynamic Theme Properties preserved from your inline style */
  background-color: #FFBF00;
  /*  var(--color-red-light); */
  color: #1b011b
    /* var(--color-red-dark); */
}

#status-badge_light-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*  width: 100%; */
  width: fit-content auto;
  /*  w-fit */
  /* height: 24px auto; */
  /* float: right; */
  padding: 2px 6px;
  /* py-1 px-3 i.e. 4px 12px*/
  margin: 1px;
  border-radius: 12px;
  /* rounded-[6px] */

  /* Typography matching .tw-paragraph-sm and Tailwind weights */
  font-size: 12px;
  /* text-sm equivalent to 14px */
  font-weight: 600;
  /* font-semibold */
  text-transform: capitalize;
  /* capitalize */

  /* Dynamic Theme Properties preserved from your inline style */
  background-color: #ADD8E6;
  /*  var(--color-red-light); */
  color: #1b011b
    /* var(--color-red-dark); */
}

#status-badge_gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*  width: 100%; */
  width: fit-content auto;
  /*  w-fit */
  /* height: 24px auto; */
  /* float: left; */
  padding: 2px 6px;
  /* py-1 px-3 i.e. 4px 12px*/
  margin: 1px;
  border-radius: 12px;
  /* rounded-[6px] */

  /* Typography matching .tw-paragraph-sm and Tailwind weights */
  font-size: 12px;
  /* text-sm equivalent to 14px */
  font-weight: 600;
  /* font-semibold */
  text-transform: capitalize;
  /* capitalize */

  /* Dynamic Theme Properties preserved from your inline style */
  background-color: #808080;
  /*  var(--color-red-light); */
  color: #1b011b
    /* var(--color-red-dark); */
}

#status-badge_light-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*  width: 100%; */
  width: fit-content auto;
  /*  w-fit */
  /* height: 24px auto; */
  /* float: right; */
  padding: 2px 6px;
  /* py-1 px-3 i.e. 4px 12px*/
  margin: 1px;
  border-radius: 12px;
  /* rounded-[6px] */

  /* Typography matching .tw-paragraph-sm and Tailwind weights */
  font-size: 12px;
  /* text-sm equivalent to 14px */
  font-weight: 600;
  /* font-semibold */
  text-transform: capitalize;
  /* capitalize */

  /* Dynamic Theme Properties preserved from your inline style */
  background-color: #90EE90;
  /*  var(--color-red-light); */
  color: #000000
    /* var(--color-red-dark); */
}


/* Styling for the Heading (h1) */
.Meal-name {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  /* serif-title */
  font-size: 1.5rem;
  /* text-3xl (Mobile default) */
  font-weight: 700;
  /* font-bold */
  color: #111827;
  /* text-gray-900 */
  margin-bottom: 8px;
  /* mb-2 */
  margin-top: 8px;
}

/* Responsive adjustment for larger screens (sm:text-4xl) */
@media (min-width: 640px) {
  .Meal-name {
    font-size: 1.5rem;
    /* text-4xl */
  }
}

/* Styling for the Paragraph (p) */

.Meal-origin {
  font-size: 0.875rem;
  /* text-sm */
  color: #9708f1;
  /* text-gray-500 */
  margin-bottom: 8px;
  /* mb-6 */
  margin-top: 0;

}

.Meal-origin b {
  font-size: 0.875rem;
  /* text-sm */
  color: #000000;
  /* text-gray-500 */
  margin-bottom: 8px;
  /* mb-6 */
  margin-top: 0;

}




/* Replicating Tailwind classes for the button */
.youtube-btn {
  /* inline-flex items-center justify-center */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* px-3.5 py-2 */
  padding: 0.5rem 0.875rem;

  /* border border-transparent */
  border: 1px solid rgb(240, 4, 4); ;

  /* text-sm font-medium */
  font-size: 0.875rem;
  font-weight: 800;

  /* rounded-xl text-white bg-red-600 */
  border-radius: 0.75rem;
  color: rgb(13, 0, 0);
  background-color: #09f43c;

  /* text-decoration & width setup (w-full sm:w-auto) */
  text-decoration:wavy ;
  width: 100%;
  max-width: 100%;

  /* transition-colors shadow-sm */
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(172, 3, 233, 0.071);

  /* focus:outline-none */
  outline: 2px solid transparent;
  outline-offset: 2px;

  box-sizing: border-box;
  cursor: pointer;
}

/* hover:bg-red-700 */
.youtube-btn:hover {
  background-color: #f70303;
}

/* focus:ring-2 focus:ring-offset-2 focus:ring-red-500 */
.youtube-btn:focus {
  box-shadow: 0 0 0 2px #07dc24, 0 0 0 4px #ef4444, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* SVG Layout (w-4 h-4 mr-1.5 fill-current) */
.youtube-btn svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.375rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* Responsive Breakpoint (sm:w-auto) */
@media (min-width: 640px) {
  .youtube-btn {
    width: auto;
  }
}

.Meal-link {
  margin-top: 1.5rem; /* 24px */
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem; /* 12px */
}


/* Container to constrain table width nicely on large viewports */
.table-container {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}


.recipe-content {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  /* 32px */
}

.ingredients_title {
  /* text-2xl font-bold */
  font-size: 20px;
  font-weight: 800;
  text-align: center;

  /* text-gray-900 */
  color: #000000;

  /* mb-4 (margin-bottom: 1rem) */
  margin-top: 0;
  margin-bottom: 8px;
  /* 16px */

  /* pb-2 border-b border-gray-100 */
  padding-bottom: 0.5rem;
  /* 8px */
  border-bottom: 1px solid #f3f4f6;

  /* Custom serif fallback stack if you aren't loading a custom font */
  font-family: Verdana, Geneva, Tahoma, sans-serif, Cambria, "Times New Roman", Times, serif;
}

/* .w-full border-collapse */
.Meal-ingredients {
  width: 100%;
  border-collapse: collapse;
}

/* .border-b border-gray-100 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider */
.Meal-ingredients thead tr {
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;

}

/* .pb-2 font-semibold */
.Meal-ingredients th {
  padding-bottom: 0.5rem;
  font-weight: 800;
}

/* .text-right */
.text-right {
  text-align: right;
}

/* .divide-y divide-gray-50 -> Replicated using border-top on body rows */
/* .Meal-ingredients tbody tr {
  border-top: 1px solid #0cf259;
} */

/* .py-2 text-gray-700 capitalize */
.Meal-ingredients td {
  padding-top: 2px;
  padding-bottom: 2px;
  color: #000000;
  font-weight: 800;
  text-transform: capitalize;
  text-align: left;
}

/* .text-sm font-medium text-amber-700 bg-amber-50 px-2 py-0.5 rounded inline-block w-fit */
.source-badge {
  font-size: 11px;
  font-weight: 500;
  color: #000000;
  background-color: transparent;
  text-decoration: underline;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-block;
  width: fit-content;
}

.Prep_instructions {
  /* text-transform: uppercase; */
  font-size: 11px;
  /* Makes the letter very large */
  font-weight: 600;
  float: left;
  /* Pushes the letter to the left so text wraps around it */
  /*line-height: 1;             Tightens the line spacing */
  /* padding-right: 8px;        Space between the giant letter and the text */
  color: #000000;
  /* Accent color (e.g., blue) */
  margin-bottom: 4px;
}

 .Prep_instructions::first-letter{ 
  text-transform: uppercase;
  font-size: 11px;
  /* Makes the letter very large */
  font-weight: bold;
  float: left;
  /* Pushes the letter to the left so text wraps around it */
  /*line-height: 1;             Tightens the line spacing */
  /* padding-right: 8px;        Space between the giant letter and the text */
  color: #8e06d7;
  text-decoration: solid;
  /* Accent color (e.g., blue) */
}

        /* Style the dialog backdrop */
        dialog::backdrop {
            background-color: transparent;
            /* background-color: rgba(0, 0, 0, 0.7); */
            backdrop-filter: blur(4px);
        }

        /* Style the dialog container */
        dialog {
            border: none;
            border-radius: 8px;
            padding: 20px;
            max-width: 90%;
            max-height: 90%;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .dialog-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        dialog img {
            max-width: 100%;
            max-height: 70vh;
            height: auto;
            border-radius: 4px;
        }

        .close-btn {
            padding: 8px 16px;
            background-color: #333;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .close-btn:hover {
            background-color: #555;
        }
  