@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/*
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
*/
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: system-ui, -apple-system, SF Pro Text, SF Pro Display, Segoe UI, Roboto, Helvetica, Arial, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
input::-moz-placeholder, textarea::-moz-placeholder{
  color: #6b7280;
  opacity: 1;
}
input::placeholder,textarea::placeholder{
  color: #6b7280;
  opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper{
  padding: 0;
}
::-webkit-date-and-time-value{
  min-height: 1.5em;
  text-align: inherit;
}
::-webkit-datetime-edit{
  display: inline-flex;
}
::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{
  padding-top: 0;
  padding-bottom: 0;
}
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 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
[multiple],[size]:where(select:not([size="1"])){
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}
[type='checkbox'],[type='radio']{
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}
[type='checkbox']{
  border-radius: 0px;
}
[type='radio']{
  border-radius: 100%;
}
[type='checkbox']:focus,[type='radio']:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
[type='checkbox']:checked,[type='radio']:checked{
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type='checkbox']:checked{
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
@media (forced-colors: active) {
  [type='checkbox']:checked{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='radio']:checked{
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
@media (forced-colors: active) {
  [type='radio']:checked{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{
  border-color: transparent;
  background-color: currentColor;
}
[type='checkbox']:indeterminate{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  [type='checkbox']:indeterminate{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{
  border-color: transparent;
  background-color: currentColor;
}
[type='file']{
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}
[type='file']:focus{
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
html,
  body{
  font-family: system-ui, -apple-system, SF Pro Text, SF Pro Display, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
    padding-top: 6rem; /* Reduced spacing - like before */
    background: var(--mp-bg);
}
body.meal-blank,
  .page-template-meal-blank,
  .elementor-template-canvas {
    background: var(--mp-bg) !important;
}
.\!container{
  width: 100% !important;
}
.container{
  width: 100%;
}
@media (min-width: 640px){
  .\!container{
    max-width: 640px !important;
  }
  .container{
    max-width: 640px;
  }
}
@media (min-width: 768px){
  .\!container{
    max-width: 768px !important;
  }
  .container{
    max-width: 768px;
  }
}
@media (min-width: 1024px){
  .\!container{
    max-width: 1024px !important;
  }
  .container{
    max-width: 1024px;
  }
}
@media (min-width: 1280px){
  .\!container{
    max-width: 1280px !important;
  }
  .container{
    max-width: 1280px;
  }
}
@media (min-width: 1536px){
  .\!container{
    max-width: 1536px !important;
  }
  .container{
    max-width: 1536px;
  }
}
/* Container */
.mp-container{
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* Glass Card */
.mp-glass-card{
  border-radius: 24px;
  background-color: rgb(255 255 255 / 0.9);
  padding: 1.5rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(20px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
/* Typography */
.mp-heading{
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
.mp-subheading{
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
.mp-card-heading{
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
/* Grid Layouts */
.mp-grid-2col{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 768px){
  .mp-grid-2col{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mp-admin-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px){
  .mp-admin-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px){
  .mp-admin-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Cards */
.mp-admin-card{
  border-radius: 24px;
  background-color: rgb(255 255 255 / 0.8);
  padding: 1rem;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(20px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
@media (min-width: 768px){
  .mp-admin-card.mp-full-width{
    grid-column: span 2 / span 2;
  }
}
@media (min-width: 1024px){
  .mp-admin-card.mp-full-width{
    grid-column: span 3 / span 3;
  }
}
.mp-week-card{
  border-radius: 24px;
  background-color: rgb(255 255 255 / 0.9);
  padding: 1rem;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-backdrop-blur: blur(20px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.mp-week-card.frozen{
  opacity: 0.6;
}
/* Form Elements */
.mp-field{
  margin-bottom: 1rem;
}
.mp-label{
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
.mp-input,
  .mp-select{
  width: 100%;
  border-radius: 1rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.mp-input:focus,
  .mp-select:focus{
  --tw-border-opacity: 1;
  border-color: rgb(84 122 38 / var(--tw-border-opacity, 1));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(84 122 38 / 0.2);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
/* Buttons with glass hover animation */
.mp-btn{
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.mp-btn:active{
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.mp-btn {
    position: relative;
    overflow: hidden;
  }
.mp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
  }
.mp-btn:hover::before {
    left: 100%;
  }
.mp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
.mp-btn-primary{
  --tw-bg-opacity: 1;
  background-color: rgb(84 122 38 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background: linear-gradient(135deg, #547a26, #6b8a2f);
    box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3);
}
.mp-btn-primary:hover {
    background: linear-gradient(135deg, #6b8a2f, #7a9a35);
    box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4);
  }
.mp-btn-secondary{
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(84 122 38 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(84 122 38 / var(--tw-text-opacity, 1));
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.mp-btn-secondary:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
.mp-btn-small{
  min-height: 36px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.mp-btn-danger{
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.mp-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
  }
.mp-button-group{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* Read-only week cards */
.mp-week-card.mp-readonly {
    opacity: 0.6;
    background: rgba(107, 114, 128, 0.1);
    border: 2px dashed rgba(107, 114, 128, 0.3);
  }
.mp-week-card.mp-readonly select,
  .mp-week-card.mp-readonly input {
    pointer-events: none;
    background: rgba(107, 114, 128, 0.1);
    color: rgba(107, 114, 128, 0.7);
  }
.mp-week-card.mp-readonly .mp-freeze-toggle {
    display: none;
  }
.mp-button-group-vertical{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* Actions */
.mp-actions{
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
/* Chips & Badges */
.mp-chip{
  display: inline-block;
  white-space: nowrap;
  border-radius: 9999px;
  background-color: rgb(84 122 38 / 0.1);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(84 122 38 / var(--tw-text-opacity, 1));
    min-width: -moz-fit-content;
    min-width: fit-content;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Profile */
.mp-profile{
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background-color: rgb(255 255 255 / 0.5);
  padding: 1.5rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}
.mp-profile-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
    text-align: center;
    width: 100% !important;
    justify-content: center !important;
}
/* Responsive profile chips */
@media (max-width: 768px) {
    .mp-profile-row{
    gap: 0.25rem;
  }
    
    .mp-chip{
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
      flex: 0 0 auto;
  }
  }
@media (max-width: 480px) {
    .mp-profile-row{
    gap: 0.5rem;
      flex-direction: row !important; /* Keep horizontal wrap */
      justify-content: center !important;
  }
    
    .mp-chip {
      font-size: 0.875rem !important; /* 14px */
      padding: 0.5rem 0.75rem !important;
      white-space: nowrap !important;
      flex: 0 0 auto !important;
      width: auto !important; /* Don't force full width */
    }
  }
/* Ultra-mobile: even more compact chips */
@media (max-width: 414px) {
    .mp-profile-row {
      gap: 0.375rem !important;
    }
    
    .mp-chip {
      font-size: 0.8125rem !important; /* 13px */
      padding: 0.375rem 0.625rem !important;
    }
  }
/* Two-tier header layout for mobile */
.mp-profile-tier-a,
.mp-profile-tier-b,
.mp-profile-tier-c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0.75rem;
}
.mp-profile-tier-a {
  gap: 0.5rem;
}
.mp-profile-tier-c {
  gap: 0.5rem;
}
/* Compact chips for Tier A */
.mp-chip-compact {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}
/* Mini chips for Tier C (dates) */
/* Delivery schedule pill - full width */
.mp-delivery-schedule-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.1), rgba(107, 138, 47, 0.08));
  border: 2px solid rgba(84, 122, 38, 0.25);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.mp-schedule-text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
  text-align: center;
  /* Allow wrapping to 2 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-schedule-view-full {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(84, 122, 38, 0.15);
  border: 1px solid rgba(84, 122, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.mp-schedule-view-full:hover {
  background: rgba(84, 122, 38, 0.25);
  transform: scale(1.1);
}
.mp-schedule-view-full svg {
  color: #547a26;
}
/* Remaining days chip color */
.mp-chip-remaining {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1)) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
  font-weight: 700 !important;
}
/* Mobile-specific date chips layout */
@media (max-width: 414px) {
  .mp-profile-tier-c {
    margin-top: 0.75rem !important;
  }
  
  .mp-dates-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.5rem 0 !important;
    padding: 0.75rem 1rem !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05)) !important;
    border: 2px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15) !important;
  }
  
  .mp-dates-text {
    flex: 1 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #7c3aed !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-break: break-word !important;
  }
  
  .mp-dates-view-full {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(139, 92, 246, 0.15) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }
  
  .mp-dates-view-full svg {
    color: #7c3aed !important;
    width: 12px !important;
    height: 12px !important;
  }
  
  .mp-dates-view-full:hover,
  .mp-dates-view-full:active {
    background: rgba(139, 92, 246, 0.25) !important;
    transform: scale(1.1) !important;
  }
}
/* Mobile optimizations for header */
@media (max-width: 414px) {
  .mp-profile-tier-a {
    justify-content: center !important;
    gap: 0.375rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 1rem !important;
  }
  
  .mp-chip-compact {
    font-size: 0.8125rem !important; /* 13px */
    padding: 0.375rem 0.625rem !important;
    flex: 0 0 auto !important;
    min-width: -moz-fit-content !important;
    min-width: fit-content !important;
  }
  
  /* Ensure delivery schedule pill is full width on mobile */
  .mp-delivery-schedule-pill {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.5rem 0 !important;
    padding: 0.75rem 1rem !important;
  }
  
  .mp-schedule-text {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
  
  .mp-schedule-view-full {
    width: 24px !important;
    height: 24px !important;
  }
  
  /* Overall meal week page mobile improvements */
  .mp-week-header {
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .mp-week-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .mp-week-description {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
  }
  
  /* Mobile full-width background for all pages - only left/right edges */
  .mp-onboarding-root,
  #mp-profile-page,
  #mp-week-page {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem !important; /* Add top margin for spacing from logo */
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  
  /* Ensure white background extends to left/right edges only */
  .mp-onboarding-root .mp-container,
  #mp-profile-page,
  #mp-week-page {
    background: white !important;
  }
  
  /* Add internal padding for content - preserve top/bottom spacing */
  .mp-onboarding-root .mp-container {
    margin: 0 !important;
    padding: 1rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
  
  .mp-onboarding-root .mp-glass-card {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  
  #mp-profile-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  #mp-profile-page > * {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  
  #mp-week-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  #mp-week-page > * {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  
  /* Mobile navigation button fixes - ensure perfect roundness */
  .mp-slider-nav-btn,
  .mp-week-slider-nav-btn {
    border-radius: 50px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Mobile slider dots - ensure perfect circles */
  .mp-slider-dot,
  .mp-week-slider-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
  
  /* Mobile pagination buttons - ensure roundness */
  .mp-slider-prev,
  .mp-slider-next,
  .mp-week-slider-prev,
  .mp-week-slider-next {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 1rem !important;
  }
  
  .mp-slider-prev svg,
  .mp-slider-next svg,
  .mp-week-slider-prev svg,
  .mp-week-slider-next svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  /* Ensure body and html don't interfere with full-width background - preserve top/bottom spacing */
  body,
  html {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }
  
  /* Add top padding for logo clearance on mobile */
  body {
    padding-top: calc(5.5rem + env(safe-area-inset-top, 0px)) !important;
  }
  
  /* Override any theme margins/padding that might create gaps - preserve top/bottom */
  .elementor-page .elementor-container,
  .elementor-page .elementor-section,
  .wp-site-blocks,
  .wp-block-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }
  
  /* Mobile nutrition card improvements */
  .mp-nutrition-highlight {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
  
  .mp-nutrition-highlight .mp-nutrition-label {
    flex: 0 0 auto !important;
    margin-right: 0.5rem !important;
  }
  
  .mp-nutrition-highlight .mp-nutrition-value {
    flex: 0 0 auto !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  
  .mp-nutrition-unit {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-left: 0.25rem !important;
  }
  
  .mp-schedule-view-full svg {
    width: 12px !important;
    height: 12px !important;
    }
  }
/* Messages & Toasts */
.mp-msg{
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
.mp-toast{
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
    opacity: 0;
}
/* Mobile toast - tiny, centered, and perfectly padded */
@media (max-width: 768px) {
    .mp-toast{
    position: fixed;
    bottom: 1rem;
    left: 50%;
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
      max-width: calc(100vw - 2rem);
      width: auto;
      min-width: 200px;
      text-align: center;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      font-weight: 500;
      line-height: 1.3;
  }
  }
/* Ultra-mobile (small phones) - even smaller */
@media (max-width: 480px) {
    .mp-toast{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 0.75rem;
    line-height: 1rem;
      max-width: calc(100vw - 1rem);
      min-width: 150px;
      border-radius: 8px;
      font-size: 11px;
      line-height: 1.2;
  }
  }
/* Extra small phones */
@media (max-width: 360px) {
    .mp-toast{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
      max-width: calc(100vw - 0.5rem);
      min-width: 120px;
      border-radius: 6px;
      font-size: 10px;
      line-height: 1.1;
  }
  }
.mp-toast.opacity-100 {
    opacity: 1;
  }
/* Toast content styling for mobile */
@media (max-width: 768px) {
    .mp-toast .mp-toast-content{
    text-align: center;
      word-wrap: break-word;
      hyphens: auto;
  }
    
    .mp-toast .mp-toast-icon{
    margin-right: 0.25rem;
    height: 0.75rem;
    width: 0.75rem;
  }
    
    .mp-toast .mp-toast-message{
    font-size: 0.75rem;
    line-height: 1rem;
    line-height: 1.25;
  }
  }
/* Ensure toasts don't interfere with mobile navigation */
@media (max-width: 768px) {
    .mp-toast {
      z-index: 9999;
      pointer-events: auto;
    }
    
    /* Adjust for mobile safe areas */
    .mp-toast {
      bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    }
  }
/* Mobile-specific toast type styling */
.mp-toast:empty{
  display: none;
}
.mp-logo-container.mp-toast:empty {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.mp-toast:empty {
  display: none;
}
.mp-logo-container.mp-toast:empty {
  opacity: 0;
  transform: translateY(-100%);
    pointer-events: none;
}
.mp-status{
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
/* Tables */
.mp-table-container{
  overflow-x: auto;
  border-radius: 1rem;
}
.mp-table{
  width: 100%;
  border-collapse: collapse;
}
.mp-table th{
  border-bottom-width: 2px;
  border-color: rgb(84 122 38 / 0.2);
  background-color: rgb(84 122 38 / 0.1);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: left;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(28 28 28 / var(--tw-text-opacity, 1));
}
.mp-table td{
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.mp-table tbody tr:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
/* Lists */
.mp-log-list{
  margin-bottom: 0.75rem;
  max-height: 20rem;
}
.mp-log-list > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.mp-log-list{
  overflow-y: auto;
}
.mp-log-item{
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.mp-drivers-list{
  margin-bottom: 0.75rem;
}
.mp-drivers-list > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.mp-driver-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
}
/* Kitchen */
.mp-kitchen-controls{
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}
/* Counters */
/* Sections */
.mp-section > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
/* Freeze toggle */
.mp-freeze-toggle{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
/* Responsive utilities */
@media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
.pointer-events-none{
  pointer-events: none;
}
.pointer-events-auto{
  pointer-events: auto;
}
.visible{
  visibility: visible;
}
.collapse{
  visibility: collapse;
}
.static{
  position: static;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.bottom-0{
  bottom: 0px;
}
.z-10{
  z-index: 10;
}
.block{
  display: block;
}
.inline-block{
  display: inline-block;
}
.inline{
  display: inline;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.table{
  display: table;
}
.\!grid{
  display: grid !important;
}
.grid{
  display: grid;
}
.contents{
  display: contents;
}
.hidden{
  display: none;
}
.aspect-auto{
  aspect-ratio: auto;
}
.aspect-square{
  aspect-ratio: 1 / 1;
}
.h-10{
  height: 2.5rem;
}
.h-11{
  height: 2.75rem;
}
.h-12{
  height: 3rem;
}
.max-h-11{
  max-height: 2.75rem;
}
.max-h-12{
  max-height: 3rem;
}
.max-h-14{
  max-height: 3.5rem;
}
.max-h-16{
  max-height: 4rem;
}
.w-11{
  width: 2.75rem;
}
.w-12{
  width: 3rem;
}
.w-14{
  width: 3.5rem;
}
.w-16{
  width: 4rem;
}
.w-full{
  width: 100%;
}
.min-w-0{
  min-width: 0px;
}
.min-w-full{
  min-width: 100%;
}
.max-w-full{
  max-width: 100%;
}
.flex-shrink{
  flex-shrink: 1;
}
.flex-shrink-0{
  flex-shrink: 0;
}
.border-collapse{
  border-collapse: collapse;
}
.translate-x-0{
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-0{
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-1{
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-2{
  --tw-translate-y: 0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-8{
  --tw-translate-y: 2rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-100{
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.scale-95{
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize{
  resize: both;
}
.snap-x{
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
}
.snap-mandatory{
  --tw-scroll-snap-strictness: mandatory;
}
.snap-start{
  scroll-snap-align: start;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6{
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid-cols-7{
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.flex-row{
  flex-direction: row;
}
.flex-wrap{
  flex-wrap: wrap;
}
.flex-nowrap{
  flex-wrap: nowrap;
}
.gap-1{
  gap: 0.25rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.overflow-hidden{
  overflow: hidden;
}
.overflow-x-auto{
  overflow-x: auto;
}
.overflow-y-hidden{
  overflow-y: hidden;
}
.scroll-smooth{
  scroll-behavior: smooth;
}
.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis{
  text-overflow: ellipsis;
}
.whitespace-nowrap{
  white-space: nowrap;
}
.border{
  border-width: 1px;
}
.border-gray-200{
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-green-200{
  --tw-border-opacity: 1;
  border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
}
.bg-gray-100{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-50{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-green-100{
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-green-50{
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.object-contain{
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover{
  -o-object-fit: cover;
     object-fit: cover;
}
.object-center{
  -o-object-position: center;
     object-position: center;
}
.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium{
  font-weight: 500;
}
.uppercase{
  text-transform: uppercase;
}
.italic{
  font-style: italic;
}
.text-gray-600{
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700{
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800{
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-green-600{
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-green-700{
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / var(--tw-text-opacity, 1));
}
.opacity-100{
  opacity: 1;
}
.opacity-60{
  opacity: 0.6;
}
.shadow-lg{
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.ring-2{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-offset-2{
  --tw-ring-offset-width: 2px;
}
.blur{
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur{
  --tw-backdrop-blur: blur(8px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-md{
  --tw-backdrop-blur: blur(12px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-sm{
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity{
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform{
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-100{
  transition-duration: 100ms;
}
.duration-150{
  transition-duration: 150ms;
}
.duration-200{
  transition-duration: 200ms;
}
.duration-300{
  transition-duration: 300ms;
}
.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out{
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
/* Simple Meal Management Form */
.mp-simple-form {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(84, 122, 38, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mp-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .mp-form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
.mp-form-group {
    display: flex;
    flex-direction: column;
}
.mp-form-group.mp-full-width {
    grid-column: span 3;
}
@media (max-width: 768px) {
    .mp-form-group.mp-full-width {
        grid-column: span 1;
    }
}
.mp-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
/* Keep horizontal on all screen sizes for onboarding */
.mp-onboarding-root .mp-form-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    margin: 0 -1.5rem -1.5rem;
    border-top: 1px solid #e2e8f0;
    z-index: 10;
    /* iOS safe area */
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
.mp-onboarding-root .mp-form-actions button {
    flex: 1 1 0%;
    min-width: 0;
    max-width: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--btn-gap) !important;
    font-size: 1rem !important;           /* Larger text: 16px */
    padding: var(--btn-pad-y) var(--btn-pad-x) !important; /* More padding */
    height: 52px !important;              /* Larger touch target */
    min-height: 52px !important;
    font-weight: 600 !important;          /* Bolder */
    line-height: 1 !important;
    border-radius: 14px !important;       /* Slightly rounder */
    letter-spacing: 0.01em;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.mp-onboarding-root .mp-form-actions button svg,
.mp-onboarding-root .mp-form-actions button img,
.mp-onboarding-root .mp-form-actions button i {
    width: var(--btn-icon) !important;
    height: var(--btn-icon) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}
.mp-onboarding-root .mp-form-actions button span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
@media (max-width: 768px) {
    .mp-form-actions:not(.mp-onboarding-root .mp-form-actions) {
        flex-direction: column;
        gap: 0.5rem;
    }
}
@media (max-width: 390px) {
    .mp-onboarding-root .mp-form-actions {
        gap: 0.5rem !important;
        padding: 0.75rem 0.5rem !important;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 -1rem -1rem;
    }
    
    .mp-onboarding-root .mp-form-actions button {
        font-size: 0.8125rem !important; /* 13px */
        padding: var(--btn-pad-y) var(--btn-pad-x) !important;
        height: 48px !important;
        min-height: 48px !important;
        min-width: 0 !important;
    }
}
.mp-day-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 600px;
    display: flex;
    flex-direction: column;
}
.mp-day-header {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
    padding: 0.75rem;
    background: rgba(84, 122, 38, 0.1);
    border: 2px solid rgba(84, 122, 38, 0.3);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.mp-meal-type-section {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.mp-meal-type-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(84, 122, 38, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(84, 122, 38, 0.2);
}
.mp-meal-list {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}
.mp-meal-list .no-meals {
    color: #000000;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px dashed rgba(0, 0, 0, 0.3);
}
.mp-meal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mp-meal-item:last-child {
    margin-bottom: 0;
}
.mp-meal-name {
    flex: 1;
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
}
.mp-meal-name strong {
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
}
.mp-meal-name small {
    color: #374151;
    font-size: 0.8rem;
    opacity: 0.9;
}
.mp-meal-actions {
    display: flex;
    gap: 0.5rem;
}
.mp-btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}
.mp-btn-danger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.8));
    border: 1px solid rgba(220, 38, 38, 0.6);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}
.mp-btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
.mp-btn-danger:hover::before {
    left: 100%;
}
.mp-btn-danger:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 1), rgba(185, 28, 28, 1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}
.mp-add-meal-btn {
    width: 100%;
    margin-top: 0.5rem;
    background: rgba(34, 197, 94, 0.8);
    border: 1px solid rgba(34, 197, 94, 0.6);
}
.mp-add-meal-btn:hover {
    background: rgba(34, 197, 94, 1);
}
.mp-meal-form {
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(84, 122, 38, 0.3);
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mp-meal-form.show {
    display: block;
}
.mp-form-group {
    margin-bottom: 1rem;
}
.mp-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
}
.mp-form-group input,
.mp-form-group select,
.mp-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #000000;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
}
.mp-form-group input:focus,
.mp-form-group select:focus,
.mp-form-group textarea:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.mp-form-group input::-moz-placeholder, .mp-form-group textarea::-moz-placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}
.mp-form-group input::placeholder,
.mp-form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-style: italic;
}
.mp-form-group select option {
    background: #ffffff;
    color: #000000;
}
/* Duplicate removed - using the first definition */
.mp-save-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mp-btn-secondary {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.8), rgba(75, 85, 99, 0.8));
    border: 1px solid rgba(107, 114, 128, 0.6);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.mp-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
.mp-btn-secondary:hover::before {
    left: 100%;
}
.mp-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 1), rgba(75, 85, 99, 1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/* Auth Page Styles - Clean Minimalist Design */
.mp-auth-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}
.mp-auth-toggle .mp-btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mp-auth-form {
    max-width: 400px;
    margin: 0 auto;
}
/* Center the welcome text */
#mp-auth .mp-heading {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}
/* Make the glass card smaller and more centered */
#mp-auth .mp-glass-card {
    max-width: 500px;
    margin: 2rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* Clean field styling */
#mp-auth .mp-field {
    margin-bottom: 1.5rem;
}
#mp-auth .mp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #718096;
    margin-bottom: 0.5rem;
}
#mp-auth .mp-input {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    font-size: 1rem;
    color: #2d3748;
    transition: border-color 0.3s ease;
}
#mp-auth .mp-input:focus {
    outline: none;
    border-bottom-color: #f6ad55;
}
#mp-auth .mp-input::-moz-placeholder {
    color: #a0aec0;
}
#mp-auth .mp-input::placeholder {
    color: #a0aec0;
}
/* Password field styling */
#mp-auth .mp-password-field {
    position: relative;
}
#mp-auth .mp-password-field .mp-input {
    padding-right: 4rem;
}
#mp-auth .mp-password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0;
    text-transform: none;
}
#mp-auth .mp-password-toggle:hover {
    color: #1557b0;
}
/* Button styling */
#mp-auth .mp-btn-primary {
    background: linear-gradient(135deg, #547a26, #6b8a2f);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3);
}
#mp-auth .mp-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
#mp-auth .mp-btn-primary:hover::before {
    left: 100%;
}
#mp-auth .mp-btn-primary:hover {
    background: linear-gradient(135deg, #6b8a2f, #7a9a35);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4);
}
/* Form actions */
#mp-auth .mp-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    clear: both;
}
#mp-auth .mp-forgot-link {
    color: #2d3748;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}
#mp-auth .mp-forgot-link:hover {
    text-decoration: underline;
}
.mp-password-field {
    position: relative;
    display: flex;
    align-items: center;
}
.mp-password-field .mp-input {
    flex: 1;
    padding-right: 3rem; /* Make space for the icon */
}
.mp-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: #1a73e8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    z-index: 10;
    text-transform: none;
}
.mp-password-toggle:hover {
    color: #1557b0;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 4px;
}
.mp-password-toggle:focus {
    outline: none;
    color: #1557b0;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 4px;
}
/* Override labels and inputs for meal management page */
#mp-meal-management .mp-label {
    color: #000000 !important;
}
#mp-meal-management .mp-input,
#mp-meal-management .mp-select {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}
#mp-meal-management .mp-input::-moz-placeholder, #mp-meal-management .mp-select::-moz-placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}
#mp-meal-management .mp-input::placeholder,
#mp-meal-management .mp-select::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}
#mp-meal-management .mp-input option,
#mp-meal-management .mp-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}
/* Smaller buttons for meal management page */
#mp-meal-management .mp-btn-large {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
}
/* Smaller buttons for week actions - DISABLED, using uniform sizing */
/* .mp-actions .mp-btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
} */
/* Search suggestions dropdown */
.mp-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}
.mp-search-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}
.mp-search-suggestion:hover {
    background-color: #f9fafb;
}
.mp-search-suggestion:last-child {
    border-bottom: none;
}
.mp-search-suggestion-highlight {
    background-color: #fef3c7;
    font-weight: 500;
}
.mp-search-suggestion-name {
    font-weight: 500;
    color: #1f2937;
}
.mp-search-suggestion-details {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
/* Logo positioning for all pages */
.mp-logo-container {
  position: fixed;
  top: 3rem;
  left: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(30px) !important;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
/* Hide logo when scrolling down */
.mp-logo-container.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.hidden {
  display: none !important;
}
.mp-logo-container:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.mp-logo {
  max-width: 60px;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 546; /* Preserve logo aspect ratio */
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  border-radius: 8px;
  display: block;
}
.mp-logo-text {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  letter-spacing: 0.5px;
  line-height: 1.2;
    white-space: nowrap;
}
/* Admin Panel Button Overrides */
.mp-admin-card .mp-btn {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
.mp-admin-card .mp-btn:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.mp-admin-card .mp-btn:hover:before {
  left: 100% !important;
}
.mp-admin-card .mp-btn:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
/* Authentication Button Fixes */
#mp-auth .mp-btn-primary {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
#mp-auth .mp-btn-primary:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
#mp-auth .mp-btn-primary:hover:before {
  left: 100% !important;
}
#mp-auth .mp-btn-primary:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
#mp-auth .mp-btn-secondary {
  border: 2px solid #547a26 !important;
  color: #547a26 !important;
  background: linear-gradient(135deg, #fff, #f8f9fa) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
}
#mp-auth .mp-btn-secondary:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(84, 122, 38, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
#mp-auth .mp-btn-secondary:hover:before {
  left: 100% !important;
}
#mp-auth .mp-btn-secondary:hover {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
/* Search Button Fixes */
.mp-search-btn {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9rem !important;
  min-height: 40px !important;
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
}
.mp-search-btn:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.mp-search-btn:hover:before {
  left: 100% !important;
}
.mp-search-btn:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
/* Responsive logo sizing */
@media (max-width: 768px) {
  .mp-logo-container {
    top: 2rem;
    left: 0.5rem;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    }
    
  .mp-logo {
    max-width: 50px;
    }
    
  .mp-logo-text {
    font-size: 0.875rem;
    }
    
  /* Adjust body padding for mobile */
  html,
  body {
    padding-top: 4rem;
    }
}
/* Admin Slider Styles */
.mp-admin-slider-container {
    margin-top: 2rem;
    overflow: hidden;
}
.mp-slider-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mp-slider-nav::-webkit-scrollbar {
    display: none;
}
.mp-slider-nav-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: -moz-fit-content;
    min-width: fit-content;
}
.mp-slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mp-slider-nav-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.mp-slider-track {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.mp-slider-slide {
    display: none;
    animation: slideIn 0.3s ease-in-out;
}
.mp-slider-slide.active {
    display: block;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.mp-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
}
.mp-slider-prev,
.mp-slider-next {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.mp-slider-prev:hover,
.mp-slider-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mp-slider-dots {
    display: flex;
    gap: 0.5rem;
}
.mp-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.mp-slider-dot.active {
    background: #667eea;
    transform: scale(1.2);
}
.mp-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
/* Touch/Swipe Support */
/* Responsive Design */
@media (max-width: 768px) {
    .mp-slider-nav {
        gap: 0.25rem;
        padding: 0.25rem 0;
    }
    
    .mp-slider-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .mp-slider-controls {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .mp-slider-prev,
    .mp-slider-next {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 1rem;
        padding: 0;
    }
    
    .mp-slider-dot {
        width: 10px;
        height: 10px;
    }
}
@media (max-width: 480px) {
    .mp-slider-nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .mp-slider-prev,
    .mp-slider-next {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 0.9rem;
        padding: 0;
    }
}
/* Driver actions styling */
.mp-driver-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
/* Driver item styling */
.mp-driver-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.mp-driver-content {
    flex: 1;
}
.mp-driver-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.mp-driver-details {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}
.mp-driver-schedule {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}
/* Driver edit inputs */
.mp-driver-edit {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 0.25rem;
}
/* Client Database Styling */
.mp-clients-list {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 1rem;
}
.mp-client-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}
.mp-client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}
.mp-client-info {
    flex: 1;
}
.mp-client-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
}
.mp-client-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2d3748;
}
.mp-client-id {
    font-size: 0.8rem;
    color: #666;
    background: #f7fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
.mp-client-registered {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
    margin-top: 0.25rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}
.mp-client-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    font-size: 0.9rem;
}
.mp-client-detail {
    display: flex;
    flex-direction: column;
}
.mp-client-detail-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
.mp-client-detail-value {
    color: #2d3748;
    word-break: break-all;
}
.mp-client-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
:root {
  --mp-bg: #cdd3ac;
  --mp-primary: #547a26;
  --mp-text: #1c1c1c;
  
  /* Button design tokens */
  --btn-gap: 6px;           /* icon↔text gap */
  --btn-icon: 16px;         /* uniform icon size */
  --btn-pad-x: 16px;        /* horizontal padding */
  --btn-pad-y: 12px;        /* vertical padding */
  --btn-radius: 12px;       /* border radius */
  --btn-font: 15px;         /* font size */
  --btn-height: 48px;       /* minimum height */
}
@media (max-width: 414px) {
  :root {
    --btn-gap: 4px;         /* Tighter on small phones */
    --btn-pad-x: 12px;
    --btn-font: 14px;
  }
}
/* Duplicate removed - using the first definition */
/* Hide logo when scrolling down */
.mp-logo-container.hidden {
  opacity: 0;
  transform: translateY(-100%);
    pointer-events: none;
}
.mp-logo-container:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
/* Duplicate .mp-logo and .mp-logo-text definitions removed - see lines 692-707 */
/* ========================================
   Universal Button Centering & Icon Sizing
   ======================================== */
/* Apply to all plugin buttons (except those with more specific rules) */
.mp-btn:not(.mp-onboarding-root .mp-btn):not(.mp-onboarding-root .mp-tab):not(.mp-onboarding-root .mp-form-actions button),
.mp-week-slider-nav-btn,
.mp-slider-nav-btn,
.mp-action-btn,
.mp-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--btn-gap) !important;
  padding: var(--btn-pad-y) var(--btn-pad-x) !important;
  min-height: var(--btn-height) !important;
  font-size: var(--btn-font) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  border-radius: var(--btn-radius) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative;
}
/* Standardize all button icons (except onboarding which has specific rules) */
.mp-btn:not(.mp-onboarding-root .mp-btn):not(.mp-onboarding-root .mp-tab) svg,
.mp-week-slider-nav-btn svg,
.mp-slider-nav-btn svg,
.mp-action-btn svg,
.mp-share-btn svg {
  width: var(--btn-icon) !important;
  height: var(--btn-icon) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  }
/* Ensure text labels are centered (except onboarding) */
.mp-btn:not(.mp-onboarding-root .mp-btn):not(.mp-onboarding-root .mp-tab) span,
.mp-week-slider-nav-btn span,
.mp-slider-nav-btn span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
.mp-readonly-chip {
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: #eef2ff;
  color: #4338ca;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
/* Focus states - no layout shift */
.mp-btn:focus-visible,
.mp-tab:focus-visible,
.mp-week-slider-nav-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(84, 122, 38, 0.3) !important;
}
/* Start Date Input Styling */
#start_date {
  max-width: 300px;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  transition: all 0.2s ease;
}
#start_date:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}
/* Onboarding Form Spacing */
.mp-section {
  margin-bottom: 1.5rem;
}
.mp-section:last-child {
  margin-bottom: 0;
}
/* Submit Button Spacing */
.mp-btn-large {
  margin-top: 1rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}
/* Meal Management Buttons Styling */
.mp-admin-card .mp-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 280px;
}
.mp-admin-card .mp-btn:last-child {
  margin-bottom: 0;
}
/* Specific styling for meal management buttons */
#btn_meal_management {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
  font-weight: 500;
}
#btn_clear_menu {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  color: white;
  font-weight: 500;
}
/* Hover effects for meal management buttons */
#btn_meal_management:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
#btn_clear_menu:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
/* Meals Table Styling */
.mp-table-container {
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-top: 1rem;
  max-height: 500px;
  background: white;
}
.mp-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.875rem;
}
.mp-table th {
  background: #f9fafb;
  padding: 0.75rem 0.5rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}
.mp-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  color: #374151;
}
.mp-table tbody tr:hover {
  background: #f9fafb;
}
.mp-table-empty {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 2rem;
}
/* Table Actions */
.mp-table-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.mp-btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mp-btn-edit {
  background: #547a26;
  color: white;
}
.mp-btn-edit:hover {
  background: #6b8a2f;
}
.mp-btn-delete {
  background: #ef4444;
  color: white;
}
.mp-btn-delete:hover {
  background: #dc2626;
}
/* Table Filters */
.mp-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}
.mp-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
/* Mobile adjustments for start date */
@media (max-width: 768px) {
  #start_date {
    max-width: 100%;
  }
  
  .mp-admin-card .mp-btn {
    max-width: 100%;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .mp-form-row {
    grid-template-columns: 1fr;
  }
  
  .mp-table {
    font-size: 0.75rem;
  }
  
  .mp-table th,
  .mp-table td {
    padding: 0.5rem 0.25rem;
  }
  
    .mp-table-container {
      max-height: 400px;
    }
  }
/* Profile Page Scoped Styles - Prevent theme conflicts */
#mp-profile-page {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
}
@media (max-width: 768px) {
  #mp-profile-page {
    padding: 1.75rem 2rem;
  }
}
@media (max-width: 480px) {
  #mp-profile-page {
    padding: 1rem 1.25rem;
  }
}
/* Normalize headings inside profile page */
#mp-profile-page h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}
#mp-profile-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}
#mp-profile-page h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  line-height: 1.4;
}
#mp-profile-page p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
#mp-profile-page small {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.4;
}
/* Profile Header Card */
.mp-profile-header {
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.1), rgba(107, 138, 47, 0.05));
  border: 2px solid rgba(84, 122, 38, 0.2);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .mp-profile-header {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
.mp-profile-avatar-section {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.mp-profile-avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.mp-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mp-profile-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.mp-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.mp-avatar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
}
.mp-avatar-edit-btn,
.mp-avatar-save-btn,
.mp-avatar-cancel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mp-avatar-edit-btn {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #fff;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}
.mp-avatar-save-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.mp-avatar-cancel-btn {
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
.mp-avatar-edit-btn:hover:not([disabled]),
.mp-avatar-save-btn:hover:not([disabled]),
.mp-avatar-cancel-btn:hover:not([disabled]) {
  transform: translateY(-1px);
}
.mp-avatar-edit-btn[disabled],
.mp-avatar-save-btn[disabled],
.mp-avatar-cancel-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .mp-profile-avatar-wrapper {
    align-items: center;
  }
  .mp-avatar-actions {
    flex-direction: column;
    width: 100%;
  }
  .mp-avatar-actions button {
    width: 100%;
    justify-content: center;
  }
}
/* Profile page - saved weeks read-only summary */
.mp-week-summary {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 250, 251, 0.85));
  border: 2px solid rgba(84, 122, 38, 0.15);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(84, 122, 38, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.mp-week-summary .mp-card-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.08), rgba(84, 122, 38, 0.03));
  border-bottom: 1px solid rgba(84, 122, 38, 0.1);
  margin: 0;
  transition: background 0.2s ease;
}
.mp-week-summary .mp-card-header:hover {
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.12), rgba(84, 122, 38, 0.05));
}
.mp-week-summary .mp-card-header h2 {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 1.125rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.mp-week-summary .expand-icon {
  transition: transform 0.3s ease;
}
.mp-week-summary.collapsed .expand-icon {
  transform: rotate(0deg);
}
.mp-week-summary:not(.collapsed) .expand-icon {
  transform: rotate(180deg);
}
.mp-week-summary-body {
  position: relative;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mp-week-summary:not(.collapsed) .mp-week-summary-body {
  max-height: 2000px;
}
.mp-week-summary-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.98) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.mp-week-summary:not(.collapsed) .mp-week-summary-fade {
  opacity: 0;
}
.mp-week-summary-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}
.mp-week-summary-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mp-week-summary-column {
  min-width: 0;
}
.mp-week-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
.mp-week-summary-card {
  border: 1.5px solid rgba(84, 122, 38, 0.12);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.mp-week-summary-card:hover {
  box-shadow: 0 4px 16px rgba(84, 122, 38, 0.12);
  transform: translateY(-1px);
}
.mp-week-summary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}
.mp-week-summary-date {
  font-weight: 700;
  color: #111827;
  font-size: 0.95rem;
}
.mp-week-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.mp-week-summary-chip.mp-chip-frozen {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #dc2626;
}
.mp-week-summary-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
}
.mp-week-summary-list li {
  margin-bottom: 0.25rem;
}
.mp-week-summary-empty {
  color: #9ca3af;
  font-size: 0.875rem;
  font-style: italic;
}
@media (max-width: 768px) {
  .mp-week-summary-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .mp-week-summary-body {
    max-height: 180px;
  }
  
  .mp-week-summary:not(.collapsed) .mp-week-summary-body {
    max-height: 3000px;
  }
}
.mp-profile-info {
  flex: 1;
}
.mp-profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.mp-profile-email {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.mp-status-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.mp-profile-actions {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .mp-profile-actions {
    width: 100%;
  }
  
  .mp-profile-actions .mp-btn {
    flex: 1;
  }
}
/* Plan Details Card */
.mp-plan-details-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .mp-plan-details-card {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .mp-plan-details-card {
    padding: 1.25rem;
  }
}
.mp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}
.mp-card-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
}
.mp-plan-content {
  padding: 0;
}
.mp-plan-grid {
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .mp-plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 640px) {
  .mp-plan-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
}
.mp-plan-item {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.mp-plan-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .mp-plan-item {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .mp-plan-item {
    padding: 0.875rem;
  }
}
.mp-plan-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.mp-plan-value {
  font-size: 1.125rem;
    font-weight: 600;
  color: #1e293b;
}
.mp-plan-status {
  display: flex;
  gap: 0.5rem;
}
.mp-status-indicator {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
/* Delivery Information Card */
.mp-delivery-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .mp-delivery-card {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .mp-delivery-card {
    padding: 1.25rem;
  }
}
.mp-delivery-content {
  display: grid;
  gap: 1rem;
}
.mp-delivery-value-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mp-delivery-value {
  flex: 1;
  word-break: break-word;
}
/* Info button for referral rules */
.mp-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}
.mp-info-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
  transform: scale(1.05);
}
.mp-info-btn:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}
/* Notes Section */
.mp-notes-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
.mp-notes-content {
  margin-top: 1rem;
}
.mp-notes-text {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
  white-space: pre-wrap;
  word-break: break-word;
}
.mp-delivery-item {
    display: flex;
    flex-direction: column;
  gap: 0.375rem;
}
.mp-delivery-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}
.mp-delivery-value {
  font-size: 1rem;
  color: #1e293b;
}
.mp-delivery-actions {
  display: flex;
  gap: 0.5rem;
}
/* Invite & Earn Card */
.mp-invite-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .mp-invite-card {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .mp-invite-card {
    padding: 1.25rem;
  }
}
.mp-invite-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .mp-invite-stats {
    grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
  }
    }
@media (max-width: 480px) {
  .mp-invite-stats {
    grid-template-columns: 1fr;
        gap: 0.5rem;
  }
}
.mp-stat-mini {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e2e8f0;
}
@media (max-width: 480px) {
  .mp-stat-mini {
    padding: 0.75rem;
  }
}
.mp-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.mp-stat-label {
  display: block;
        font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* ========================================
   Invite & Earn Card - Scoped Styles
   ======================================== */
#mp-profile-page .mp-referral-card {
  padding: 24px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
}
#mp-profile-page .mp-referral-card .mp-card-header {
    display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #e5e7eb !important;
}
#mp-profile-page .mp-referral-stats-mini {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
}
#mp-profile-page .mp-stat-mini {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 12px 16px !important;
  background: rgba(248, 250, 252, 0.8) !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  min-width: 90px !important;
}
#mp-profile-page .mp-stat-mini .mp-stat-value {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}
#mp-profile-page .mp-stat-mini .mp-stat-label {
  font-size: 0.75rem !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
}
#mp-profile-page .mp-referral-explainer {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}
#mp-profile-page .mp-explainer-item {
  display: flex !important;
  flex-direction: column !important;
  padding: 16px !important;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  text-align: center !important;
}
#mp-profile-page .mp-explainer-icon {
  font-size: 2rem !important;
  margin-bottom: 8px !important;
  display: block !important;
}
#mp-profile-page .mp-explainer-item strong {
    display: block !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 4px !important;
}
#mp-profile-page .mp-explainer-item p {
  font-size: 0.75rem !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
#mp-profile-page .mp-invite-code-section {
  margin-bottom: 20px !important;
}
#mp-profile-page .mp-invite-code-display {
    display: flex !important;
    align-items: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
  min-height: 48px !important;
}
#mp-profile-page .mp-invite-code {
  flex: 1 !important;
  font-size: 1.25rem !important;
    font-weight: 700 !important;
  color: white !important;
  text-align: center !important;
  font-family: 'Courier New', monospace !important;
  letter-spacing: 3px !important;
  line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-height: unset !important;
}
#mp-profile-page .mp-btn-copy {
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #10b981 !important;
  border: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  height: auto !important;
  min-height: unset !important;
}
#mp-profile-page .mp-btn-copy:hover {
  background: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
#mp-profile-page .mp-invite-code-section small {
  display: block !important;
  margin-top: 8px !important;
  font-size: 0.75rem !important;
  color: #6b7280 !important;
  text-align: center !important;
}
#mp-profile-page .mp-share-section {
  margin-top: 20px !important;
}
#mp-profile-page .mp-share-section > p {
  font-weight: 600 !important;
  color: #374151 !important;
  margin-bottom: 12px !important;
  font-size: 0.875rem !important;
}
#mp-profile-page .mp-share-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}
#mp-profile-page .mp-share-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
    cursor: pointer !important;
  transition: all 0.2s ease !important;
  background: white !important;
  min-height: 48px !important;
}
#mp-profile-page .mp-share-whatsapp {
  border: 2px solid #10b981 !important;
  color: #10b981 !important;
}
#mp-profile-page .mp-share-whatsapp:hover {
  background: #10b981 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}
#mp-profile-page .mp-share-email {
  border: 2px solid #547a26 !important;
  color: #547a26 !important;
}
#mp-profile-page .mp-share-email:hover {
    background: #547a26 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.3) !important;
}
#mp-profile-page .mp-share-link {
  border: 2px solid #6b7280 !important;
  color: #6b7280 !important;
}
#mp-profile-page .mp-share-link:hover {
  background: #6b7280 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
  #mp-profile-page .mp-referral-card {
    padding: 20px !important;
  }
  
  #mp-profile-page .mp-referral-stats-mini {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  #mp-profile-page .mp-referral-explainer {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  #mp-profile-page .mp-referral-card {
    padding: 16px !important;
  }
  
  #mp-profile-page .mp-referral-card .mp-card-header {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  #mp-profile-page .mp-referral-stats-mini {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
  }
  
  #mp-profile-page .mp-referral-explainer {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  #mp-profile-page .mp-share-buttons {
    grid-template-columns: 1fr !important;
  }
  
  #mp-profile-page .mp-invite-code {
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
}
}
/* Quick Actions */
.mp-quick-actions {
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .mp-quick-actions {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.mp-action-btn {
  background: white !important;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
    display: flex;
  align-items: center;
  gap: 1rem;
    cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  color: #1e293b !important;
}
.mp-action-btn:hover {
  border-color: #547a26;
  box-shadow: 0 4px 16px rgba(84, 122, 38, 0.15);
    transform: translateY(-2px);
}
@media (max-width: 480px) {
  .mp-action-btn {
    padding: 1.2rem;
  }
}
.mp-action-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #547a26, #6b8a2f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.mp-action-content {
  flex: 1;
}
.mp-action-content h3 {
  font-size: 1.125rem;
    font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.mp-action-content p {
  font-size: 0.875rem;
  color: #64748b;
}
/* Renewal Reminder Banner */
.mp-renewal-reminder {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}
.mp-reminder-content {
    display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .mp-reminder-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
.mp-reminder-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
}
.mp-reminder-text {
  flex: 1;
}
.mp-reminder-text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.25rem;
}
.mp-reminder-text p {
  font-size: 0.875rem;
  color: #78350f;
}
/* Pending Bonuses Notice */
.mp-pending-bonuses-notice {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05));
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.mp-pending-bonuses-notice h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #6d28d9;
    margin-bottom: 0.75rem;
    }
