/* Checkout */
/* MAIN LAYOUT (FLEX HEAVY) */

.leaf1 {
  position: absolute;
  top: 292px;
  right: 206px;
}

.leaf2 {
  position: absolute;
  top: 348px;
  left: 206px;
}

.leaf3 {
  position: absolute;
  top: 792px;
  left: 206px
}

.leaf4 {
  position: absolute;
  top: 723px;
  right: 0px
}




.checkouuut {
  /* background-image: url(../img/chehh.png); */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 0px;
}

.bgg_sect {
  position: absolute;
  top: 163px;
  left: 50%;
  transform: translateX(-50%);
}

.check_with_wrapper {
  display: flex;
  padding: 163px 0px 80px 0px;
  align-items: flex-start;
  max-width: 1256px;
  margin: 0 auto;
  gap: 24px;
  align-self: stretch;
}


.input_bxx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

/* CARD */
.check_with_left {
  display: flex;
  /* height: 750px; */
  padding: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex: 1 0 0;
  border-radius: 18px;
  border: 1px solid var(--Grey-90, #E4E4E7);
  background: var(--Base-White, #FFF);
  width: 100%;
  max-width: 732px;
}



/* TITLES */
.check_with_title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.check_with_summary_title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "DM Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 38.4px */
  letter-spacing: -1px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* INPUTS */
.check_with_input {
  display: flex;
  height: 48px;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Base-02, #727272);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  margin-bottom: 0px;
  width: 100%;
}

/* When user clicks / focuses */
.check_with_input:focus {
  border: 1px solid #0166ED !important;
  background: #F0F4F8;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  outline: 0;
}


/* FLEX ROW INPUTS */
.check_with_flex_row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  width: 100%;
}


.check_with_flex_row .check_with_input {
  flex: 1;
}

.custom-select {
  width: 100%;
  font-family: "DM Sans", sans-serif;
  position: relative;
}


/* ================= SELECT BOX ================= */
.select-box {
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #E9E9E9;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* ACTIVE STATE */
.custom-select.active .select-box {
  border: 1px solid #0166ED !important;
  background: #F0F4F8;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  outline: 0;
}

/* ================= ARROW (V SHAPE) ================= */
.arrow {
  width: 20px;
  height: 20px;
  background-image: url("../img/down_dropdown.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.3s ease;
}

/* Rotate when open */
.custom-select.active .arrow {
  transform: rotate(-180deg);
}

/* ================= DROPDOWN ================= */
.options {
  position: absolute;
  width: 100%;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #BDBDBD;
  background: #FFF;

  box-shadow:
    0 27.844px 27.028px rgba(0, 0, 0, 0.03),
    0 11px 10.075px rgba(0, 0, 0, 0.03),
    0 2.406px 3.584px rgba(0, 0, 0, 0.02);

  display: none;
  overflow: hidden;
  z-index: 100;
}

/* SHOW */
.custom-select.active .options {
  display: block;
}

/* ================= OPTIONS ================= */
.option {
  display: flex;
  padding: 6px 16px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  transition: background 0.2s;
  color: var(--Colours-Text, #001D40);
  /* P/Standard */
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  margin-bottom: 0px;
}

/* Hover */
.option:hover {
  border-right: 1px solid var(--Base-03, #BDBDBD);
  border-left: 1px solid var(--Base-03, #BDBDBD);
  background: var(--Colours-Light-Blue, #F0F4F8);
}

/* Selected */
.option.active {
  color: var(--Colours-Primary, #0166ED);

  /* P/Standard */
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

.check_with_right {
  display: flex;
  width: 100%;
  max-width: 500px;
  padding: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
}

.greyylines {
  background-color: #E9E9E9;
  height: 1px;
  width: 100%;
  margin: 0px 0px 16px 0px;

}

.greyylines2 {
  background-color: #E9E9E9;
  height: 1px;
  width: 100%;
  margin: 16px 0px 0px 0px;

}

.greyylines3 {
  background-color: #E9E9E9;
  height: 1px;
  width: 100%;
  margin: 0px 0px 0px;

}




/* ITEM ROW */
.check_with_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  width: 100%;
}

/* LEFT SIDE */
.check_with_item_left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* TITLE */
.check_with_item_title {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* SUB TEXT */
.check_with_item_sub {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;

}

/* RIGHT SIDE */
.check_with_item_right {
  display: flex;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

/* PRICE */
.check_with_price {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* DELETE ICON */
.check_with_delete {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* DISCOUNT */
/* WRAPPER */
.check_with_discount {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fb;
  width: 100%;
}

/* INPUT */
.check_with_discount input {
  display: flex;
  height: 48px;
  padding: 16px;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  border-radius: 8px 0 0 8px;
  border: none;
  background: var(--Base-White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

/* BUTTON */
.check_with_apply_btn {
  display: flex;
  width: 75px;
  height: 48px;
  padding: 16px;
  align-items: center;
  gap: 8px;
  border-radius: 0 8px 8px 0;
  border: none;
  border-left: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

.sub_tt {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}


/* TOTAL */
.check_with_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 0px;
}


.terms-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

/* Hide default checkbox */
.custom-checkbox input {
  display: none;
}

/* Custom checkbox */
.checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  /* makes it round */
  display: inline-block;
  position: relative;
  top: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Checked state */
.custom-checkbox input:checked+.checkbox-mark {
  background-color: #1a73e8;
  border-color: #1a73e8;
}

/* Check icon */
.checkbox-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
}

/* Show check when checked */
.custom-checkbox input:checked+.checkbox-mark::after {
  opacity: 1;
}

/* Links styling */
.terms-link {
  color: var(--Colours-Primary, #0166ED);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 174%;
  margin-bottom: 0px;
  text-decoration: none;
}






/* CAPTCHA */
.check_with_captcha {
  margin-top: 10px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
}

/* BUTTON */
.check_with_btn {
  display: flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  /* CTA - Resting */
  box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.10), 7px 7px 20px 0 rgba(0, 0, 0, 0.10), 2px 2px 4px 0 rgba(255, 255, 255, 0.50) inset;
  color: var(--Base-White, #FFF);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  width: 100%;
  border: none;

}

.check_with_btn:hover {
  background: #297FF2;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.08), 6px 6px 18px 0 rgba(0, 0, 0, 0.08), 1px 1px 3px 0 rgba(255, 255, 255, 0.40) inset;
}

/* PAYMENT */
.check_with_payment {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.check_with_payment img {
  height: 22px;
}

/* Success Message */
.coupon-success {
  color: var(--Base-Success-Green, #47B147);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
  margin-top: 10px;

}

/* Error Message */
.coupon-error {
  color: var(--Base-Error-Red, #DF3F3F);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
  margin-top: 10px;

}

#removeCoupon {
  color: var(--Base-Error-Red, #DF3F3F);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
  margin-top: 10px;
}


/* MODAl */

.payment-success-modal .modal-dialog-centered {
  max-width: 772px;
}

/* Scope everything inside this modal only */
.payment-success-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

/* Image Header */
.payment-success-modal .modal-header-img {
  position: relative;
  height: 240px;
  /* background: url('../img/success_desk.png') center/cover no-repeat; */
}

/* Close Button */
.payment-success-modal .modal-header-img .btn-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background-image: none;
  border-radius: 100px;
  border: 1px solid var(--Base-03, #BDBDBD);
  background-color: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  opacity: 1;
  width: 42px;
  height: 42px;
  padding: 0px;
}


/* Body */
.payment-success-modal .modal-body {
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
}

/* Title */
.payment-success-modal .title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* Description */
.payment-success-modal .desc {
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-top: 12px;
  margin-bottom: 40px;
  max-width: 590px;
}

/* Button */
.payment-success-modal .btn-primary-custom {
  display: flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  /* CTA - Resting */
  box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.10), 7px 7px 20px 0 rgba(0, 0, 0, 0.10), 2px 2px 4px 0 rgba(255, 255, 255, 0.50) inset;
  color: var(--Base-White, #FFF);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  width: 100%;
  border: none;
}

.payment-success-modal .btn-primary-custom:hover {
  background: #297FF2;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.08), 6px 6px 18px 0 rgba(0, 0, 0, 0.08), 1px 1px 3px 0 rgba(255, 255, 255, 0.40) inset;
}



/* Scan Food desktop prompt */
.qr_propmt {
  background: var(--Colours-BG, #F5F5F5);
  padding-top: 163px;
}

/* Card */
.sf-card {
  display: flex;
  padding: 50px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 18px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: #F9F9F9;
  max-width: 868px;
}

/* Title */
.sf-title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* Image */
.sf-image img {
  max-width: 244px;
}

/* Description */
.sf-desc {
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  max-width: 768px;
}

.sf-btn-group {
  display: flex;
  max-width: 524px;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

/* Buttons */
.sf-btn-outline {
  display: flex;
  padding: 12px 31px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  border: 1px solid var(--Base-03, #BDBDBD);
  background: var(--Base-Off-White, #FAFAFA);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  width: 100%;
}

.sf-btn-outline:hover {
  background: #f1f1f1;
}


/* QR Modal */
/* Modal backdrop blur */


/* Modal box */
.sf_mod-box {
  border-radius: 20px;
  display: flex;
  padding: 40px 23px;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  max-width: 387px;
  margin: 0px auto;
}

/* Body */
.sf_mod-body {
  width: 100%;
  padding: 0px;
}

/* Title */
.sf_mod-title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* Description */
.sf_mod-desc {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 32px;
  margin-top: 16px;

}

/* QR */
.sf_mod-qr {
  margin-bottom: 32px;
}

.sf_mod-qr img {
  width: 159.108px;
  height: 159.108px;
  margin: auto;
}


/* Scanned Recipe */
.scan_recipe {
  background: #FAFAFA;
  padding-top: 163px;
}

.scanned_recipe {
  max-width: 707px;
  margin: 0 auto;
}



/* Top icons */
.scanned_recipe .top-icons {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  display: flex;
  padding: 24px !important;
  justify-content: space-between;
  align-items: center;
}

.two_btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon buttons */
.scanned_recipe .icon-btn {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background-color: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02) !important;

}

.meal_content {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-radius: 18px;
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  margin-top: -16px;
  position: relative;
}

.date_time {
  color: var(--Base-02, #727272);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.date_time span {
  color: var(--Base-02, #727272);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

.meal_img_sec_image {
    height: 430px !important;
    background-color: white !important;
    border-radius: 18px 18px 0 0 !important;
}

.dish_name {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.dish_desc {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
}


.dish_time_bx {
  display: flex;
  padding-top: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
}

/* Icon images */
.scanned_recipe .icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-img_fire {
  display: flex;
  width: 77px;
  height: 82px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.macro-box .icon-img {
  width: 45.455px !important;
  height: 34.545px !important;
  object-fit: contain;
}

/* Calories box */
.scanned_recipe .calories-box {
  display: flex;
  height: 116px;
  padding: 16px;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);

  /* Card Shadow */
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
}

.cal_num {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.cal_text {
  color: var(--Base-02, #727272);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}


/* Macro boxes */

.trio_bxx {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  width: 100%;
  flex-wrap: nowrap;
  margin: 0 auto;
}

.col_boxx {
  max-width: 209px;
}

.scanned_recipe .macro-box {
  display: flex;
  padding: 8px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);
  /* Card Shadow */
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 209px;
}

.num_g {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.sub_testt {
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  margin-top: -8px;
}


/* Ingredients */
.scanned_recipe .ingredients-box {
  display: flex;
  padding: 16px 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);
}

.scanned_recipe .ingredients-box p {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  width: 100%;
  margin-bottom: 0px;
  padding-left: 16px;

}

.bbd_line {
  background: #E9E9E9;
  width: 100%;
  margin: 0px;
}

.scanned_recipe .ingredients-box p:last-child {
  border-bottom: none;
}

/* SR NO Image */

.meal_img_sec {
  height: 140px;
}

.meal_content_noimage {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-radius: 18px;
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  margin-top: -16px;
  position: relative;
}

/* ST EDIT */

.edit_meal {
  color: var(--Base-White, #FFF);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: 20px;
}

.sc_edit_serving_card {
  display: flex;
  padding: 24px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);

  /* Card Shadow */
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  width: 100%;

}

/* Center text */
.sc_edit_serving_center h2 {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.sc_edit_serving_center p {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;

}

/* Buttons */
.sc_edit_circle_btn {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
}

.sc_edit_circle_btn:hover {
  transform: scale(1.05);
}

.sc_edit_circle_btn:active {
  transform: scale(0.95);
}




.sc_edit_macros_card {
  display: flex;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
}

/* Title */
.sc_edit_macros_title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* Calories input */
.sc_edit_cal_input {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.sc_edit_input_cal {
  border: none;
  box-shadow: none;
  padding: 10px;
}

.sc_edit_input_cal:focus {
  outline: none;
  box-shadow: none;
}

.check_with_kal_btn {
  display: flex;
  width: 75px;
  height: 48px;
  padding: 16px;
  align-items: center;
  gap: 8px;
  border-radius: 0 8px 8px 0;
  border: none;
  border-left: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  justify-content: center;
}


/* ROW */
.sc_edit_macros_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

/* EACH ITEM */
.sc_edit_macro_item {
  display: flex;
  padding: 8px 0;
  justify-content: center;
  align-items: center;
  gap: 8px;

}

/* LABEL (icon + text inline) */
.sc_edit_macro_label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.sc_edit_macro_label img {
  width: 30.682px;
  height: 23.318px;
  flex-shrink: 0;
}

.sc_edit_macro_label span {
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

/* INPUT BOX */
.sc_edit_macro_input {
  display: flex;
  align-items: flex-start;
}

/* INPUT */
.sc_edit_macro_input input {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px 0 0 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  width: 72px;
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* REMOVE NUMBER ARROWS */
.sc_edit_macro_input input::-webkit-outer-spin-button,
.sc_edit_macro_input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* UNIT (g box on right) */
.sc_edit_macro_input span {
  display: flex;
  width: 39px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 0 8px 8px 0;
  border-top: 1px solid var(--Base-04, #E9E9E9);
  border-right: 1px solid var(--Base-04, #E9E9E9);
  border-bottom: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  justify-content: center;
}


.sc_edit_total_card {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid var(--Colours-Primary, #0166ED);
  background: var(--Colours-Light-Blue, #F0F4F8);
}

/* Title */
.sc_edit_total_title {
  color: var(--Colours-Primary, #0166ED);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* Rows */
.sc_edit_total_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: lowercase;
  margin-bottom: 0px;
  width: 100%;
}

/* Main kcal row */
.sc_edit_total_rowsmal span {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;

}

.sc_edit_total_rowsmal {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;

}

.sc_edit_total_rowsmal p {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

.sc_edit_total_main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
}



/* SECTION */
.sc_edit_section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;

}

.sc_edit_label {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* DATE */
.sc_edit_date_box {
  display: flex;
  padding: 23px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.sc_edit_date_icon {
  font-size: 16px;
}

.sc_edit_date_text {
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.radio_row {
  width: 100%;
  display: flex;
  gap: 16px;
  margin: 0 auto;
}

.colum_bx {
  max-width: 320.5px;
}

/* RADIO CARD */
.sc_edit_radio_card {
  display: flex;
  padding: 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  position: relative;
}

.sc_edit_radio_card input {
  display: none;
}

/* circle */
.sc_edit_radio_circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0.5px solid #BDBDBD;
  background-color: #E9E9E9;
  position: absolute;
  left: 16px;
}

/* active state */
.sc_edit_radio_card.active {
  border-radius: 8px;
  border: none;
  background: var(--Colours-Light-Blue, #F0F4F8);
  box-shadow: 0 0 0 3px #B8D3F7, 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.sc_edit_radio_card p {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
}

/* ACTIVE STATE (blue ring) */
.sc_edit_radio_card.active .sc_edit_radio_circle {
  background: #0166ED;
  /* blue background */
  border: none;
  /* remove border */
}

/* INNER WHITE HOLE */
.sc_edit_radio_card.active .sc_edit_radio_circle::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  /* match your background */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* TEXTAREA */
.sc_edit_textarea {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  height: 110px !important;
  resize: none;
  overflow: hidden;
}

/* BUTTON */
.update_with_btn {
  display: flex;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  /* CTA - Resting */
  box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.10), 7px 7px 20px 0 rgba(0, 0, 0, 0.10), 2px 2px 4px 0 rgba(255, 255, 255, 0.50) inset;
  color: var(--Base-White, #FFF);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  width: 100%;
  border: none;
  max-width: 611px;
  margin-left: auto;
  margin-right: auto;

}

.update_with_btn:hover {
  background: #297FF2;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.08), 6px 6px 18px 0 rgba(0, 0, 0, 0.08), 1px 1px 3px 0 rgba(255, 255, 255, 0.40) inset;
}


/* Confirm Recipe Changes MODAL */


.modal_caution {
  max-width: 692px;
}

/* Modal Box */
.sc_edit_modal_content {
  display: inline-flex;
  padding: 40px 119px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-radius: 12px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02), 0 -1px 3.584px 0 rgba(0, 0, 0, 0.02);
}

/* Icon */
.sc_edit_modal_icon {
  display: flex;
  width: 92px !important;
  height: 92px !important;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  margin: 0px auto 32px;
}

/* Title */
.sc_edit_modal_title {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 16px;
}

/* Text */
.sc_edit_modal_text {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 32px;

}

/* Buttons */
.sc_edit_btn_outline {
  display: flex;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  width: 100%;
}

.sc_edit_btn_primary {
  display: flex;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex: 1 0 0;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  color: var(--Base-White, #FFF);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  outline: none;
  border: 0px;
  width: 100%;

}

/* Scan Food Camera */

.camera_s {
  padding-top: 163px;
}

.sc_edit_scan_container {
  display: flex;
  max-width: 707px !important;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

/* HEADER */
.sc_edit_header h5 {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 52px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.sc_edit_scan_container .icon-btn {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background-color: var(--Base-Off-White, #FAFAFA);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02) !important;

}

/* CAMERA */
.sc_edit_camera_wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  border-radius: 16px 16px;
  border: 1px solid #F2F2F2;
  max-height: 662px
}

#camera-video,
#camera-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
  border-radius: 16px 16px;
  border: 1px solid #F2F2F2;
}

#camera-fallback {
  display: none;
}

.sc_edit_camera_img {
  width: 100%;
  object-fit: cover;
  border: 1px solid #F2F2F2;
}


.scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

/* Corners */
.corner {
  position: absolute;
  width: 50px;
  height: 50px;
}

.corner::before,
.corner::after {
  content: '';
  position: absolute;
  background: var(--scan-color);
  border-radius: 3px;
}

/* Individual corners */
.corner-tl {
  top: 30px;
  left: 30px;
}

.corner-tr {
  top: 30px;
  right: 30px;
}

.corner-bl {
  bottom: 90px;
  left: 30px;
}

.corner-br {
  bottom: 90px;
  right: 30px;
}

/* Lines */
.corner-tl::before,
.corner-tr::before,
.corner-bl::before,
.corner-br::before {
  width: 4px;
  height: 30px;
}

.corner-tl::after,
.corner-tr::after,
.corner-bl::after,
.corner-br::after {
  width: 30px;
  height: 4px;
}


.scan-line-wrap {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: calc(100% - 120px);
  overflow: hidden;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--scan-color), transparent);
  box-shadow: 0 0 12px 3px rgba(76, 175, 80, 0.5);
  animation: scanMove 2.2s ease-in-out infinite;
}

@keyframes scanMove {
  0% {
    top: 0;
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0.6;
  }
}

.scan-status {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: dm sans;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 6;
}

.scan-status.detected {
  background: rgba(76, 175, 80, 0.8);
}


.permission-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a2a1a, #0d1a0d);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 10;
  border-radius: var(--radius);
  color: #fff;
}

.allow-btn {
  background: var(--scan-color);
  color: #fff;
  border-radius: 30px;
  padding: 12px 32px;
}

.flash-effect {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
}

.flash-effect.flash {
  animation: flashAnim 0.35s ease-out;
}

@keyframes flashAnim {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

#sc_edit_canvas {
  display: none;
}

/* Result MOdal */

.result-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
}

.result-modal.show {
  display: flex;
}

.result-card {
  background: var(--white);
  border-radius: 28px 28px 0 0;
  padding: 28px;
}



/* Toggle stays same */
.sc_edit_toggle {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 4px;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 100px;
  background: var(--Base-04, #E9E9E9);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;

}


.sc_edit_toggle_btn {
  border: none;
  background: transparent;
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  display: flex;
  width: 146px;
  padding: 4px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sc_edit_toggle_btn.active {
  display: flex;
  width: 144px;
  padding: 4px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--Base-White, #FFF);
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
}

/* ACTIONS */
.sc_edit_actions {
  display: flex;
  padding: 16px 24px;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  border-radius: 0 0 16px 16px;
  border: 1px solid #F2F2F2;
  background: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
  width: 100%;
  margin-top: -24px;
}

.sc_edit_small_btn {
  display: flex;
  max-width: 164px;
  width: 100%;
  gap: 32px;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 155%;
  /* 27.9px */
  text-transform: capitalize;
  margin-bottom: 0px;
  padding: 9px 22px;
  justify-content: center;
  align-items: center;
}

/* CAPTURE BUTTON */
.sc_edit_capture_btn {
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: #DF3F3F;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px #DF3F3F;
  animation: pulse-red 2s infinite;

}

@keyframes pulse-red {

  0%,
  100% {
    box-shadow: 0 0 0 3px var(#DF3F3F);
  }

  50% {
    box-shadow: 0 0 0 6px #DF3F3F;
  }
}

/* Scan food Modal */
/* Modal */
.modal_customm {
  max-width: 784px;
}

.sc_edit_modal_box {
  display: flex;
  padding: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-radius: 12px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02), 0 -1px 3.584px 0 rgba(0, 0, 0, 0.02);
}

#sc_edit_carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.modall_bdy_custom {
  width: 100%;
  padding: 0px;
}

/* Images */
.sc_edit_images {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 32px;
}

.sc_edit_img_box {
  position: relative;
  width: 303px;
  height: 361px;
}

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

/* Badge */
.sc_edit_badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 59.852px;
  height: 59.855px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc_edit_badge.success svg {
  position: fixed;
}

.sc_edit_badge.error svg {
  position: fixed;
}

.carousse_item_custom h5 {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 16px;
}


.carousse_item_custom p {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  margin-bottom: 16px;
  max-width: 483px;
  margin-left: auto;
  margin-right: auto;
}



/* DOTS */
.sc_edit_dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  margin-bottom: 32px;
  transform: translateX(0%);
}


.sc_edit_dots button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #D9D9D9 !important;
  border: none !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.sc_edit_dots button.active {
  width: 10px !important;
  height: 10px !important;
  border-radius: 10px;
  background: #0166ED !important;
}

#sc_edit_carousel {
  position: relative;
}


.flash_btn {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.95);

}


/* AI Chat */

.ai_chaat {
  padding-top: 163px;
  background-image: url(../img/scan_foo_bg.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* CONTAINER */
.ai_chat_container {
  display: flex;
  width: 100%;
  max-width: 707px !important;
  padding: 40px 0px 0px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
  border-radius: 26px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);
}

.ai_chatinisde {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* HEADER */
.ai_chat_header {
  padding: 0px 32px 0px;
  width: 100%;
}

.ai_icon_btn {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 9px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 100px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);

  /* Card Shadow */
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);
}

.ai_chat_header h5 {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.24px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.roog {
  margin-top: -10px;
}


.ai_chat_icon_btn {
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

/* ICON BUTTON */
.ai_chat_icon_btn img {
  width: 18px;
  height: 18px;
}

/* ROBOT IMAGE */
.ai_chat_robot {
  width: 24px;
  height: 24px;
}

/* CARD ICONS */
.ai_chat_card_icon {
  object-fit: contain;
}

/* INPUT ICONS */
.ai_chat_plus_btn img,
.ai_chat_mic_btn img,
.ai_chat_wave_btn img {
  width: 20px;
  height: 20px;
}

/* CENTER ICON INSIDE BUTTON */
.ai_chat_plus_btn,
.ai_chat_mic_btn,
.ai_chat_wave_btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BODY */
.ai_chat_body {
  padding: 74px 30px 0px;
  flex: 1;
}

.ai_chat_hello {
  color: var(--Base-01, #383838);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 16px;
}

.ai_chat_heading {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 39px */
  letter-spacing: -0.18px;
  text-transform: capitalize;
  margin-bottom: 30px;
}

/* CARDS */
.ai_chat_cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.ai_chat_card {
  display: flex;
  padding: 16px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-Off-White, #FAFAFA);
  width: 100%;
  max-width: 308.5px;
  max-height: 179px;
}



.ai_chat_card h6 {
  color: var(--Colours-Text, #001D40);
  text-align: center;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  /* 26px */
  letter-spacing: -0.12px;
  text-transform: capitalize;
  margin-bottom: 0px;
}

.ai_chat_card p {
  color: var(--Base-02, #727272);
  text-align: center;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-top: -4px;
  margin-bottom: 0px;
}

/* INPUT BAR */
.ai_chat_input_bar {
  display: flex;
  padding: 26px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.05);
  background: var(--Base-Off-White, #FAFAFA);
  border-radius: 0px 0px 25px 25px;
  position: relative;
  margin-top: 71px;
}

.ai_chat_input_bar input {
  display: flex;
  padding: 8px 12px;
  align-items: center;
  gap: 4px;
  flex: 1 0 0;
  border-radius: 100px;
  background: var(--Base-White, #FFF);
  overflow: hidden;
  color: var(--Base-02, #727272);
  text-overflow: ellipsis;
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 0px;
  border: none;
  height: 50px;
}

.ai_chat_mic_btn {
  position: absolute;
  right: 100px;

}

.ai_chat_plus_btn,
.ai_chat_mic_btn {
  border: none;
  background: transparent;
  font-size: 18px;
}

.ai_chat_wave_btn {
  display: flex;
  width: 52px;
  height: 52px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  aspect-ratio: 1/1;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.10), 7px 7px 20px 0 rgba(0, 0, 0, 0.10), 2px 2px 4px 0 rgba(255, 255, 255, 0.50) inset;
  border: none;
}

/* WRAPPER */
.ai_chat_dropdown_wrapper {
  position: relative;
}


/* DROPDOWN */
.ai_chat_dropdown_menu {
  position: absolute;
  top: 67px;
  right: 0;
  width: 200px;

  border-radius: 8px;
  border: 1px solid var(--Base-04, #E9E9E9);
  background: var(--Base-White, #FFF);

  /* Card Shadow */
  box-shadow: 0 27.844px 27.028px 0 rgba(0, 0, 0, 0.03), 0 11px 10.075px 0 rgba(0, 0, 0, 0.03), 0 2.406px 3.584px 0 rgba(0, 0, 0, 0.02);

  display: none;
  z-index: 1000;
}

/* SHOW */
.ai_chat_dropdown_menu.active {
  display: block;
}

/* ITEMS */
.ai_chat_dropdown_item {
  display: flex;
  padding: 6px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-bottom: 1px solid var(--Base-04, #E9E9E9);
  color: var(--Colours-Text, #001D40);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
}

.ai_chat_dropdown_item:hover {
  background: #f5f5f5;
}

/* ICONS */
.ai_chat_dropdown_item img {
  width: 18px;
  height: 18px;
}

/* REMOVE DEFAULT FOCUS */
.ai_chat_input_bar input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ai Chat Scrllable  */

/* CONTAINER */
.ai_chat_messages_container {
  display: flex;
  padding: 24px 32px 0px;
  flex-direction: column;
  gap: 30px;
  flex: 1 0 0;
  align-self: stretch;
  width: 100%;
}

/* BOT MESSAGE */


/* 🔥 TOP TEXT STYLE */
.ai_chat_top_text {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 174%;
  /* 26.1px */
  margin-bottom: 12px;
}

/* USER MESSAGE */

.ai_chat_user_msg p {
  color: var(--Base-01, #383838);

  /* Standard - Auto Line */
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
  border-radius: 12px 0 12px 12px;
  background: var(--Base-04, #E9E9E9);
  max-width: 599px;
  display: flex;
  padding: 8px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  margin-left: auto;
}

/* ACTION ICONS */
.ai_chat_actions {
  display: flex;
  gap: 10px;
  margin-top: 0px;
}

.ai_chat_actions button {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.ai_chat_actions img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.ai_chat_actions button:hover img {
  opacity: 1;
}

.ai_chat_bot_msg {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
}

/* TEXT SPACING */
.ai_chat_intro {
  color: var(--Base-01, #383838);
  font-family: "DM Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
}

.ai_chat_question {
  margin-top: 10px;
  margin-bottom: 12px;
}

/* HISTORY DIVIDER */
.ai_chat_history_divider {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
}

/* LINES */
.ai_chat_history_divider::before,
.ai_chat_history_divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #BDBDBD;
}

/* SPACING */
.ai_chat_history_divider span {
  padding: 0 10px;
  white-space: nowrap;
  color: var(--Base-03, #BDBDBD);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0px;
}



/* Ai Chat Audio */

/* USER AUDIO MESSAGE */
.ai_chat_user_msg_audio {
  background: #e5e5e5;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 85%;
  margin-left: auto;
}

/* META (mic + time) */
.ai_chat_msg_meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 5px;
  color: var(--Base-02, #727272);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.ai_chat_msg_meta img {
  width: 12px;
}

/* NUTRITION TEXT */
.ai_chat_nutrition {
  margin: 8px 0;
}

.ai_chat_waveform_img {
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}





/* AUDIO BAR */
.ai_chat_audio_bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 10px;
}

/* WAVEFORM */
.ai_chat_waveform {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}

.ai_chat_waveform span {
  width: 2px;
  height: 15px;
  background: #1e66d0;
  border-radius: 2px;
  opacity: 0.4;
}

/* CONTROLS */
.ai_chat_audio_controls {
  display: flex;
  padding: 0 26px 32px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  width: 100%;
}



/* CENTER MIC */
.ai_chat_audio_main {
  display: flex;
  width: 62px;
  height: 62px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-radius: 100px;
  background: var(--Colours-Primary, #0166ED);
  box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.10), 7px 7px 20px 0 rgba(0, 0, 0, 0.10), 2px 2px 4px 0 rgba(255, 255, 255, 0.50) inset;
  border: none;
}

.ai_chat_audio_main img {
  width: 20px;
}

/* ICONS */
.ai_chat_audio_icon img {
  width: 18px;
}