.mp-pending-bonuses-notice p {
    font-size: 0.875rem;
  color: #5b21b6;
    margin-bottom: 0.5rem;
}
.mp-pending-friends-list {
  display: flex;
  flex-wrap: wrap;
        gap: 0.5rem;
  margin-top: 0.75rem;
    }
.mp-friend-chip {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.15);
  color: #6d28d9;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
/* Onboarding Page Scoped Styles - Prevent theme conflicts */
.mp-onboarding-root {
  position: relative;
}
.mp-onboarding-root .mp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-container {
    padding: 1.75rem 2rem;
}
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-container {
    padding: 1rem 1.25rem;
  }
}
.mp-onboarding-root .mp-glass-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(20px);
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-glass-card {
    padding: 1.5rem;
    }
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-glass-card {
    padding: 1.25rem;
  }
}
/* Tab Navigation with Progress Indicator */
.mp-onboarding-root .mp-tabs {
        display: flex;
    gap: 0.5rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 0.75rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  width: 100%;
  position: relative;
}
/* Progress Bar */
.mp-onboarding-root .mp-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #547a26, #6b8a2f);
  border-radius: 0 0 12px 12px;
  transition: width 0.3s ease;
  width: 25%; /* Default: Step 1 */
}
.mp-onboarding-root .mp-tabs[data-progress="2"]::after {
  width: 50%;
}
.mp-onboarding-root .mp-tabs[data-progress="3"]::after {
  width: 75%;
}
.mp-onboarding-root .mp-tabs[data-progress="4"]::after {
    width: 100%;
}
.mp-onboarding-root .mp-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #64748b;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--btn-gap) !important;
  font-size: 0.95rem;
  position: relative;
    overflow: hidden;
  min-height: 48px;
  line-height: 1 !important;
  white-space: nowrap;
}
.mp-onboarding-root .mp-tab svg,
.mp-onboarding-root .mp-tab img,
.mp-onboarding-root .mp-tab i {
  width: var(--btn-icon) !important;
  height: var(--btn-icon) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}
.mp-onboarding-root .mp-tab span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
.mp-onboarding-root .mp-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.mp-onboarding-root .mp-tab:hover::before {
  left: 100%;
}
.mp-onboarding-root .mp-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  transform: translateY(-1px);
}
.mp-onboarding-root .mp-tab.mp-tab-active {
  background: white;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-tabs {
    gap: 0.25rem;
    padding: 0.5rem;
  }
  
  .mp-onboarding-root .mp-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-tabs {
    padding: 0.375rem;
  }
  
  .mp-onboarding-root .mp-tab {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    min-height: 40px;
  }
  
  .mp-onboarding-root .mp-tab svg {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
  }
}
/* Ultra-compact for iPhone 12/13/14/15 and smaller (≤390px) */
@media (max-width: 390px) {
  .mp-onboarding-root .mp-tabs {
    padding: 0.25rem;
    gap: 0.25rem;
    flex-wrap: nowrap !important;
    overflow-x: visible;
  }
  
  .mp-onboarding-root .mp-tab {
    padding: 0.5rem 0.375rem !important;
    font-size: 0.6875rem !important; /* 11px */
    min-height: 40px !important;
    max-height: 40px !important;
    min-width: 80px !important;
    max-width: 92px !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.02em !important;
  }
  
  .mp-onboarding-root .mp-tab svg {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  
  /* Ensure progress bar still works */
  .mp-onboarding-root .mp-tabs::after {
    height: 2px !important;
  }
  
  /* Reduce spacing for mobile */
  .mp-onboarding-root .mp-glass-card {
    padding: 1rem !important;
}

  .mp-onboarding-root .mp-section {
    margin-bottom: 1rem !important;
  }
  
  .mp-onboarding-root .mp-subheading {
    font-size: 1.125rem !important; /* 18px */
    margin-bottom: 0.75rem !important;
}

  .mp-onboarding-root .mp-label {
    font-size: 0.8125rem !important; /* 13px */
}

  .mp-onboarding-root .mp-input,
  .mp-onboarding-root .mp-select,
  .mp-onboarding-root .mp-textarea {
    min-height: 44px !important;
    font-size: 0.875rem !important;
    padding: 0.625rem 0.75rem !important;
  }
  
  .mp-onboarding-root .mp-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .mp-onboarding-root .mp-heading {
    font-size: 1.5rem !important; /* 24px */
}

  .mp-onboarding-root .mp-subtitle {
    font-size: 0.875rem !important;
  }
}
/* Step panel animations */
.mp-onboarding-root .mp-slider-slide {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms cubic-bezier(0.22, 0.7, 0.15, 1),
              transform 260ms cubic-bezier(0.22, 0.7, 0.15, 1);
  pointer-events: none;
}
.mp-onboarding-root .mp-slider-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mp-onboarding-root .mp-slider-slide.animating-out {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
/* Button entrance animation */
.mp-onboarding-root .mp-form-actions {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 200ms cubic-bezier(0.22, 0.7, 0.15, 1) 60ms,
              transform 200ms cubic-bezier(0.22, 0.7, 0.15, 1) 60ms;
}
.mp-onboarding-root .mp-form-actions.visible {
  opacity: 1;
  transform: scale(1);
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .mp-onboarding-root .mp-slider-slide,
  .mp-onboarding-root .mp-form-actions {
    transition-duration: 120ms;
    transform: none !important;
  }
  
  .mp-onboarding-root .mp-slider-slide {
    transition-property: opacity;
  }
  
  .mp-onboarding-root .mp-form-actions {
    transition-property: opacity;
    }
}
/* Slider Container */
.mp-onboarding-root .mp-slider-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  overflow: visible; /* Allow content to be visible */
    margin-bottom: 2rem;
  min-height: 500px;
}
.mp-onboarding-root .mp-slider-track {
  position: relative;
  overflow: visible; /* Don't clip content */
  min-height: 500px;
    padding: 1.5rem;
  touch-action: pan-y;
}
.mp-onboarding-root .mp-slider-slide {
  display: none;
  padding: 0;
  animation: slideIn 0.3s ease-in-out;
}
.mp-onboarding-root .mp-slider-slide.active {
  display: block;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-slider-track {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-slider-track {
    padding: 0.75rem;
  }
}
/* Two-Column Grid Layout */
.mp-onboarding-root .mp-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-onboarding-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-onboarding-grid {
    gap: 1rem;
  }
}
/* Left and Right Columns */
.mp-onboarding-root .mp-onboarding-left {
    display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mp-onboarding-root .mp-onboarding-right {
    display: flex;
    flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-onboarding-left,
  .mp-onboarding-root .mp-onboarding-right {
    gap: 1rem;
  }
}
/* Section Styling */
.mp-onboarding-root .mp-section {
  margin-bottom: 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-section {
        padding: 1rem;
}
}
@media (max-width: 480px) {
  .mp-onboarding-root .mp-section {
    padding: 0.75rem;
  }
}
.mp-onboarding-root .mp-subheading {
  margin-bottom: 1rem;
  font-size: 1.125rem;
    font-weight: 600;
  color: #1e293b;
}
/* Concierge Section (Right Column Only) */
.mp-onboarding-root .mp-concierge-section {
  padding: 1.5rem;
  background: #f0fdf4;
  border-radius: 12px;
  border: 2px solid #bbf7d0;
}
.mp-onboarding-root .mp-concierge-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 1rem;
}
/* Footer Navigation */
.mp-onboarding-root .mp-wizard-navigation {
    display: flex;
  justify-content: space-between;
    align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
  min-height: 60px;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-wizard-navigation {
        flex-direction: column;
        gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}
.mp-onboarding-root .mp-wizard-navigation .mp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--btn-gap) !important;
  padding: var(--btn-pad-y) var(--btn-pad-x) !important;
  min-height: var(--btn-height) !important;
  font-size: var(--btn-font) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  border-radius: var(--btn-radius) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
/* Allow submit button to be hidden by JavaScript */
.mp-onboarding-root .mp-wizard-navigation .mp-btn[style*="display: none"] {
    display: none !important;
}
/* Force hide back button on first step */
.mp-onboarding-root .mp-wizard-navigation #wizard-back[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}
/* Hide back button by default on first step (fallback) */
.mp-onboarding-root[data-step="1"] .mp-wizard-navigation #wizard-back {
    display: none !important;
}
/* Ultra-aggressive hiding for back button on first step */
.mp-onboarding-root .mp-wizard-navigation #wizard-back {
    transition: none !important;
}
.mp-onboarding-root[data-step="1"] .mp-wizard-navigation #wizard-back,
.mp-onboarding-root .mp-wizard-navigation #wizard-back[aria-hidden="true"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}
.mp-onboarding-root .mp-wizard-navigation .mp-btn svg,
.mp-onboarding-root .mp-wizard-navigation .mp-btn img,
.mp-onboarding-root .mp-wizard-navigation .mp-btn i {
  width: var(--btn-icon) !important;
  height: var(--btn-icon) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}
.mp-onboarding-root .mp-wizard-navigation .mp-btn span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-wizard-navigation .mp-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px !important;
  }
}
.mp-onboarding-root .mp-wizard-navigation .mp-btn-secondary {
  margin-right: auto;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-wizard-navigation .mp-btn-secondary {
    margin-right: 0;
  }
}
.mp-onboarding-root .mp-wizard-navigation .mp-btn-primary {
  margin-left: auto;
}
@media (max-width: 768px) {
  .mp-onboarding-root .mp-wizard-navigation .mp-btn-primary {
    margin-left: 0;
  }
}
/* Focus states for accessibility - no layout shift */
.mp-onboarding-root .mp-wizard-navigation .mp-btn:focus-visible,
.mp-onboarding-root .mp-tab:focus-visible,
.mp-onboarding-root .mp-form-actions button:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(84, 122, 38, 0.3) !important;
}
/* Slide Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Nutrition Calculator Styles */
.mp-onboarding-root .mp-nutrition-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}
.mp-onboarding-root .mp-nutrition-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.mp-onboarding-root .mp-nutrition-item:last-child {
    border-bottom: none;
}
.mp-onboarding-root .mp-nutrition-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}
.mp-onboarding-root .mp-nutrition-value {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  background: rgba(84, 122, 38, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
}
.mp-onboarding-root .mp-nutrition-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.mp-onboarding-root .mp-info-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mp-onboarding-root .mp-info-btn:hover {
  opacity: 1;
}
.mp-onboarding-root .mp-nutrition-primary {
  margin-bottom: 1rem;
}
.mp-onboarding-root .mp-nutrition-highlight {
  background: rgba(84, 122, 38, 0.05);
    border-radius: 8px;
  padding: 1rem !important;
  border: 2px solid rgba(84, 122, 38, 0.2) !important;
}
.mp-onboarding-root .mp-nutrition-highlight .mp-nutrition-value {
  font-size: 1.5rem;
  background: rgba(84, 122, 38, 0.15);
  padding: 0.5rem 1rem;
}
.mp-onboarding-root .mp-nutrition-macros {
  display: grid;
  gap: 0.5rem;
}
.mp-onboarding-root .mp-nutrition-percent {
  font-size: 0.85rem;
  color: #64748b;
  margin-left: 0.5rem;
}
.mp-onboarding-root .mp-nutrition-details {
    margin-top: 1rem;
  padding-top: 1rem;
}
.mp-onboarding-root .mp-nutrition-item-small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
.mp-onboarding-root .mp-nutrition-item-small .mp-nutrition-label {
  font-size: 0.85rem;
}
.mp-onboarding-root .mp-nutrition-item-small .mp-nutrition-value {
  font-size: 0.85rem;
  min-width: 80px;
}
.mp-onboarding-root .mp-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0.5rem 0;
}
.mp-onboarding-root .mp-nutrition-warning {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  color: #92400e;
    }
.mp-onboarding-root .mp-guidance-text {
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 8px;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
    }
.mp-onboarding-root .mp-helper-text {
  display: block;
  margin-top: 0.25rem;
        font-size: 0.8rem;
  color: #64748b;
}
/* Field error state */
.mp-field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
  animation: shake 0.3s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
/* Toast notifications - removed duplicate definition */
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mp-field-error {
    animation: none;
    }
    
  .mp-toast {
    transition: opacity 0.15s ease;
  }
}
/* Accessibility - Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mp-onboarding-root .mp-tab,
  .mp-onboarding-root .mp-slider-slide {
    transition: none;
    animation: none;
    }
}
/* Meal Week Page - 2-Panel Horizontal Slider */
.mp-week-root .mp-week-slider-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
    margin-bottom: 2rem;
  max-width: 100%;
        width: 100%;
}
.mp-week-root .mp-week-slider-nav {
    display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
  margin: 0;
    }
.mp-week-root .mp-week-slider-nav-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
    position: relative;
}
.mp-week-root .mp-week-slider-nav-btn:hover {
  background: #f1f5f9;
  color: #374151;
    }
.mp-week-root .mp-week-slider-nav-btn.active {
  background: white;
  color: #1e293b;
  border-bottom-color: #547a26;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
/* Horizontal Scroll Container for 2 Panels */
.mp-week-root .mp-week-slider-track {
    display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.mp-week-root .mp-week-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
/* Each Panel (Current Week, Next Week) */
.mp-week-root .mp-week-slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
    width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 800px;
    display: flex;
  flex-direction: column;
}
/* Actions section for week slides */
.mp-week-root .mp-actions {
    display: flex;
  gap: 1rem;
  padding: 1.5rem;
    justify-content: center;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .mp-week-root .mp-week-slider-slide {
    padding: 1rem;
    max-height: 700px;
  }
}
@media (max-width: 480px) {
  .mp-week-root .mp-week-slider-slide {
    padding: 0.75rem;
    max-height: 600px;
}
}
/* Slider Controls (Arrows + Dots) */
.mp-week-root .mp-week-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
}
.mp-week-root .mp-week-slider-prev,
.mp-week-root .mp-week-slider-next {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 2px solid #d1d5db;
  background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  font-size: 1.1rem;
  color: #64748b;
  transition: all 0.2s ease;
  padding: 0;
}
.mp-week-root .mp-week-slider-prev:hover,
.mp-week-root .mp-week-slider-next:hover {
  border-color: #547a26;
  color: #547a26;
    transform: scale(1.1);
}
.mp-week-root .mp-week-slider-prev:disabled,
.mp-week-root .mp-week-slider-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #e5e7eb;
  color: #d1d5db;
}
.mp-week-root .mp-week-slider-prev:disabled:hover,
.mp-week-root .mp-week-slider-next:disabled:hover {
  transform: none;
}
.mp-week-root .mp-week-slider-dots {
    display: flex;
    gap: 0.5rem;
  align-items: center;
}
.mp-week-root .mp-week-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mp-week-root .mp-week-slider-dot.active {
  background: #547a26;
  transform: scale(1.2);
}
.mp-week-root .mp-week-slider-dot:hover {
  background: #94a3b8;
}
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .mp-week-root .mp-week-slider-track {
    scroll-behavior: auto;
  }
  
  .mp-week-root .mp-week-slider-nav-btn,
  .mp-week-root .mp-week-slider-prev,
  .mp-week-root .mp-week-slider-next,
  .mp-week-root .mp-week-slider-dot {
    transition: none;
  }
}
/* Loading skeleton styles */
.mp-loading-skeleton {
  opacity: 0.7;
  pointer-events: none;
}
.skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-title {
  height: 20px;
  width: 60%;
}
.skeleton-subtitle {
  height: 16px;
  width: 40%;
}
.skeleton-label {
  height: 14px;
  width: 50%;
  margin-bottom: 4px;
}
.skeleton-select {
  height: 36px;
  width: 100%;
}
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
}
  100% {
    background-position: 200% 0;
  }
}
/* Two-Week Planning Styles - Modern Card Design */
.mp-week-selector {
  margin-bottom: 0;
  padding: 0;
  display: flex !important;
  justify-content: center !important;
  width: 100%;
}
.mp-tabs {
    display: flex;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 0.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.mp-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #64748b;
    display: flex;
    align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.mp-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}
.mp-tab:hover::before {
  left: 100%;
}
.mp-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  transform: translateY(-1px);
}
.mp-tab.mp-tab-active {
  background: white;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.mp-week-slide-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.mp-week-container {
  display: block !important;
  padding: 0 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.mp-week-slide {
  display: none;
  transition: all 0.3s ease;
}
.mp-week-slide.mp-week-slide-active {
  display: block;
}
.mp-week-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
.mp-week-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
    margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mp-week-description {
  color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}
.mp-week-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
    margin-bottom: 2rem;
  padding: 1.5rem;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: start;
  justify-items: stretch !important;
  grid-auto-rows: minmax(250px, auto) !important;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.mp-week-card {
  background: white !important;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 250px !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column;
}
.mp-week-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}
.mp-week-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.mp-week-card.mp-readonly {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
}
.mp-week-card.mp-readonly::before {
  background: linear-gradient(90deg, #94a3b8, #64748b, #475569);
}
.mp-week-card.mp-disabled {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  border-color: #cbd5e1;
  opacity: 0.5;
  cursor: not-allowed;
}
.mp-week-card.mp-disabled::before {
  background: linear-gradient(90deg, #cbd5e1, #94a3b8, #64748b);
}
.mp-week-card.mp-disabled:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.mp-week-card.frozen {
  border: 2px dashed #fbbf24;
  background: linear-gradient(135deg, #fef3c7, #fef9c3) !important;
}
.mp-week-card.mp-referral-bonus {
  border: 2px solid #10b981 !important;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2) !important;
}
.mp-week-card.mp-referral-bonus::before {
  background: linear-gradient(90deg, #10b981, #059669, #047857) !important;
  height: 6px;
}
.mp-week-card.mp-referral-bonus:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.3) !important;
}
.mp-day-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-align: center;
  padding: 0.25rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}
.mp-freeze-toggle {
    display: flex;
    align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem;
  background: #fef3c7;
  border-radius: 4px;
  border: 1px solid #fbbf24;
}
.mp-freeze-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #f59e0b;
}
.mp-freeze-toggle label {
  font-weight: 600;
  color: #92400e;
  font-size: 0.9rem;
}
.mp-meal-section,
.mp-snack-section {
  margin-bottom: 0.5rem;
  padding: 0.25rem;
  background: #f8fafc;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.mp-meal-section:hover,
.mp-snack-section:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.mp-meal-label,
.mp-snack-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mp-meal-section select,
.mp-snack-section select {
    width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: white;
  font-size: 0.75rem;
    font-weight: 500;
  color: #374151;
  transition: all 0.2s ease;
}
.mp-meal-section select:focus,
.mp-snack-section select:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.mp-meal-section select:disabled,
.mp-snack-section select:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.mp-day-counter {
  text-align: center;
  font-size: 0.9rem;
    font-weight: 600;
  color: #64748b;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}
/* Admin-Style Slider for Meal Week */
.mp-slider-container {
    background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
    margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}
.mp-slider-nav {
    display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
    margin: 0;
}
.mp-slider-nav-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
    background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}
.mp-slider-nav-btn:hover {
  background: #f1f5f9;
  color: #374151;
}
.mp-slider-nav-btn.active {
    background: white;
  color: #1e293b;
  border-bottom-color: #547a26;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.mp-slider-track {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 1rem;
  touch-action: pan-y;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.mp-slider-slide {
  display: none;
  padding: 0;
  animation: slideIn 0.3s ease-in-out;
}
.mp-slider-slide.active {
  display: block;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mp-week-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
        text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.mp-week-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 1rem;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-items: stretch !important;
}
.mp-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
  padding: 1rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
    gap: 1rem;
    }
.mp-slider-prev,
.mp-slider-next {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 2px solid #d1d5db;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
    cursor: pointer;
  font-size: 1.1rem;
  color: #64748b;
  transition: all 0.2s ease;
  padding: 0;
}
.mp-slider-prev:hover,
.mp-slider-next:hover {
    border-color: #547a26;
  color: #547a26;
  transform: scale(1.1);
}
.mp-slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.mp-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
    flex-shrink: 0;
}
.mp-slider-dot.active {
    background: #547a26;
  transform: scale(1.2);
}
.mp-slider-dot:hover {
  background: #94a3b8;
}
/* Responsive Design for Slider */
@media (max-width: 1400px) {
  .mp-slider-container {
    max-width: 85%;
    width: 85%;
}

  .mp-week-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
  }
  
  .mp-week-card {
    min-width: 0 !important;
    max-width: none !important;
    min-height: 230px !important;
}
}
@media (max-width: 1000px) {
  .mp-slider-container {
    max-width: 90%;
    width: 90%;
  }
  
  .mp-slider-nav-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .mp-slider-slide {
    padding: 1rem;
  }
  
  .mp-week-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }
  
  .mp-week-card {
    min-width: 0 !important;
    max-width: none !important;
    min-height: 210px !important;
  }
  
  .mp-slider-controls {
    padding: 0.75rem;
}

  .mp-slider-prev,
  .mp-slider-next {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 0.95rem;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .mp-slider-container {
    max-width: 95%;
    width: 95%;
  }
  
  .mp-week-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .mp-week-card {
    min-width: 0 !important;
    max-width: none !important;
    min-height: 190px !important;
    }
}
@media (max-width: 480px) {
  .mp-slider-container {
    max-width: 98%;
    width: 98%;
  }
  
  .mp-week-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem;
  }
  
  .mp-week-card {
    min-width: 0 !important;
    max-width: none !important;
    min-height: 160px !important;
  }
}
/* Ultra-mobile: single column, full-width cards (≤414px) */
@media (max-width: 414px) {
  .mp-week-root .mp-week-grid {
    grid-template-columns: 1fr !important; /* Single column */
    gap: 1rem !important;
    padding: 0.75rem !important;
  }
  
  .mp-week-root .mp-week-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 180px !important;
    padding: 1rem !important;
  }
  
  .mp-week-root .mp-week-slider-slide {
    padding: 0.75rem !important;
  }
  
  /* Week navigation tabs - compact for one line */
  .mp-week-root .mp-week-slider-nav-btn {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem !important; /* 14px */
    white-space: nowrap !important;
    }
    
  .mp-week-root .mp-week-slider-nav-btn svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px !important;
  }
  
  /* Compact action buttons - REMOVED, using uniform sizing instead */
  .mp-week-root .mp-actions {
    gap: 1rem !important;
    padding: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  /* Day card internals */
  .mp-week-root .mp-day-header {
    font-size: 1rem !important;
    }
    
  .mp-week-root .mp-meal-label,
  .mp-week-root .mp-snack-label {
    font-size: 0.8125rem !important; /* 13px */
  }
  
  .mp-week-root .mp-meal-section select,
  .mp-week-root .mp-snack-section select {
    min-height: 44px !important;
    font-size: 0.875rem !important;
    padding: 0.625rem 0.75rem !important;
  }
}
/* End of Clean Meal Week Design */
/* Additional Critical Styles */
/* Admin Panel Button Overrides */
.mp-admin-card .mp-btn {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
.mp-admin-card .mp-btn:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
    }
.mp-admin-card .mp-btn:hover:before {
  left: 100% !important;
}
.mp-admin-card .mp-btn:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
    }
/* Authentication Button Fixes */
#mp-auth .mp-btn-primary {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
#mp-auth .mp-btn-primary:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
    }
#mp-auth .mp-btn-primary:hover:before {
  left: 100% !important;
}
#mp-auth .mp-btn-primary:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
#mp-auth .mp-btn-secondary {
  border: 2px solid #547a26 !important;
  color: #547a26 !important;
  background: linear-gradient(135deg, #fff, #f8f9fa) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
}
#mp-auth .mp-btn-secondary:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(84, 122, 38, 0.3), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
    }
#mp-auth .mp-btn-secondary:hover:before {
  left: 100% !important;
}
#mp-auth .mp-btn-secondary:hover {
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
/* Search Button Fixes */
.mp-search-btn {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9rem !important;
  min-height: 40px !important;
  background: linear-gradient(135deg, #547a26, #6b8a2f) !important;
  color: #fff !important;
  border: 1px solid rgba(84, 122, 38, 0.6) !important;
  box-shadow: 0 4px 15px rgba(84, 122, 38, 0.3) !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
    }
.mp-search-btn:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
  transition: left 0.5s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.mp-search-btn:hover:before {
  left: 100% !important;
}
.mp-search-btn:hover {
  background: linear-gradient(135deg, #6b8a2f, #7a9a35) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(84, 122, 38, 0.4) !important;
}
/* Responsive logo sizing */
@media (max-width: 768px) {
  .mp-logo-container {
    top: 2rem;
    left: 0.5rem;
        gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  
  .mp-logo {
    max-width: 50px;
    max-height: 68px; /* Maintain aspect ratio: 50 * 546/400 */
    }
    
  .mp-logo-text {
    font-size: 0.875rem;
  }
  
  /* Adjust body padding for mobile */
  html,
  body {
    padding-top: 4rem;
  }
}
/* Ultra-mobile logo optimization (≤414px) */
@media (max-width: 414px) {
  .mp-logo-container {
    top: calc(1.5rem + env(safe-area-inset-top, 0px)); /* iOS safe area + better spacing */
    left: 1rem; /* More padding from left edge */
    gap: 0.5rem; /* Better internal gap */
    padding: 0.625rem 0.875rem; /* More padding for better appearance */
    border-radius: 14px; /* Slightly rounder */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); /* Better shadow */
  }
  
  .mp-logo {
    max-width: 44px !important;
    max-height: 60px !important; /* Maintain ratio: 44 * 546/400 */
    width: 44px;
    height: auto;
  }
  
  .mp-logo-text {
    font-size: 0.8125rem !important; /* 13px */
    letter-spacing: 0.25px;
    }
}
/* Mobile auth button spacing fix - better padding for text */
@media (max-width: 414px) {
  /* Auth toggle buttons - increase padding for better spacing */
  .mp-auth-toggle .mp-btn {
    min-width: 120px !important;
    padding: 0.875rem 1.25rem !important;
    font-size: 0.8125rem !important;
  }
  
  /* Primary buttons (LOGIN, CREATE ACCOUNT) - increase padding */
  #mp-auth .mp-btn-primary {
    padding: 1rem 1.75rem !important;
    font-size: 0.8125rem !important;
    min-width: -moz-fit-content !important;
    min-width: fit-content !important;
    white-space: nowrap !important;
    }
    
  /* Secondary buttons - increase padding */
  #mp-auth .mp-btn-secondary {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.8125rem !important;
    min-width: -moz-fit-content !important;
    min-width: fit-content !important;
  }
}
/* Meal Week Page - Uniform Button Sizing - NUCLEAR OVERRIDE */
/* Using EVERY possible selector combination + individual button IDs */
/* Base rule for all action buttons */
div.mp-actions > button,
div.mp-actions > button.mp-btn,
div.mp-actions > .mp-btn,
.mp-week-slider-slide .mp-actions button,
.mp-week-slider-slide .mp-actions .mp-btn,
#mp-client div.mp-actions > button,
#mp-client div.mp-actions > .mp-btn,
.mp-week-root div.mp-actions > button,
.mp-week-root div.mp-actions > .mp-btn,
/* Individual button IDs */
button#btn_save_current,
button#btn_save_next,
button#btn_suggest_current,
button#btn_suggest_next,
button#btn_skip_next,
button#btn_continue_to_profile,
button#btn_go_to_next_week,
#btn_save_current.mp-btn,
#btn_save_next.mp-btn,
#btn_suggest_current.mp-btn,
#btn_suggest_next.mp-btn,
#btn_skip_next.mp-btn {
  /* Reset ALL Tailwind utilities first */
  padding: 0 !important;
  margin: 0 !important;
  
  /* Apply uniform sizing */
  padding: 1rem 2rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  
  font-size: 1rem !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  
  min-height: 52px !important;
  max-height: 52px !important;
  height: auto !important;
  
  min-width: 200px !important;
  width: auto !important;
  
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  
  white-space: nowrap !important;
  box-sizing: border-box !important;
  
  border-radius: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
    }
/* Mobile - Consistent button sizing */
@media (max-width: 768px) {
  div.mp-actions > button,
  div.mp-actions > button.mp-btn,
  .mp-week-slider-slide .mp-actions button,
  #mp-client div.mp-actions > button,
  .mp-week-root div.mp-actions > button,
  button#btn_save_current,
  button#btn_save_next,
  button#btn_suggest_current,
  button#btn_suggest_next,
  button#btn_skip_next,
  button#btn_continue_to_profile,
  button#btn_go_to_next_week {
    padding: 0 !important;
    padding: 0.875rem 1.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    font-size: 0.9375rem !important;
    min-height: 48px !important;
    max-height: 48px !important;
    height: auto !important;
    min-width: 180px !important;
    }
}
@media (max-width: 414px) {
  div.mp-actions > button,
  div.mp-actions > button.mp-btn,
  .mp-week-slider-slide .mp-actions button,
  #mp-client div.mp-actions > button,
  .mp-week-root div.mp-actions > button,
  button#btn_save_current,
  button#btn_save_next,
  button#btn_suggest_current,
  button#btn_suggest_next,
  button#btn_skip_next,
  button#btn_continue_to_profile,
  button#btn_go_to_next_week {
    padding: 0 !important;
    padding: 0.875rem 1.25rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    font-size: 0.875rem !important;
    min-height: 44px !important;
    max-height: 44px !important;
    height: auto !important;
    min-width: 160px !important;
    }
}
/* ============================================================================
   MENU MANAGEMENT - ADVANCED
   ============================================================================ */
/* Menu Tabs */
.mp-menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
}
.mp-menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}
.mp-menu-tab:hover {
  color: #547a26;
  background: rgba(84, 122, 38, 0.05);
}
.mp-menu-tab.active {
  color: #547a26;
  border-bottom-color: #547a26;
  background: transparent;
}
.mp-menu-tab svg {
  flex-shrink: 0;
}
/* Tab Content */
.mp-menu-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.mp-menu-tab-content.active {
  display: block;
}
/* Menu Library Header */
.mp-menu-library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.mp-menu-library-search {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  flex-wrap: wrap;
}
.mp-menu-library-search .mp-input {
  flex: 1;
  min-width: 150px;
}
/* Menu Library List */
/* OPTIMIZED: 5 Items Per Row in Menu Library */
.mp-menu-library-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
/* ENHANCED: Much Larger Menu Item Cards */
.mp-menu-item-card {
  background: linear-gradient(135deg, #ffffff, #fafafa);
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.mp-menu-item-card:hover {
  border-color: #547a26;
  border-width: 4px;
  box-shadow: 0 12px 32px rgba(84, 122, 38, 0.2);
  transform: translateY(-6px);
}
/* OPTIMIZED: Compact Image for 5-Column Layout */
.mp-menu-item-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mp-menu-item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.mp-menu-item-card:hover .mp-menu-item-image img {
  transform: scale(1.08);
}
.mp-menu-item-image svg {
  color: #9ca3af;
  width: 56px;
  height: 56px;
  opacity: 0.5;
}
/* OPTIMIZED: Compact Content Padding */
.mp-menu-item-content {
  padding: 1.25rem;
}
/* OPTIMIZED: Readable Item Name */
.mp-menu-item-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.mp-menu-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
/* ENHANCED: Larger Badges */
.mp-menu-item-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.mp-menu-item-badge.kind-meal {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
  color: #1e40af;
  border: 2px solid rgba(59, 130, 246, 0.3);
}
.mp-menu-item-badge.kind-snack {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
  color: #92400e;
  border: 2px solid rgba(245, 158, 11, 0.3);
}
.mp-menu-item-badge.type-vegetarian {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}
.mp-menu-item-badge.type-non-vegetarian {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.mp-menu-item-badge.type-keto {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
}
/* ENHANCED: Larger Nutrition Display */
.mp-menu-item-nutrition {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border-radius: 10px;
  flex-wrap: wrap;
}
.mp-menu-item-nutrition span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  background: white;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}
/* ENHANCED: Larger Action Buttons */
.mp-menu-item-actions {
  display: flex;
  gap: 0.75rem;
  border-top: 3px solid #e5e7eb;
  padding-top: 1.25rem;
}
.mp-menu-item-actions button {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.mp-menu-item-actions button.edit {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}
.mp-menu-item-actions button.edit:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}
.mp-menu-item-actions button.delete {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}
.mp-menu-item-actions button.delete:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}
/* Pagination */
.mp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.mp-pagination button {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.mp-pagination button:hover:not(:disabled) {
  border-color: #547a26;
  color: #547a26;
}
.mp-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mp-pagination button.active {
  background: #547a26;
  color: white;
  border-color: #547a26;
}
/* Menu Calendar */
/* ENHANCED: Larger Calendar Header */
.mp-menu-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 3px solid #e5e7eb;
}
/* ENHANCED: Larger Calendar Controls */
.mp-calendar-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.mp-calendar-controls button {
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  min-width: 48px;
  min-height: 48px;
}
/* ENHANCED: Larger Week Display */
.mp-calendar-week-display {
  font-weight: 700;
  color: #111827;
  min-width: 300px;
  text-align: center;
  font-size: 1.375rem;
  padding: 0.875rem 1.5rem;
  background: white;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
/* NEW: Meal Type Filter */
.mp-calendar-meal-type-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.mp-calendar-meal-type-filter label {
  color: #374151;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.mp-calendar-meal-type-filter select {
  padding: 0.625rem 1rem !important;
  font-size: 0.9375rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  min-width: 200px;
  background: white;
}
.mp-calendar-meal-type-filter select:focus {
  border-color: #547a26 !important;
  box-shadow: 0 0 0 3px rgba(84, 122, 38, 0.1) !important;
}
/* ENHANCED: Larger Action Buttons */
.mp-calendar-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.mp-calendar-actions button {
  padding: 0.875rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  min-height: 48px;
}
/* NEW: Day Summary at Bottom of Each Card */
.mp-calendar-day-summary {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
  text-align: center;
}
.summary-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: #547a26;
  background: rgba(84, 122, 38, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: inline-block;
}
/* Enhanced Empty Slot Styling */
.mp-calendar-meal-slot.empty-slot {
  border: 2px dashed #cbd5e1;
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.mp-calendar-meal-slot.empty-slot::before {
  content: '➕';
  font-size: 1.25rem;
}
/* OPTIMIZED: 3-Column Calendar Layout for 6-Day Week */
.mp-menu-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  max-width: 100%;
}
/* ENHANCED: Significantly Expanded Day Cards */
.mp-calendar-day {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-calendar-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: #547a26;
}
/* ENHANCED: Larger Day Header */
.mp-calendar-day-header {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #e5e7eb;
}
/* ENHANCED: Larger Date Display */
.mp-calendar-day-date {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.mp-calendar-day.today {
  border-color: #547a26;
  background: rgba(84, 122, 38, 0.02);
}
/* ENHANCED: Much Larger Meal Slots Container */
.mp-calendar-day-meals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
/* ENHANCED: Significantly Expanded Meal Slots */
.mp-calendar-meal-slot {
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}
.mp-calendar-meal-slot:hover {
  border-color: #547a26;
  border-width: 3px;
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.08), rgba(84, 122, 38, 0.04));
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(84, 122, 38, 0.15);
}
/* ENHANCED: Larger Assigned Meal Slots */
.mp-calendar-meal-slot.assigned {
  background: linear-gradient(135deg, #ffffff, #fafafa);
  border: 3px solid #22c55e;
  color: #111827;
  padding: 1.5rem;
  min-height: 90px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}
.mp-calendar-meal-slot.assigned:hover {
  border-color: #16a34a;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}
.mp-calendar-meal-slot.assigned .meal-name {
  font-weight: 700;
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
  color: #111827;
  line-height: 1.4;
}
.mp-calendar-meal-slot.assigned .meal-meta {
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.mp-calendar-meal-slot.assigned .meal-meta span {
  background: rgba(84, 122, 38, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-weight: 600;
  color: #547a26;
}
/* Modal Styles */
.mp-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.mp-modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mp-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mp-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.mp-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mp-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}
.mp-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.mp-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
/* Form Styles */
.mp-form-row {
  margin-bottom: 1.25rem;
}
.mp-form-row label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.mp-form-row .mp-input,
.mp-form-row input.mp-input,
.mp-form-row select.mp-input,
.mp-form-row textarea.mp-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.mp-form-row .mp-input:focus,
.mp-form-row input.mp-input:focus,
.mp-form-row select.mp-input:focus,
.mp-form-row textarea.mp-input:focus {
  outline: none;
  border-color: #547a26;
  box-shadow: 0 0 0 3px rgba(84, 122, 38, 0.1);
}
.mp-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mp-form-row-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.mp-image-upload {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mp-image-preview {
  width: 100%;
  max-width: 300px;
  height: 150px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f9fafb;
}
.mp-image-preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.mp-image-preview.empty {
  color: #9ca3af;
  font-size: 0.875rem;
}
/* Loading State */
.mp-loading {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 0.875rem;
}
/* Responsive */
/* OPTIMIZED: Responsive Breakpoints for 5-Item Library & 3-Column Calendar */
/* Menu Library - 5 items per row on large screens */
@media (max-width: 1600px) {
  .mp-menu-library-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1200px) {
  .mp-menu-library-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .mp-menu-library-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Menu Calendar - Always 3 columns on desktop, responsive below */
@media (max-width: 1400px) {
  .mp-calendar-day {
    min-height: 450px;
  }
}
@media (max-width: 1200px) {
  .mp-menu-calendar-grid {
    gap: 1.5rem;
  }
  
  .mp-calendar-day {
    min-height: 420px;
    padding: 1.5rem;
  }
}
@media (max-width: 900px) {
  .mp-menu-calendar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .mp-calendar-day {
    min-height: 380px;
    padding: 1.25rem;
  }
}
@media (max-width: 768px) {
  .mp-menu-library-list {
    grid-template-columns: 1fr;
  }
  
  .mp-menu-calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .mp-form-row-2col,
  .mp-form-row-4col {
    grid-template-columns: 1fr;
  }
  
  .mp-menu-library-search {
    flex-direction: column;
  }
  
  .mp-menu-library-search .mp-input {
    width: 100%;
  }
}
/* ============================================================================
   MENU MANAGEMENT ENHANCEMENTS
   ============================================================================ */
/* Calendar Assignment Modal */
/* ENHANCED: Much Larger Modal for Better Visibility */
.mp-modal-large {
  max-width: 1400px;
  width: 98%;
  max-height: 95vh;
}
/* ENHANCED: Expanded Assignment Modal Header */
.mp-assignment-modal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #e5e7eb;
}
/* ENHANCED: Larger Date Display */
.mp-assignment-date {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 12px;
  border: 2px solid #bae6fd;
}
/* ENHANCED: Larger Search Area */
.mp-assignment-search {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.mp-assignment-search .mp-input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
}
.mp-assignment-search .mp-input:focus {
  border-color: #547a26 !important;
  box-shadow: 0 0 0 4px rgba(84, 122, 38, 0.1) !important;
}
/* ENHANCED: Larger Assignment Columns */
.mp-assignment-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.mp-assignment-column h4 {
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
/* ENHANCED: Larger Assignment List */
.mp-assignment-list {
  max-height: 600px;
  overflow-y: auto;
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  background: #fafafa;
}
/* ENHANCED: Much Larger Assignment Items */
.mp-assignment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.mp-assignment-item:hover {
  border-color: #547a26;
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.03), rgba(84, 122, 38, 0.01));
  transform: translateX(6px);
  box-shadow: 0 6px 16px rgba(84, 122, 38, 0.15);
}
.mp-assignment-item-content {
  flex: 1;
  padding-right: 1.5rem;
}
/* ENHANCED: Larger Item Name */
.mp-assignment-item-name {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
  line-height: 1.4;
}
/* ENHANCED: Larger Meta Info */
.mp-assignment-item-meta {
  font-size: 0.9375rem;
  color: #64748b;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mp-assignment-item-meta span {
  background: #f1f5f9;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}
/* ENHANCED: Much Larger Action Buttons */
.mp-assignment-item-action {
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* ENHANCED: Larger Assign Button */
.mp-assignment-item-action.assign {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}
.mp-assignment-item-action.assign:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}
/* ENHANCED: Larger Remove Button */
.mp-assignment-item-action.remove {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}
.mp-assignment-item-action.remove:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
/* Nutrition Summary */
.mp-nutrition-summary {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.05), rgba(84, 122, 38, 0.02));
  border: 2px solid rgba(84, 122, 38, 0.15);
  border-radius: 16px;
}
.mp-nutrition-summary h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.mp-nutrition-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mp-nutrition-stat {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
}
.mp-nutrition-stat .stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.mp-nutrition-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #547a26;
}
/* Template List */
.mp-template-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}
.mp-template-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mp-template-item:hover {
  border-color: #547a26;
  box-shadow: 0 2px 8px rgba(84, 122, 38, 0.1);
}
.mp-template-item-info {
  flex: 1;
}
.mp-template-item-name {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.mp-template-item-meta {
  font-size: 0.75rem;
  color: #6b7280;
}
.mp-template-item-actions {
  display: flex;
  gap: 0.5rem;
}
.mp-template-item-actions button {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mp-template-item-actions button.load {
  background: #3b82f6;
  color: white;
}
.mp-template-item-actions button.load:hover {
  background: #2563eb;
}
.mp-template-item-actions button.delete {
  background: #ef4444;
  color: white;
}
.mp-template-item-actions button.delete:hover {
  background: #dc2626;
}
/* Reports Dashboard */
.mp-reports-dashboard {
  padding: 1rem 0;
}
.mp-reports-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.mp-summary-card {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}
.mp-summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #547a26;
}
.summary-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.summary-content {
  flex: 1;
}
.summary-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.summary-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mp-reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.mp-report-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 300px;
}
.mp-report-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}
.mp-report-content {
  max-height: 400px;
  overflow-y: auto;
}
.mp-report-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.mp-report-list-item-name {
  font-weight: 600;
  color: #111827;
  flex: 1;
}
.mp-report-list-item-value {
  font-weight: 700;
  color: #547a26;
  font-size: 1.125rem;
}
.mp-chart-bar {
  height: 24px;
  background: linear-gradient(90deg, #547a26, #6a9933);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
}
.mp-chart-bar:hover {
  filter: brightness(1.1);
  transform: scaleX(1.02);
  transform-origin: left;
}
.mp-chart-bar-label {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}
.mp-chart-bar-value {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 700;
}
/* Drag and Drop */
.mp-menu-item-card.dragging {
  opacity: 0.5;
  cursor: move;
}
.mp-calendar-day.drag-over {
  background: rgba(84, 122, 38, 0.1);
  border-color: #547a26;
  border-style: dashed;
}
.mp-menu-item-card[draggable="true"] {
  cursor: move;
}
.mp-menu-item-card[draggable="true"]:hover {
  cursor: grab;
}
.mp-menu-item-card[draggable="true"]:active {
  cursor: grabbing;
}
/* Responsive Enhancements */
@media (max-width: 1200px) {
  .mp-reports-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mp-nutrition-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .mp-assignment-columns {
    grid-template-columns: 1fr;
  }
  
  .mp-reports-summary,
  .mp-nutrition-stats {
    grid-template-columns: 1fr;
  }
  
  .mp-reports-grid {
    grid-template-columns: 1fr;
  }
  
  .mp-calendar-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .mp-calendar-actions button {
    width: 100%;
  }
}
/* ============================================================================
   ALL 17 FEATURES - COMPREHENSIVE STYLING
   ============================================================================ */
/* AI Suggest Button */
.mp-btn-ai {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6); }
}
/* PWA Install Banner */
.mp-install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 9999;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  max-width: 500px;
  animation: slideUpBanner 0.3s ease;
}
@keyframes slideUpBanner {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.install-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: 1;
}
.install-icon {
  font-size: 2rem;
}
.install-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #111827;
}
.install-text p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
.install-actions {
  display: flex;
  gap: 0.5rem;
}
/* Notifications Bell */
.mp-notification-bell {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mp-notification-bell:hover {
  border-color: #547a26;
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.15);
}
.mp-notification-bell .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
/* Notifications Panel */
.mp-notifications-panel {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 400px;
  max-height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  overflow: hidden;
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mp-notifications-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mp-notifications-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.mp-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mp-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.mp-notifications-list {
  max-height: 500px;
  overflow-y: auto;
}
.mp-notification-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.2s ease;
}
.mp-notification-item:hover {
  background: #f9fafb;
}
.mp-notification-item.unread {
  background: rgba(84, 122, 38, 0.05);
  border-left: 4px solid #547a26;
}
.mp-notification-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.mp-notification-message {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.mp-notification-time {
  font-size: 0.75rem;
  color: #9ca3af;
}
/* Rewards Widget */
.mp-rewards-widget {
  display: flex;
  gap: 1rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mp-rewards-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}
.rewards-points {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #92400e;
}
.points-value {
  font-size: 1.25rem;
}
.achievements-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #92400e;
}
/* Rewards Panel */
.mp-rewards-panel .mp-modal-body {
  padding: 2rem;
}
.rewards-summary {
  text-align: center;
  margin-bottom: 2rem;
}
.rewards-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 2rem;
  border-radius: 16px;
}
.rewards-icon {
  font-size: 4rem;
}
.rewards-points-big {
  font-size: 3rem;
  font-weight: 700;
  color: #92400e;
  line-height: 1;
}
.rewards-label {
  font-size: 0.875rem;
  color: #78350f;
  font-weight: 600;
  text-transform: uppercase;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.achievement-card {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}
.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}
.achievement-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.achievement-name {
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.25rem;
}
.achievement-date {
  font-size: 0.75rem;
  color: #16a34a;
}
/* Language Switcher */
.mp-language-switcher {
  display: flex;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 8px;
}
.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: #6b7280;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  background: white;
  color: #111827;
}
.lang-btn.active {
  background: #547a26;
  color: white;
}
/* RTL Support */
[dir="rtl"] .mp-glass-card {
  text-align: right;
}
[dir="rtl"] .mp-btn svg {
  margin-right: 0;
  margin-left: 8px;
}
/* Reports Dashboard */
.mp-reports-dashboard {
  padding: 1.5rem 0;
}
/* Voice Search Animation */
.mp-voice-search.listening {
  animation: voicePulse 1s infinite;
  background: #ef4444 !important;
}
@keyframes voicePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}
/* Mobile Responsive for ALL Features */
@media (max-width: 768px) {
  .mp-install-banner {
    flex-direction: column;
    bottom: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    max-width: none;
  }
  
  .mp-notifications-panel {
    left: 10px;
    right: 10px;
    width: auto;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .mp-rewards-widget {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* ============================================================================
   ADMIN FEATURES - INVENTORY, SUBSCRIPTIONS, ANALYTICS
   ============================================================================ */
/* Inventory Stats */
.mp-inventory-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.inventory-stat-card {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid #bae6fd;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.inventory-stat-card.alert {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: #fca5a5;
}
.inventory-stat-card .stat-icon {
  font-size: 2.5rem;
}
.inventory-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0c4a6e;
}
.inventory-stat-card.alert .stat-value {
  color: #991b1b;
}
.inventory-stat-card .stat-label {
  font-size: 0.875rem;
  color: #475569;
  font-weight: 600;
}
.mp-inventory-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.mp-inventory-list {
  margin-top: 1.5rem;
}
.mp-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.mp-table thead {
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
}
.mp-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mp-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.mp-table tr:hover {
  background: #f9fafb;
}
.mp-table tr.low-stock {
  background: rgba(239, 68, 68, 0.05);
}
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-badge.alert {
  background: #fee2e2;
  color: #dc2626;
}
.status-badge.success {
  background: #d1fae5;
  color: #065f46;
}
.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}
.status-badge.paused {
  background: #fef3c7;
  color: #92400e;
}
.status-badge.cancelled {
  background: #f3f4f6;
  color: #6b7280;
}
/* Subscription Stats */
.mp-subscription-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.sub-stat-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}
.sub-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.sub-stat-card.active {
  border-color: #22c55e;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}
.sub-stat-card.paused {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}
.sub-stat-card.expiring {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
}
.sub-stat-card.revenue {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}
.sub-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sub-stat-card.active .stat-value {
  color: #16a34a;
}
.sub-stat-card.paused .stat-value {
  color: #d97706;
}
.sub-stat-card.expiring .stat-value {
  color: #dc2626;
}
.sub-stat-card.revenue .stat-value {
  color: #7c3aed;
}
.mp-subscription-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
/* Analytics Dashboard */
.mp-analytics-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.quick-stat {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}
.quick-stat:hover {
  border-color: #547a26;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(84, 122, 38, 0.15);
}
.quick-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.quick-stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mp-analytics-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.analytics-chart {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 300px;
}
.analytics-chart h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}
.chart-container {
  display: flex;
  gap: 0.5rem;
  height: 200px;
  align-items: flex-end;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #547a26, #6a9933);
  border-radius: 8px 8px 0 0;
  position: relative;
  min-height: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.5rem;
}
.chart-bar:hover {
  filter: brightness(1.1);
  transform: scaleY(1.05);
}
.bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.growth-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}
.growth-metric {
  text-align: center;
}
.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 0.5rem;
}
.metric-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}
/* Responsive for Admin Features */
@media (max-width: 1200px) {
  .mp-inventory-stats,
  .mp-subscription-stats,
  .mp-analytics-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mp-analytics-charts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .mp-inventory-stats,
  .mp-subscription-stats,
  .mp-analytics-quick-stats {
    grid-template-columns: 1fr;
  }
  
  .mp-table {
    font-size: 0.875rem;
  }
  
  .mp-table th,
  .mp-table td {
    padding: 0.5rem;
  }
}
/* ============================================================================
   COMPREHENSIVE UI/UX ENHANCEMENTS - PRODUCTION POLISH
   ============================================================================ */
/* Global Smooth Transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* Enhanced Card Hover Effects */
.mp-admin-card:hover,
.mp-glass-card:hover,
.mp-menu-item-card:hover,
.mp-report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}
/* Skeleton Loading Animation */
.mp-skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* Enhanced Loading States */
.mp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem;
  color: #6b7280;
}
.mp-loading::before {
  content: '';
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #547a26;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Enhanced Button Hover with Lift */
.mp-btn:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(84, 122, 38, 0.25) !important;
}
.mp-btn:active:not([disabled]) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.2) !important;
}
/* Button Loading State */
.mp-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}
.mp-btn[disabled]::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
/* Enhanced Toast with Icons */
.mp-toast.success::before {
  content: '✅ ';
  margin-right: 8px;
}
.mp-toast.error::before {
  content: '❌ ';
  margin-right: 8px;
}
.mp-toast.info::before {
  content: 'ℹ️ ';
  margin-right: 8px;
}
.mp-toast.warning::before {
  content: '⚠️ ';
  margin-right: 8px;
}
/* Enhanced Modal Entrance */
.mp-modal {
  animation: fadeIn 0.3s ease;
}
.mp-modal .mp-modal-content {
  animation: slideUpBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes slideUpBounce {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Enhanced Input Focus States */
.mp-input:focus,
input.mp-input:focus,
select.mp-input:focus,
textarea.mp-input:focus {
  outline: none !important;
  border-color: #547a26 !important;
  box-shadow: 0 0 0 4px rgba(84, 122, 38, 0.1), 0 2px 8px rgba(84, 122, 38, 0.15) !important;
  transform: scale(1.01);
}
/* Enhanced Tab Transitions */
.mp-menu-tab {
  position: relative;
}
.mp-menu-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #547a26;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.mp-menu-tab.active::after {
  transform: scaleX(1);
}
/* Micro-interactions: Ripple Effect on Buttons */
.mp-btn {
  position: relative;
  overflow: hidden;
}
.mp-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.mp-btn:active::before {
  width: 300px;
  height: 300px;
}
/* Enhanced Cards with Better Spacing */
.mp-menu-item-card {
  padding: 0 !important;
  margin-bottom: 1.5rem;
}
.mp-menu-item-content {
  padding: 1.25rem !important;
}
.mp-menu-item-name {
  font-size: 1.125rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4;
}
.mp-menu-item-meta {
  margin-bottom: 1rem !important;
}
.mp-menu-item-nutrition {
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 1rem !important;
}
.mp-menu-item-actions {
  padding: 1rem 1.25rem !important;
  gap: 0.75rem !important;
}
/* Enhanced Calendar with Better Spacing */
.mp-calendar-day {
  padding: 1.25rem !important;
  min-height: 350px !important;
}
.mp-calendar-day-header {
  font-size: 1rem !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}
.mp-calendar-day-date {
  margin-bottom: 1.25rem !important;
}
.mp-calendar-meal-slot {
  padding: 1rem !important;
  margin-bottom: 0.75rem !important;
}
/* Enhanced Modal with Better Padding */
.mp-modal-header {
  padding: 2rem !important;
}
.mp-modal-body {
  padding: 2rem !important;
}
.mp-modal-footer {
  padding: 1.5rem 2rem !important;
}
/* Enhanced Form Rows with Better Spacing */
.mp-form-row {
  margin-bottom: 1.5rem !important;
}
.mp-form-row label {
  margin-bottom: 0.75rem !important;
}
/* Enhanced Stat Cards with Gradient Backgrounds */
.inventory-stat-card,
.sub-stat-card,
.quick-stat,
.mp-summary-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(249,250,251,0.9)) !important;
  backdrop-filter: blur(10px);
  border-width: 2px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
.inventory-stat-card:hover,
.sub-stat-card:hover,
.quick-stat:hover,
.mp-summary-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
}
/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
/* Improved Spacing Throughout */
.mp-admin-grid {
  gap: 2rem !important;
}
.mp-profile-header {
  padding: 2.5rem !important;
  gap: 2rem !important;
}
.mp-week-summary {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  padding: 2rem !important;
}
/* Enhanced Table Styling */
.mp-table {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.mp-table thead {
  background: linear-gradient(135deg, #547a26, #6a9933) !important;
}
.mp-table tbody tr {
  transition: all 0.2s ease;
}
.mp-table tbody tr:hover {
  background: #f9fafb !important;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
/* Enhanced Badges */
.mp-menu-item-badge,
.status-badge {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.375rem 0.875rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Glass Morphism Effect */
.mp-glass-card,
.mp-admin-card,
.mp-modal-content {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}
/* Enhanced Scrollbars */
.mp-assignment-list::-webkit-scrollbar,
.mp-notifications-list::-webkit-scrollbar,
.mp-template-list::-webkit-scrollbar,
.mp-report-content::-webkit-scrollbar {
  width: 8px;
}
.mp-assignment-list::-webkit-scrollbar-track,
.mp-notifications-list::-webkit-scrollbar-track,
.mp-template-list::-webkit-scrollbar-track,
.mp-report-content::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}
.mp-assignment-list::-webkit-scrollbar-thumb,
.mp-notifications-list::-webkit-scrollbar-thumb,
.mp-template-list::-webkit-scrollbar-thumb,
.mp-report-content::-webkit-scrollbar-thumb {
  background: #547a26;
  border-radius: 10px;
}
.mp-assignment-list::-webkit-scrollbar-thumb:hover,
.mp-notifications-list::-webkit-scrollbar-thumb:hover,
.mp-template-list::-webkit-scrollbar-thumb:hover,
.mp-report-content::-webkit-scrollbar-thumb:hover {
  background: #456820;
}
/* Pulsing Animation for Important Elements */
@keyframes pulseSlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}
.mp-btn-ai {
  animation: pulseSlow 3s ease-in-out infinite;
}
/* Enhanced Focus Rings - Accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #547a26;
  outline-offset: 2px;
}
/* Loading Skeleton Variations */
.mp-skeleton-card {
  height: 200px;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.mp-skeleton-text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.mp-skeleton-title {
  height: 24px;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: 60%;
}
/* Enhanced Drag & Drop Visual Feedback */
.mp-menu-item-card[draggable="true"] {
  cursor: grab;
  border: 2px dashed transparent;
  transition: all 0.2s ease;
}
.mp-menu-item-card[draggable="true"]:hover {
  border-color: #547a26;
  box-shadow: 0 8px 24px rgba(84, 122, 38, 0.2);
}
.mp-menu-item-card.dragging {
  opacity: 0.6;
  transform: scale(0.95) rotate(2deg);
  cursor: grabbing;
}
.mp-calendar-day.drag-over {
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.15), rgba(84, 122, 38, 0.05));
  border: 3px dashed #547a26 !important;
  animation: dragOverPulse 0.6s ease-in-out infinite;
}
@keyframes dragOverPulse {
  0%, 100% {
    border-color: #547a26;
  }
  50% {
    border-color: #6a9933;
  }
}
/* Enhanced Stats Cards with Icon Animations */
.inventory-stat-card .stat-icon,
.sub-stat-card .stat-icon,
.quick-stat .stat-icon {
  animation: floatUpDown 3s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
/* Enhanced Charts with Smooth Animations */
.chart-bar,
.mp-chart-bar {
  animation: growUp 0.6s ease-out;
  transform-origin: bottom;
}
@keyframes growUp {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
/* Enhanced Achievement Cards */
.achievement-card {
  position: relative;
  overflow: hidden;
}
.achievement-card::before {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}
/* Enhanced Notification Item Animation */
.mp-notification-item {
  animation: slideInFromRight 0.3s ease;
}
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Enhanced Template Item with Hover Effect */
.mp-template-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-template-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(84, 122, 38, 0.15);
}
/* Enhanced Assignment Item with Smooth Add/Remove */
.mp-assignment-item {
  animation: fadeInScale 0.3s ease;
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Enhanced PWA Install Banner */
.mp-install-banner {
  border: 3px solid rgba(84, 122, 38, 0.3);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98) !important;
}
.install-icon {
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* Enhanced Rewards Widget with Shine Effect */
.mp-rewards-widget {
  position: relative;
  overflow: hidden;
}
.mp-rewards-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 70%
  );
  animation: shine 3s infinite;
}
@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}
/* Enhanced Language Switcher */
.mp-language-switcher {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.lang-btn {
  position: relative;
}
.lang-btn.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: white;
  border-radius: 2px;
}
/* Enhanced Calendar Day with Gradient Border */
.mp-calendar-day {
  position: relative;
}
.mp-calendar-day.today::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #547a26, #6a9933, #547a26);
  border-radius: 12px 12px 0 0;
  animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* Enhanced Menu Library Grid with Stagger Animation */
.mp-menu-library-list {
  animation: fadeIn 0.4s ease;
}
.mp-menu-item-card:nth-child(1) { animation-delay: 0.05s; }
.mp-menu-item-card:nth-child(2) { animation-delay: 0.1s; }
.mp-menu-item-card:nth-child(3) { animation-delay: 0.15s; }
.mp-menu-item-card:nth-child(4) { animation-delay: 0.2s; }
.mp-menu-item-card:nth-child(5) { animation-delay: 0.25s; }
.mp-menu-item-card:nth-child(6) { animation-delay: 0.3s; }
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Enhanced Pagination with Active State */
.mp-pagination button {
  position: relative;
  font-size: 0.875rem !important;
  min-width: 40px;
}
.mp-pagination button.active {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.3);
}
/* Enhanced Report Cards */
.mp-report-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-report-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15) !important;
}
/* Enhanced Nutrition Stats with Animated Numbers */
.stat-value,
.quick-stat-value,
.rewards-points-big {
  font-variant-numeric: tabular-nums;
  animation: countUp 0.6s ease-out;
}
@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Enhanced Empty States */
.mp-empty-notifications,
.no-achievements,
.mp-loading {
  padding: 3rem;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
}
.mp-empty-notifications::before,
.no-achievements::before {
  content: '📭';
  display: block;
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: floatUpDown 2s ease-in-out infinite;
}
/* Enhanced Success States with Confetti */
.mp-toast.success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  animation: toastSuccess 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes toastSuccess {
  0% {
    transform: translateX(-50%) scale(0.8) rotate(-5deg);
  }
  50% {
    transform: translateX(-50%) scale(1.05) rotate(5deg);
  }
  100% {
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
}
/* Enhanced Error States */
.mp-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}
.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: shake 0.5s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}
.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 0.5rem;
}
.error-message {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  max-width: 400px;
}
/* Enhanced Focus States with Glow */
.mp-input:focus,
input.mp-input:focus,
select.mp-input:focus,
textarea.mp-input:focus {
  animation: inputGlow 0.3s ease;
}
@keyframes inputGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 122, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(84, 122, 38, 0.1), 0 2px 8px rgba(84, 122, 38, 0.15);
  }
}
/* Enhanced Pagination with Smooth Page Transition */
.mp-menu-library-list {
  min-height: 600px;
  position: relative;
}
.mp-menu-library-list.loading {
  opacity: 0.5;
  pointer-events: none;
}
/* Enhanced Calendar Slot Hover with Border Pulse */
.mp-calendar-meal-slot:hover {
  animation: borderPulse 1s ease-in-out infinite;
}
@keyframes borderPulse {
  0%, 100% {
    border-color: #547a26;
    box-shadow: 0 0 0 0 rgba(84, 122, 38, 0.4);
  }
  50% {
    border-color: #6a9933;
    box-shadow: 0 0 0 4px rgba(84, 122, 38, 0);
  }
}
/* Enhanced Assignment Item with Slide-in Animation */
.mp-assignment-item-action {
  transform: translateX(0);
}
.mp-assignment-item:hover .mp-assignment-item-action {
  transform: translateX(5px);
}
/* Enhanced Template Item with Icon Rotation */
.mp-template-item:hover .mp-template-item-actions button {
  transform: scale(1.05);
}
/* Enhanced Stats with Number Counter Animation */
.stat-value,
.quick-stat-value,
.metric-value {
  position: relative;
  overflow: hidden;
}
.stat-value::after,
.quick-stat-value::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: numberShine 2s ease-in-out infinite;
}
@keyframes numberShine {
  0% { left: -100%; }
  100% { left: 100%; }
}
/* Enhanced Modal Backdrop */
.mp-modal {
  animation: backdropFadeIn 0.3s ease;
}
@keyframes backdropFadeIn {
  from {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
  to {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
  }
}
/* Enhanced Calendar Today Indicator with Pulse */
.mp-calendar-day.today {
  animation: todayPulse 2s ease-in-out infinite;
}
@keyframes todayPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(84, 122, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(84, 122, 38, 0);
  }
}
/* Enhanced Rewards Widget with Gold Shimmer */
.mp-rewards-widget::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: goldShimmer 3s ease-in-out infinite;
}
@keyframes goldShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
/* Enhanced Notification Badge with Bounce */
.mp-notification-bell .badge {
  animation: badgeBounce 1s ease-in-out infinite;
}
@keyframes badgeBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* Enhanced AI Button with Gradient Animation */
.mp-btn-ai {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9) !important;
  background-size: 200% 200%;
  animation: gradientFlow 3s ease infinite;
}
@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* Enhanced Menu Item Badge with Subtle Animation */
.mp-menu-item-badge {
  animation: fadeInUp 0.4s ease;
  animation-fill-mode: both;
}
.mp-menu-item-badge:nth-child(1) { animation-delay: 0.1s; }
.mp-menu-item-badge:nth-child(2) { animation-delay: 0.2s; }
.mp-menu-item-badge:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Enhanced Form Validation States */
.mp-input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  animation: shake 0.3s ease;
}
.mp-input.success {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
}
/* Enhanced Chart Bars with Stagger */
.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }
/* Success Animation for Actions */
.action-success {
  animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes successPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/* Enhanced Empty State */
.mp-empty-notifications::before,
.no-achievements::before {
  filter: grayscale(0.3);
  opacity: 0.6;
}
/* Progressive Image Loading */
.mp-menu-item-image img,
.mp-image-preview img {
  opacity: 0;
  animation: imageLoad 0.4s ease forwards;
}
@keyframes imageLoad {
  to {
    opacity: 1;
  }
}
/* Enhanced Week Summary with Blur Effect */
.mp-week-summary.collapsed::after {
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
  backdrop-filter: blur(4px);
}
/* ============================================================================
   NEW 7 FEATURES - COMPREHENSIVE STYLING
   ============================================================================ */
/* FEATURE 1: Reviews & Ratings System */
.mp-reviews-section {
  margin-top: 2.5rem;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.mp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.mp-review-card {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.mp-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #547a26;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}
.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-weight: 700;
  color: #111827;
}
.author-date {
  font-size: 0.75rem;
  color: #9ca3af;
}
.review-rating {
  display: flex;
  gap: 0.25rem;
}
.star {
  color: #fbbf24;
  font-size: 1.25rem;
}
.star.empty {
  color: #e5e7eb;
}
.review-text {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d1fae5;
  color: #065f46;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.review-helpful {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}
.admin-response {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(84, 122, 38, 0.05);
  border-left: 4px solid #547a26;
  border-radius: 8px;
}
.admin-response-label {
  font-weight: 700;
  color: #547a26;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Rating Input */
.mp-rating-input {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}
.mp-rating-input .star {
  cursor: pointer;
  font-size: 2rem;
  transition: all 0.2s ease;
}
.mp-rating-input .star:hover,
.mp-rating-input .star.selected {
  color: #fbbf24;
  transform: scale(1.2);
}
/* FEATURE 2: Allergens & Customizations */
.mp-dietary-section,
.mp-allergen-grid {
  margin-top: 2.5rem;
}
.mp-allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.mp-allergen-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mp-allergen-item:hover {
  border-color: #547a26;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.15);
}
.mp-allergen-item.selected {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border-color: #ef4444;
}
.mp-allergen-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.allergen-icon {
  font-size: 1.5rem;
}
.allergen-info {
  flex: 1;
}
.allergen-name {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.allergen-severity {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 600;
  text-transform: uppercase;
}
.allergen-warning {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 2px solid #fca5a5;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: warningPulse 2s ease-in-out infinite;
}
@keyframes warningPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}
.allergen-warning-icon {
  font-size: 2rem;
}
/* FEATURE 4: Admin Roles UI */
.mp-roles-section {
  margin-top: 2rem;
}
.mp-role-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}
.mp-role-card:hover {
  border-color: #547a26;
  box-shadow: 0 4px 16px rgba(84, 122, 38, 0.1);
}
.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.role-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.role-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.permission-badge {
  background: rgba(84, 122, 38, 0.1);
  color: #547a26;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
/* FEATURE 5: PDF Report Button */
.mp-btn-pdf {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}
.mp-btn-pdf:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6) !important;
}
/* FEATURE 6: Live Chat Widget */
.mp-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}
.mp-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(84, 122, 38, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  animation: chatBob 2s ease-in-out infinite;
}
@keyframes chatBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.mp-chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(84, 122, 38, 0.5);
}
.mp-chat-toggle .chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid white;
  animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.mp-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.mp-chat-header {
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mp-chat-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.mp-chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.2s ease;
}
.mp-chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.mp-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-welcome {
  text-align: center;
  padding: 2rem 1rem;
  color: #6b7280;
}
.welcome-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: wave 2s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-20deg);
  }
}
.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  animation: messageSlideIn 0.3s ease;
}
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chat-message.client {
  align-self: flex-end;
}
.chat-message.admin {
  align-self: flex-start;
}
.message-bubble {
  padding: 0.875rem 1.125rem;
  border-radius: 16px;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}
.chat-message.client .message-bubble {
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-message.admin .message-bubble {
  background: white;
  color: #111827;
  border: 2px solid #e5e7eb;
  border-bottom-left-radius: 4px;
}
.message-time {
  font-size: 0.7rem;
  color: #9ca3af;
  padding: 0 0.5rem;
}
.chat-message.client .message-time {
  text-align: right;
}
.mp-chat-input-container {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-top: 1px solid #e5e7eb;
}
.mp-chat-input {
  flex: 1;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.mp-chat-input:focus {
  outline: none;
  border-color: #547a26;
  box-shadow: 0 0 0 3px rgba(84, 122, 38, 0.1);
}
.mp-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mp-chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.3);
}
.mp-chat-send:active {
  transform: scale(0.95);
}
/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 0.375rem;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  width: -moz-fit-content;
  width: fit-content;
}
.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  animation: typingDot 1.4s ease-in-out infinite;
}
.typing-dot:nth-child(1) {
  animation-delay: 0s;
}
.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}
/* FEATURE 7: Calendar Sync Buttons */
.mp-calendar-sync {
  margin-top: 2.5rem;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.calendar-sync-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.mp-btn-google {
  background: white !important;
  color: #4285f4 !important;
  border: 2px solid #4285f4 !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mp-btn-google:hover {
  background: #4285f4 !important;
  color: white !important;
}
.mp-btn-apple {
  background: white !important;
  color: #000 !important;
  border: 2px solid #000 !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mp-btn-apple:hover {
  background: #000 !important;
  color: white !important;
}
/* Enhanced Menu Item Cards with Review Stars */
.mp-menu-item-card .review-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fef3c7;
  border-radius: 8px;
}
.review-stars-small {
  display: flex;
  gap: 0.125rem;
}
.review-stars-small .star {
  font-size: 0.875rem;
}
.review-count {
  font-size: 0.75rem;
  color: #78350f;
  font-weight: 600;
}
/* Real-Time Update Indicator */
.live-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  z-index: 9998;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}
/* Mobile Responsive for New Features */
@media (max-width: 768px) {
  .mp-allergen-grid {
    grid-template-columns: 1fr;
  }
  
  .mp-chat-panel {
    bottom: 70px;
    right: 10px;
    left: 10px;
    width: auto;
  }
  
  .calendar-sync-buttons {
    flex-direction: column;
  }
  
  .calendar-sync-buttons .mp-btn {
    width: 100%;
  }
  
  .mp-reviews-list {
    gap: 1rem;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
/* Enhanced Assignment Columns with Visual Separator */
.mp-assignment-columns {
  gap: 2rem !important;
  position: relative;
}
.mp-assignment-columns::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #547a26, transparent);
  transform: translateX(-50%);
}
/* Progressive Enhancement for Modern Browsers */
@supports (backdrop-filter: blur(10px)) {
  .mp-modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4) !important;
  }
}
/* Dark Elements with Better Contrast */
.mp-btn-primary,
.mp-btn-danger,
.mp-btn-ai {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
/* Enhanced Image Previews with Zoom on Hover */
.mp-menu-item-image img,
.mp-image-preview img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-menu-item-card:hover .mp-menu-item-image img {
  transform: scale(1.1);
}
/* Enhanced Calendar Week Display */
.mp-calendar-week-display {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #111827;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}
/* Enhanced Slider Navigation */
.mp-slider-nav-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.mp-slider-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #547a26, #6a9933);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.mp-slider-nav-btn.active::after {
  transform: scaleX(1);
}
/* Print Styles for Reports */
@media print {
  .mp-btn,
  .mp-modal-close,
  .mp-slider-nav,
  .mp-pagination,
  .mp-calendar-actions,
  .mp-menu-library-header {
    display: none !important;
  }
  
  .mp-report-card,
  .mp-admin-card {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }
}
/* Accessibility Enhancements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .mp-btn,
  .mp-menu-item-badge,
  .status-badge {
    border-width: 3px !important;
  }
}
/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Enhanced Calendar Grid with Better Mobile UX */
@media (max-width: 768px) {
  .mp-menu-calendar-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .mp-calendar-day {
    min-height: auto !important;
    padding: 1.5rem !important;
  }
}
/* Enhanced Tooltip System */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 0.75rem;
  background: #111827;
  color: white;
  font-size: 0.75rem;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}
/* Enhanced Success Checkmarks */
.mp-toast.success::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: checkmarkPulse 0.4s ease;
}
@keyframes checkmarkPulse {
  0% {
    transform: translateY(-50%) scale(0);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}
/* ============================================================================
   CLIENT DATABASE ENHANCEMENTS - FIX FOR NEWEST CLIENTS
   ============================================================================ */
/* Client Count Badge */
.mp-client-count-badge {
  background: linear-gradient(135deg, #547a26, #6a9933);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(84, 122, 38, 0.3);
  animation: fadeInScale 0.4s ease;
}
/* Enhanced Client Item */
.mp-client-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.5rem;
  border-left: 4px solid transparent;
  position: relative;
}
.mp-client-item:hover {
  transform: translateX(8px);
  border-left-color: #547a26;
}
.mp-client-item.client-new {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.04));
  border-left-color: #22c55e;
  border-left-width: 6px;
  animation: newClientHighlight 2s ease-in-out infinite;
}
@keyframes newClientHighlight {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
  }
  50% {
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    border-left-color: #16a34a;
  }
}
/* New Client Badge with Shimmer */
.new-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}
.new-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badgeShimmer 2s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
/* Enhanced Client Name */
.mp-client-name {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Enhanced Client ID */
.mp-client-id {
  font-size: 0.875rem;
  color: #6b7280;
  font-family: 'Monaco', 'Courier New', monospace;
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.5rem;
}
/* Enhanced Registered Date */
.mp-client-registered {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}
/* Enhanced Empty State */
.mp-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
  animation: fadeIn 0.4s ease;
}
.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  animation: floatUpDown 3s ease-in-out infinite;
}
.empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}
.mp-empty-state p {
  margin: 0;
  font-size: 0.875rem;
}
/* ============================================================================
   ONBOARDING - MEAL TYPE SELECTION
   ============================================================================ */
.mp-meal-type-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.mp-meal-type-option {
  cursor: pointer;
}
.mp-meal-type-option input[type="checkbox"] {
  display: none;
}
.meal-type-card {
  background: linear-gradient(135deg, #ffffff, #fafafa);
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.meal-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(84, 122, 38, 0.15);
  border-color: #547a26;
}
.mp-meal-type-option input:checked + .meal-type-card {
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.1), rgba(106, 153, 51, 0.05));
  border-color: #547a26;
  border-width: 4px;
  box-shadow: 0 8px 24px rgba(84, 122, 38, 0.2);
}
.mp-meal-type-option input:checked + .meal-type-card::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  animation: checkmarkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes checkmarkPop {
  0% {
    transform: scale(0) rotate(-180deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.meal-type-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: floatUpDown 3s ease-in-out infinite;
}
.meal-type-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.meal-type-time {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}
/* Selection Feedback */
.mp-selection-feedback {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}
.mp-selection-feedback.error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-color: #ef4444;
}
.mp-selection-feedback.success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-color: #22c55e;
}
.mp-info-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #fbbf24;
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #78350f;
}
.mp-info-box strong {
  color: #92400e;
}
/* Responsive for Meal Type Selection */
@media (max-width: 768px) {
  .mp-meal-type-checkboxes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .meal-type-card {
    padding: 1.5rem 1.25rem;
  }
  
  .meal-type-icon {
    font-size: 2.5rem;
  }
}
/* ============================================================================
   ONBOARDING - DELIVERY SCHEDULE EXPLANATION
   ============================================================================ */
.mp-schedule-explanation {
  margin-top: 1.5rem;
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.schedule-info-card {
  background: linear-gradient(135deg, rgba(84, 122, 38, 0.08), rgba(84, 122, 38, 0.04));
  border: 3px solid rgba(84, 122, 38, 0.25);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(84, 122, 38, 0.15);
}
.info-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(84, 122, 38, 0.15);
}
.info-icon {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite;
}
.info-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.375rem;
}
.info-subtitle {
  font-size: 0.9375rem;
  color: #547a26;
  font-weight: 600;
}
.info-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(84, 122, 38, 0.1);
}
.info-content p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #374151;
  font-size: 1rem;
}
.info-content p:last-child {
  margin-bottom: 0;
}
.info-content strong {
  color: #547a26;
  font-weight: 700;
}
.example-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #fbbf24;
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #78350f;
}
.example-box strong {
  color: #92400e;
}
/* Visual Meal Days Calendar */
.meal-days-visual {
  margin-top: 1.5rem;
}
.days-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.day-box {
  aspect-ratio: 1;
  background: #f3f4f6;
  border: 3px solid #d1d5db;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}
.day-box.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #16a34a;
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  animation: dayPulse 2s ease-in-out infinite;
}
@keyframes dayPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
  }
}
.day-box.active::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #16a34a;
  border: 2px solid #16a34a;
  font-weight: 700;
}
.days-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
}
.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.legend-dot.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 2px solid #16a34a;
}
.legend-dot.inactive {
  background: #f3f4f6;
  border: 2px solid #d1d5db;
}
/* Responsive for Schedule Explanation */
@media (max-width: 768px) {
  .days-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .day-box {
    font-size: 0.75rem;
  }
  
  .info-header {
    flex-direction: column;
    text-align: center;
  }
  
  .schedule-info-card {
    padding: 1.5rem;
  }
}
/* ============================================================================
   COMPREHENSIVE MENU MANAGEMENT EXPANSION
   ============================================================================ */
/* Larger Menu Tab Buttons */
.mp-menu-tab {
  padding: 1rem 2rem !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  min-height: 56px;
}
/* Larger Menu Library Header Elements */
.mp-menu-library-header {
  gap: 1.5rem !important;
  margin-bottom: 2.5rem !important;
}
.mp-menu-library-search {
  gap: 1.25rem !important;
}
.mp-menu-library-search .mp-input {
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  min-width: 180px;
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
}
/* Larger Add Dish Button */
#btn-add-menu-item {
  padding: 0.875rem 1.75rem !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  min-height: 52px;
  box-shadow: 0 4px 14px rgba(84, 122, 38, 0.3);
}
/* Larger Bulk Import Button */
#btn-bulk-import {
  padding: 0.875rem 1.75rem !important;
  font-size: 1rem !important;
  min-height: 52px;
}
/* Enhanced Form Elements in Modal */
.mp-form-row .mp-input,
.mp-form-row input.mp-input,
.mp-form-row select.mp-input,
.mp-form-row textarea.mp-input {
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  border: 2px solid #d1d5db !important;
  border-radius: 10px !important;
  min-height: 48px;
}
.mp-form-row label {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  color: #1e293b !important;
}
/* Larger Modal Save/Cancel Buttons */
.mp-modal-footer button {
  padding: 0.875rem 2rem !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  min-height: 52px;
  min-width: 140px;
}
/* Enhanced Pagination Buttons */
.mp-pagination button {
  padding: 0.75rem 1.125rem !important;
  font-size: 1rem !important;
  min-width: 48px;
  min-height: 48px;
  border: 2px solid #e5e7eb !important;
  font-weight: 600 !important;
}
/* Larger AI Suggest Button */
.mp-btn-ai {
  padding: 0.875rem 1.875rem !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  min-height: 54px;
}
/* Enhanced Calendar Week Navigation */
#btn-calendar-prev-week,
#btn-calendar-next-week,
#btn-calendar-today {
  min-width: 52px !important;
  min-height: 52px !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
}
/* Larger Template Buttons */
#btn-save-template,
#btn-load-template,
#btn-copy-week,
#btn-clear-week {
  min-height: 50px !important;
  padding: 0.875rem 1.5rem !important;
  font-size: 1rem !important;
}
/* Enhanced Menu Item Meta Badges */
.mp-menu-item-meta {
  gap: 0.875rem !important;
  margin-bottom: 1.25rem !important;
}
/* Larger Card Heading */
.mp-card-heading {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 1.75rem !important;
}
/* Enhanced Menu Calendar Grid Container */
.mp-admin-card.mp-full-width .mp-menu-calendar-grid {
  padding: 0 1rem;
}
/* Larger Nutrition Summary */
.mp-nutrition-summary {
  padding: 2rem !important;
  margin-top: 2.5rem !important;
}
.mp-nutrition-summary h4 {
  font-size: 1.25rem !important;
  margin-bottom: 1.5rem !important;
}
.mp-nutrition-stat {
  padding: 1.5rem !important;
}
.mp-nutrition-stat .stat-value {
  font-size: 2rem !important;
}
.mp-nutrition-stat .stat-label {
  font-size: 0.875rem !important;
}
/* ============================================================================
   ENHANCED MENU OPTIONS - VISUAL INDICATORS
   ============================================================================ */
/* Option Count Badge */
.option-count-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
  animation: badgeFadeIn 0.4s ease;
}
@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Enhanced Meal Section with Better Spacing */
.mp-meal-section,
.mp-snack-section,
.mp-soup-section {
  margin-bottom: 1.25rem !important;
}
.mp-meal-label,
.mp-snack-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  margin-bottom: 0.625rem !important;
}
/* Enhanced Select Dropdowns */
.mp-meal-section select,
.mp-snack-section select {
  padding: 0.875rem 1.125rem !important;
  font-size: 0.9375rem !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 10px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: white !important;
  cursor: pointer !important;
}
.mp-meal-section select:hover:not([disabled]),
.mp-snack-section select:hover:not([disabled]) {
  border-color: #547a26 !important;
  box-shadow: 0 2px 8px rgba(84, 122, 38, 0.1) !important;
}
.mp-meal-section select:focus,
.mp-snack-section select:focus {
  outline: none !important;
  border-color: #547a26 !important;
  box-shadow: 0 0 0 4px rgba(84, 122, 38, 0.1), 0 2px 12px rgba(84, 122, 38, 0.2) !important;
  transform: scale(1.01);
}
/* Special styling for Soup/Salad */
.mp-soup-section {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.05), rgba(249, 115, 22, 0.02));
  border: 2px dashed #fb923c;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.mp-soup-section .mp-meal-label {
  color: #ea580c !important;
}
.mp-soup-section .option-count-badge {
  background: linear-gradient(135deg, #fb923c, #f97316);
}
/* Option Count based on Type */
.option-count-badge.high-options {
  background: linear-gradient(135deg, #10b981, #059669);
}
.option-count-badge.medium-options {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.option-count-badge.low-options {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
/* Enhanced Day Counter with Plan Type Indicator */
.mp-day-counter {
  margin-top: 1.5rem !important;
  padding: 0.875rem 1.125rem !important;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #475569 !important;
  text-align: center;
  border: 2px solid #e2e8f0 !important;
}
/* Info Banner for Plan Type */
.mp-plan-info-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05));
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInDown 0.5s ease;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.plan-info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.plan-info-content {
  flex: 1;
}
.plan-info-title {
  font-weight: 700;
  color: #6d28d9;
  margin-bottom: 0.375rem;
  font-size: 1rem;
}
.plan-info-details {
  font-size: 0.875rem;
  color: #7c3aed;
  line-height: 1.5;
}
/* Meal Type Specific Styling */
.mp-week-card[data-meal-type="Non-Vegetarian"] {
  border-left: 4px solid #ef4444;
}
.mp-week-card[data-meal-type="Vegetarian"] {
  border-left: 4px solid #22c55e;
}
.mp-week-card[data-meal-type="Keto"] {
  border-left: 4px solid #8b5cf6;
}
/* Enhanced Select Options with Icons */
.mp-meal-section select option,
.mp-snack-section select option {
  padding: 0.75rem;
  font-size: 0.9375rem;
}
/* Responsive Enhancements for Menu Options */
@media (max-width: 768px) {
  .option-count-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    margin-left: 0.5rem;
  }
  
  .mp-plan-info-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .plan-info-icon {
    font-size: 2.5rem;
  }
}
.focus\:outline-none:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-green-500:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1));
}
.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled{
  opacity: 0.5;
}
  
