/* ===============================
   MODAL STYLES
   =============================== */
.modal {
  flex-direction: column;
  align-items: center;
  height: fit-content;
  /* justify-content: center; */
  border-radius: 20px;
  box-shadow: 0 0 0 100vmax #00000022;
  position: fixed;
  z-index: 40;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  opacity: 0;
  border: none;
  font-weight: 400;
  color: var(--gray-7);
}
.modal[open] {
  display: flex;
  opacity: 1;
}
.onboarding-modal > .heading {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  margin-bottom: 20px;
}
.modal .body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  flex: 1;
  width: 100%;
  overflow-y: scroll;
  overflow-x: visible;
  transition: all 0.3s ease;
}
.modal > .modal-heading {
  padding: 2rem;
  color: var(--black);
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
}
.modal > .modal-body {
  padding: 2rem;
  /* padding-top: 0; */
}

/* ===============================
   ONBOARDING MODAL STYLES
   =============================== */
.onboarding-modal {
  width: 800px;
  height: 600px;
  padding: 2rem;
  border-radius: 20px;
  background-image: url(../assets/images/bg-image.png);
  background-size: 80% auto;
  /* background-attachment: fixed; */
  background-position: center bottom;
  background-repeat: no-repeat;
  /* animation: dropDown 0.6s ease-out 2s forwards; */
  border: none;
}
.onboarding-modal.modal-visible {
  animation: dropDown 0.6s ease-out forwards;
}
@keyframes dropDown {
  0% {
    transform: translate(-50%, -150%);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -55%);
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
.onboarding-modal > .heading p,
.modal-heading p {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--font-size-3);
}
.onboarding-modal > .heading ul {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-3);
}
.onboarding-modal > .heading li a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-3);
  color: var(--gray-5);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.onboarding-modal > .heading li.active a {
  background-color: var(--red-5);
  color: var(--white);
}
.onboarding-modal > .heading button,
.profile-modal > .modal-heading button,
#back-button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.onboarding-modal > .body {
  /* padding-block: 33px; */
}
.onboarding-modal > .body img {
  width: 250px;
}
.onboarding-modal > .body > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 300px;
  text-align: center;
}
.onboarding-modal > .body h2 {
  font-size: var(--font-size-9);
  color: var(--black);
}
.onboarding-modal .modal-text {
  line-height: 1.4rem;
}
#back-button {
  font-size: var(--font-size-3);
  color: var(--black);
  border: 3px solid;
  background-color: transparent;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 40px;
  gap: 10px;
  cursor: pointer;
  opacity: 0.85;
  transition: background-color 0.3s ease;
  border: none;
  outline: none;
  margin-top: 1rem;
  background-image: none;
}
#back-button:hover {
  color: var(--blue-2);
}
.steps {
  padding-bottom: 2rem;
}
.steps > .heading ul {
  display: flex;
}
#step-1 img {
  width: 200px;
  height: auto;
  padding-top: 8rem;
}
#step-1 > div.body > form .form-group {
  padding-bottom: 40px;
}
#step-2 > div.body > form .form-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}
.steps .body {
  gap: 0;
  width: 100%;
  padding-bottom: 2rem;
  flex: 1;
  overflow-y: scroll;
}
.steps .body > div {
  width: 100%;
  padding-block: 1rem;
}
.steps .body > div > p {
  width: 400px;
  padding-block: 1rem;
  padding-top: 0;
  line-height: 1.5rem;
}
.steps form {
  width: 500px;
  padding-top: 10px;
}
.floating-controls.dropdown label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  cursor: pointer;
}
.floating-controls > ul {
  border: 1px solid var(--gray-2);
  position: absolute;
  border-radius: 20px;
  height: fit-content;
  background-color: var(--white);
  width: 250px;
  padding-bottom: 1rem;
  right: 0;
  top: -10.5rem;
  display: none;
  z-index: 10;
  box-shadow: 0px 4px 20px 0px #0000000d;
}
.floating-controls .dropdown-container {
  border: 1px solid var(--gray-2);
  height: fit-content;
  background-color: var(--white);
  width: fit-content;
}
.floating-controls.dropdown button {
  cursor: pointer;
  text-transform: capitalize;
}
.floating-controls.dropdown img {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.floating-controls.dropdown.open img {
  transform: rotate(180deg);
}
.floating-controls.open > ul,
.floating-controls.dropdown.open .dropdown-container {
  display: block;
  opacity: 1;
}
.floating-controls.dropdown.selected label {
  width: fit-content;
}
/* .floating-controls.dropdown.selected img {
  display: none;
} */
.floating-controls > ul span {
  margin-bottom: 10px;
}
.floating-controls > ul li,
.floating-controls > ul span {
  width: 100%;
  text-align: left;
}
.floating-controls > ul span,
.floating-controls .dropdown-heading {
  padding: 20px 25px;
  border-bottom: 1px solid var(--gray-2);
  font-size: var(--font-size-1);
  display: block;
}
.floating-controls > ul li {
  display: block;
  font-size: var(--font-size-2);
  color: var(--black);
  cursor: pointer;
  padding: 0.5rem 1rem;
  margin-inline: 10px;
  width: calc(100% - 20px);
}
.floating-controls > ul li:hover {
  color: var(--yellow-4);
  background-color: var(--yellow-2);
}
.floating-controls .dropdown-container {
  width: 420px;
  background-color: var(--white);
  z-index: 20;
  font-size: var(--font-size-2);
}
.floating-controls .dropdown-heading {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
}
.floating-controls .clock-icon {
  width: 24px !important;
  padding: 0 !important;
}
.hand-icon,
.right-arrow {
  width: 20px !important;
  padding: 0 !important;
}
.close-icon {
  width: 14px !important;
  padding: 0 !important;
}
.floating-controls .dropdown-heading p {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  color: var(--black);
}
.floating-controls .dropdown-container ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.8rem;
  gap: 1rem;
}
.floating-controls .dropdown-container ul li {
  border-radius: 15px;
  padding: 0.3rem 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-controls .dropdown-container ul li:hover {
  background-color: var(--red-1);
}
.floating-controls .dropdown-container ul li.active {
  border-radius: 15px;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--red-5);
  color: var(--red-5);
}
.floating-controls .hint {
  width: 100%;
  text-align: right;
  font-size: var(--font-size-1);
  margin-top: -10px;
  margin-bottom: 30px;
  padding-right: 10px;
  display: block;
}
.floating-controls .info {
  width: 100%;
  font-size: var(--font-size-1);
  /* margin-top: -10px; */
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.floating-controls.phone-number label {
  position: absolute;
  left: 12px;
  background-color: var(--white);
  pointer-events: none;
  transition: 0.3s;
  padding: 0 4px;
  background-color: transparent;
  font-size: var(--font-size-2);
}
.floating-controls.phone-number input:focus + label,
.floating-controls.phone-number input:not(:placeholder-shown) + label {
  font-size: var(--font-size-1);
}
.floating-controls.phone-number input:focus + label,
.floating-controls.phone-number input:not(:placeholder-shown) + label {
  background-color: var(--white);
}
.form-group .checkbox {
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 10px;
}
.form-group .checkbox span {
  color: var(--gray-7);
  font-size: var(--font-size-1);
  width: fit-content;
}
#step-4 > .body {
  flex: 1;
  overflow-y: scroll;
}
.steps > .body {
  padding-block: 30px;
}
#step-4 > .body > div,
#step-4 > .body h2 {
  width: 450px;
}
#map1,
#map2 {
  padding: 20px 0 !important;
  width: 60% !important;
  height: 400px;
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 0;
}
#step-4 .location-button {
  color: var(--blue-2);
  padding-bottom: 20px;
  font-size: 12px;
}
#great {
  padding-bottom: 6rem;
}
#great img {
  width: 230px;
  height: auto;
  padding-top: 2rem;
}
#great .body a {
  margin-top: 2rem;
}

/* ===============================
   CUSTOMER AND DRIVER PARTNER MODAL STYLES
   =============================== */
.profile-modal {
  width: 1100px;
  height: 95vh;
  border-radius: 20px;
  opacity: 1;
}
#partner-profile.profile-modal {
  width: 900px;
}
.profile-modal > .modal-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
  gap: 1.5rem;
  width: calc(100% - 3rem);
  height: 90%;
  overflow-y: hidden;
  padding: 0;
}
#partner-profile.profile-modal > .modal-body {
  grid-template-columns: 57% 40% !important;
}
.profile-modal .column-one {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: scroll;
}
.profile-modal .column-one .user-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 20px;
  gap: 10px;
}
.profile-modal .column-one .user-details .avatar {
  width: 120px;
}
.profile-modal .column-one .user-details .distance {
  color: var(--green-4);
}
.profile-modal .review-list-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  grid-column: 2 / span 2;
  height: 100%;
  overflow: hidden;
}
.profile-modal .column-one .user-details .name,
.profile-modal .column-one .analytics ul li .number,
.profile-modal .column-two .reviews-container p .number {
  font-size: var(--font-size-7);
  color: var(--black);
  font-weight: 500;
}
.profile-modal .column-one .analytics ul li .number,
.profile-modal .column-two .reviews-container p .number {
  line-height: 1.8rem;
}
.profile-modal .column-one .user-details > div {
  width: 100%;
}
.profile-modal .column-one .user-details p {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 5px;
}
.profile-modal .column-one .user-analytics {
  background-color: var(--yellow-2);
  padding: 20px;
  border-radius: 20px;
}
.profile-modal .column-one .analytics,
.profile-modal .column-one .last-record,
.profile-modal .column-one .last-record p,
.profile-modal .column-two .reviews-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.profile-modal .column-one .last-record svg {
  color: var(--yellow-4);
  width: 17px;
}
.profile-modal .column-one .analytics {
  align-items: flex-start;
}
.profile-modal .column-one .analytics ul,
.profile-modal .column-one .analytics ul li,
.profile-modal .column-two .reviews-container p,
.profile-modal .column-two .reviews-details,
.profile-modal .reviews-details .review-card .review > div,
.profile-modal .reviews-details .reviews {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-modal .column-one .analytics ul li,
.profile-modal .column-two .reviews-container p {
  gap: 0;
}
.profile-modal .column-one .last-record {
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid var(--gray-2);
}
.profile-modal .column-one .last-record p {
  color: var(--black);
}
.profile-modal .column-one button,
.block-modal .button-section button {
  padding: 15px 25px;
  border-radius: 30px;
  width: fit-content;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  gap: 10px;
  margin-top: 40px;
  font-size: var(--font-size-3);
}
.profile-modal .column-one .block,
.block-modal.block .button-section button:first-child {
  border: 1px solid var(--red-5);
  color: var(--red-5);
}
.profile-modal .column-one .unblock,
.block-modal.unblock .button-section button:first-child {
  border: 1px solid var(--blue-2);
  color: var(--blue-2);
}
.profile-modal .column-two,
.profile-modal .column-three {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow-y: hidden;
  width: 100%;
}
.profile-modal .column-two .reviews-container {
  padding: 20px;
  border-bottom: 1px solid var(--gray-2);
}
.profile-modal .reviews-details {
  overflow-y: auto;
  gap: 15px;
  padding-top: 15px;
  height: 100%;
  scrollbar-width: none;
}
.profile-modal .reviews-details .select-dropdown,
.profile-modal .reviews-section .select-dropdown {
  display: flex;
  justify-content: flex-end;
}
.profile-modal .reviews-details .dropdown-button,
.profile-modal .reviews-section .dropdown-button {
  color: var(--gray-7);
  cursor: pointer;
  position: relative;
  right: 0;
}
.profile-modal .reviews-details .reviews {
  gap: 20px;
  overflow-y: auto;
  height: 100%;
}
.profile-modal .reviews-details .review-card,
#review .review-container .review-card {
  background-color: var(--yellow-2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--yellow-2);
}
.profile-modal .column-three .reviews-details .review-card,
#partner-profile.profile-modal .column-two .reviews-details .review-card {
  background-color: var(--gray-1);
  border: 1px solid var(--gray-1);
}
.profile-modal .reviews-details .review-card .review,
#review .review-container .review-card .review {
  padding: 15px;
  display: flex;
  gap: 15px;
}
.profile-modal .reviews-details .review-card .review > div,
#review .review-container .review-card .review > div {
  gap: 2px;
  flex: 1;
}
.profile-modal .reviews-details .review-card .review .title,
#review .review-container .review-card .review .title {
  display: flex;
  justify-content: space-between;
}
.profile-modal .reviews-details .review-card .review .title button,
.profile-modal .reviews-details .review-card.commented .review .reply,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .review
  .reply,
.profile-modal .reviews-details .review-card .review .chat-bubble,
#review .review-container .review-card .review .title button,
#review .review-container .review-card.commented .review .reply,
#review
  .review-container
  .review-card.restaurant-review.commented
  .review
  .reply,
#review .review-container .review-card .review .chat-bubble {
  display: none;
}
.profile-modal .reviews-details .review-card.commented .review .title button,
.profile-modal .reviews-details .review-card .review .reply,
.profile-modal .reviews-details .review-card.commented .review .chat-bubble,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .review
  .chat-bubble,
#review .review-container .review-card.commented .review .title button,
#review
  .review-container
  .review-card.restaurant-review.commented
  .review
  .title
  button,
#review .review-container .review-card .review .reply,
#review .review-container .review-card.commented .review .chat-bubble {
  display: flex;
}
.profile-modal .reviews-details .review-card .review .title,
.profile-modal .reviews-details .review-card.commented .comment .title,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .title,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .title,
#review .review-container .review-card.commented .comment .title,
#review .review-container .review-card .review .title {
  color: var(--black);
  font-size: var(--font-size-4);
}
.profile-modal .reviews-details .review-card .review .id,
#review .review-container .review-card .review .id {
  font-size: var(--font-size-2);
  color: var(--gray-5);
}
.profile-modal .reviews-details .review-card .review .text,
.profile-modal .reviews-details .review-card.commented .comment-box .text,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box
  .text,
#review .review-container .review-card .review .text,
#review .review-container .review-card.commented .comment-box .text,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  padding-top: 10px;
  font-size: 12px;
}
.profile-modal .reviews-details .review-card .review .other-info,
.profile-modal .reviews-details .review-card .review .other-info p,
.profile-modal .reviews-details .review-card.commented .comment .other-info,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .other-info,
.profile-modal .reviews-details .review-card.commented .comment .other-info p,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p,
.profile-modal .reviews-details .review-card .review .reply,
.profile-modal .reviews-details .review-card .review .reply button,
.profile-modal .reviews-details .review-card .comment-box,
.profile-modal .reviews-details .review-card .comment-box .comment-input,
#review .review-container .review-card .review .other-info,
#review .review-container .review-card .review .other-info p,
#review .review-container .review-card.commented .comment .other-info,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .other-info,
#review .review-container .review-card.commented .comment .other-info p,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p,
#review .review-container .review-card .review .reply,
#review .review-container .review-card .review .reply button,
#review .review-container .review-card .comment-box,
#review .review-container .review-card .comment-box .comment-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  font-size: 12px;
}
.profile-modal .reviews-details .review-card .review .other-info p,
.profile-modal .reviews-details .review-card.commented .comment .other-info p,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p,
#review .review-container .review-card .review .other-info p,
#review .review-container .review-card.commented .comment .other-info p,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p {
  justify-content: flex-start;
  gap: 5px;
  font-weight: 600;
  color: var(--black);
}
.profile-modal .reviews-details .review-card .review .other-info p,
.profile-modal .reviews-details .review-card.commented .comment .other-info p,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p,
#review .review-container .review-card .review .other-info p,
#review .review-container .review-card.commented .comment .other-info p,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .other-info
  p {
  padding: 0;
}
.profile-modal .reviews-details .review-card .review .reply,
#review .review-container .review-card .review .reply {
  justify-content: flex-end;
  padding: 0;
  height: fit-content;
  display: none;
}
.profile-modal .reviews-details .review-card.restaurant-review .review .reply,
#review .review-container .review-card.restaurant-review .review .reply {
  display: flex;
}
.profile-modal .reviews-details .review-card .review .reply button,
#review .review-container .review-card .review .reply button {
  gap: 5px;
  padding-bottom: 0;
  color: var(--yellow-4);
}
.profile-modal .reviews-details .review-card .comment-box,
#review .review-container .review-card .comment-box {
  padding: 10px 20px;
  background-color: var(--white);
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 10px;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
  display: none;
}
.profile-modal .reviews-details .review-card.commented .comment-box,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box,
#review .review-container .review-card.commented .comment-box,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box {
  align-items: flex-start;
}
.profile-modal .reviews-details .review-card.open .comment-box,
#review .review-container .review-card.open .comment-box {
  display: flex;
}
.profile-modal .reviews-details .review-card .comment-content,
#review .review-container .review-card .comment-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile-modal
  .reviews-details
  .review-card
  .comment-content
  .comment:first-child,
#review .review-container .review-card .comment-content .comment:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-modal
  .reviews-details
  .review-card
  .comment-content
  .comment:last-child,
#review .review-container .review-card .comment-content .comment:last-child {
  display: none;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-content
  .comment:first-child,
#review
  .review-container
  .review-card.commented
  .comment-content
  .comment:first-child,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-content
  .comment:first-child,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-content
  .comment:first-child {
  display: none;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-content
  .comment:last-child,
#review
  .review-container
  .review-card.commented
  .comment-content
  .comment:last-child,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-content
  .comment:last-child,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-content
  .comment:last-child {
  display: flex;
}
.profile-modal .reviews-details .review-card.open .reply,
#review .review-container .review-card.open .reply {
  display: none;
  transition: height 2s ease;
  height: 0;
}
.profile-modal
  .reviews-details
  .review-card.restaurant-review.open
  .review
  .reply,
#review .review-container .review-card.restaurant-review.open .review .reply {
  display: none;
}
.profile-modal .reviews-details .review-card .title .arrow,
#review .review-container .review-card .title .arrow {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}
.profile-modal .reviews-details .review-card.open .title .arrow,
#review .review-container .review-card.open .title .arrow {
  transform: rotate(180deg);
}
.profile-modal .reviews-details .review-card .comment-box .comment-input,
#review .review-container .review-card .comment-box .comment-input,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  .comment-input,
#review
  .review-container
  .review-card.commented
  .comment-box.edit
  .comment-input {
  border: 1px solid var(--gray-2);
  padding: 5px 20px;
  padding-right: 10px;
  border-radius: 18px;
  flex: 1;
}
.profile-modal .reviews-details .review-card .comment-box input,
#review .review-container .review-card .comment-box input,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  textarea,
#review .review-container .review-card.commented .comment-box.edit textarea {
  border: none;
  outline: none;
  font-size: var(--font-size-2);
}
.profile-modal .reviews-details .review-card .comment-box .comment-input button,
#review .review-container .review-card .comment-box .comment-input button {
  background-color: var(--green-4);
  padding: 5px 5px 1px;
  border-radius: 50px;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  .comment-input,
#review
  .review-container
  .review-card.commented
  .comment-box.edit
  .comment-input,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input {
  border: 1px solid var(--gray-2);
  padding-left: 12px;
  padding-right: 10px;
  border-radius: 18px;
  flex: 1;
  align-items: flex-end;
}
.profile-modal .reviews-details .review-card .comment-box .close-icon,
#review .review-container .review-card .comment-box .close-icon {
  width: 10px !important;
}
.profile-modal .reviews-details .review-card.commented .review > div > .title,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .review
  > div
  > .title,
#review .review-container .review-card.commented .review > div > .title,
#review
  .review-container
  .review-card.restaurant-review.commented
  .review
  > div
  > .title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-modal .reviews-details .review-card .review .other-info,
#review .review-container .review-card .review .other-info {
  padding-bottom: 0;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment
  .other-info
  .edit,
#review .review-container .review-card.commented .comment .other-info .edit,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  .other-info
  .edit,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  .other-info
  .edit {
  color: var(--yellow-4);
  font-weight: 500;
}
.profile-modal .reviews-details .review-card.commented .comment-box,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box,
#review .review-container .review-card.commented .comment-box,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box {
  align-items: flex-start;
}
.profile-modal .reviews-details .review-card.commented .comment > div,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment
  > div,
#review .review-container .review-card.commented .comment > div,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment
  > div {
  width: 100%;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box
  .comment-input,
#review .review-container .review-card.commented .comment-box .comment-input,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box
  .comment-input,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  .comment-input {
  /* padding-left: 0; */
  border: none;
  padding: 0;
  color: var(--gray-7);
  width: 100%;
}
.profile-modal .reviews-details .review-card.commented .comment-box textarea,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box
  textarea,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  textarea,
#review .review-container .review-card.commented .comment-box textarea {
  display: none;
  resize: none;
  color: var(--gray-7);
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box
  .comment-input
  button,
.profile-modal .reviews-details .review-card.commented .comment-box.edit .edit,
.profile-modal .reviews-details .review-card.commented .comment-box.edit .title,
.profile-modal .reviews-details .review-card.commented .comment-box.edit .date,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  .comment-input
  button,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .edit,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .title,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .date,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box
  .comment-input
  button,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .edit,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .title,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .date,
#review
  .review-container
  .review-card.commented
  .comment-box
  .comment-input
  button,
#review .review-container .review-card.commented .comment-box.edit .edit,
#review .review-container .review-card.commented .comment-box.edit .title,
#review .review-container .review-card.commented .comment-box.edit .date {
  display: none;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  .other-info,
#review .review-container .review-card.commented .comment-box.edit .other-info,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .other-info,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .other-info {
  justify-content: flex-end;
  padding-bottom: 0;
}
.profile-modal .reviews-details .review-card.commented .comment-box .edit,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box
  .edit,
#review .review-container .review-card.commented .comment-box .edit,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  .edit {
  cursor: pointer;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box
  .cancel-button,
.profile-modal .reviews-details .review-card.commented .comment-box.edit .text,
#review .review-container .review-card.commented .comment-box .cancel-button,
#review .review-container .review-card.commented .comment-box.edit .text,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box
  .cancel-button,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .text,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box
  .cancel-button,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .text {
  display: none;
}
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  .cancel-button,
#review
  .review-container
  .review-card.commented
  .comment-box.edit
  .cancel-button,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .cancel-button,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .cancel-button {
  display: flex;
  font-size: var(--font-size-2);
}
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input
  button,
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  .comment-input
  button,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  .comment-input
  button,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  textarea,
#review
  .review-container
  .review-card.commented
  .comment-box.edit
  .comment-input
  button,
#review .review-container .review-card.commented .comment-box.edit textarea {
  display: block;
}
.profile-modal
  .reviews-details
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
#review
  .review-container
  .review-card.restaurant-review.commented
  .comment-box.edit
  textarea,
.profile-modal
  .reviews-details
  .review-card.commented
  .comment-box.edit
  textarea,
#review .review-container .review-card.commented .comment-box.edit textarea {
  padding-right: 0;
  padding-top: 0;
  text-overflow: inherit;
  height: fit-content;
  min-height: 50px;
  overflow: hidden;
  width: 100%;
}
.profile-modal .reviews-section {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.profile-modal .reviews-section .title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-modal .column-three .reviews-details .reviews {
  scrollbar-width: none;
}

/* ===============================
   BLOCK MODAL STYLES
   =============================== */
.block-modal {
  width: 450px;
  min-height: 400px;
  height: fit-content;
  border-radius: 20px;
  justify-content: flex-start;
  overflow: hidden;
}
.block-modal.open {
  display: flex;
  opacity: 1;
}
.block-modal > .modal-heading,
.confirm-modal > .modal-heading,
.animated-modal > .modal-heading {
  padding: 2rem;
  color: var(--black);
}
.lined-modal > .modal-heading {
  border-bottom: 1px solid var(--gray-2);
}
.block-modal > .modal-body,
.confirm-modal > .modal-body,
.animated-modal > .modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.block-modal > .modal-body h2,
.confirm-modal > .modal-body h2,
.animated-modal > .modal-body h2 {
  font-size: var(--font-size-9);
  text-align: center;
  color: var(--black);
  font-weight: 500;
}
.block-modal > .modal-body .button-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.block-modal.block .button-section button:first-child {
  margin-top: 20px;
}
.block-modal .button-section button:nth-child(2) {
  margin: 0;
  padding: 0;
}
.block-modal.block .button-section button:nth-child(2):hover {
  color: var(--blue-2);
}

/* ===============================
   STORY MODAL STYLES
   =============================== */
.story-modal {
  width: 1000px;
  height: 90vh;
  border-radius: 20px;
  justify-content: space-between;
  overflow: hidden;
  display: none;
  opacity: 1;
}
.story-modal.open {
  display: flex;
  opacity: 1;
}
.story-modal > .modal-body {
  display: grid;
  grid-template-columns: 40% calc(60% - 25px);
  gap: 25px;
  width: 100%;
  justify-content: space-between;
  font-size: var(--font-size-2);
  height: calc(100% - 100px);
  overflow: hidden;
  flex: 1;
  padding-top: 0;
}
.story-modal > .modal-body .column-one,
.story-modal > .modal-body .column-one .select-image-section > div,
.story-modal > .modal-body .column-two,
.story-modal > .modal-body .column-two .section-heading > p,
.story-modal > .modal-body .column-two .story-list .media-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.story-modal > .modal-body .column-one.select .select-image-section {
  display: flex;
}
.story-modal > .modal-body .column-one.select .view-image-section,
.story-modal > .modal-body .column-one.select .crop-image-section {
  display: none;
}
.story-modal > .modal-body .column-one.view .view-image-section {
  display: flex;
}
.story-modal > .modal-body .column-one.view .select-image-section,
.story-modal > .modal-body .column-one.view .crop-image-section {
  display: none;
}
.story-modal > .modal-body .column-one.crop .crop-image-section {
  display: flex;
}
.story-modal > .modal-body .column-one.crop .select-image-section,
.story-modal > .modal-body .column-one.crop .view-image-section {
  display: none;
}
.story-modal > .modal-body .column-one .select-image-section {
  border-radius: 20px;
  gap: 30%;
  padding: 30px;
  background-color: var(--yellow-1);
  width: 100%;
  height: 100%;
  max-height: 100%;
  flex-direction: column;
  align-items: center;
}
.story-modal > .modal-body .column-one .select-image-section > div {
  gap: 20px;
  width: 100%;
}
.story-modal > .modal-body .column-one .select-image-section img {
  width: 200px;
}
.story-modal > .modal-body .column-one .view-image-section {
  flex-direction: column;
  height: 100%;
  width: 100%;
  gap: 15px;
}
.story-modal > .modal-body .column-one .view-image-section .section-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
}
.story-modal > .modal-body .column-one .view-image-section .section-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.story-modal > .modal-body .column-one .view-image-section .crop-image-btn {
  padding: 10px 20px;
}
.story-modal > .modal-body .column-one .view-image-section .image-container {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.story-modal > .modal-body .column-one .view-image-section .send-btn {
  background-color: var(--blue-2);
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
}
.story-modal > .modal-body .column-one .view-image-section .change-photo-btn {
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: 25px;
}
#story-modal > .modal-body .column-one .crop-image-section {
  flex-direction: column;
  align-items: center;
  background-color: var(--yellow-1);
  padding: 10px 20px;
  border-radius: 25px;
}
#story-modal
  > .modal-body
  .column-one
  .crop-image-section
  .edit-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.story-modal
  > .modal-body
  .column-one
  .crop-image-section
  .image-edit-workspace {
  width: 300px;
  height: 350px;
  margin-bottom: 20px;
  background: #f0f0f0;
  position: relative;
  border-radius: 20px;
}
.section-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.story-modal > .modal-body .column-two {
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.story-modal > .modal-body .column-two .section-heading {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
}
.story-modal > .modal-body .column-two .section-heading > p {
  align-items: flex-start;
}
.story-modal > .modal-body .column-two .section-heading .title {
  color: var(--black);
  font-size: var(--font-size-4);
}
.story-modal > .modal-body .column-two .story-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  flex: 1;
  overflow-y: auto;
}
.story-modal > .modal-body .column-two .story-list button {
  width: 100%;
  color: var(--gray-7);
  font-size: var(--font-size-2);
}
.story-modal > .modal-body .column-two .story-list .media-container {
  width: 100%;
  height: 100px;
  background-color: var(--yellow-1);
  border-radius: 15px;
  overflow: hidden;
}
.story-modal > .modal-body .column-two .story-list .media-container img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}
.story-modal > .modal-body .column-two .story-list .media-details {
  padding-block: 10px;
  gap: 3px;
}
.story-modal > .modal-body .column-two .story-list .media-details > span,
.story-preview-modal .modal-body .media-details > span {
  color: var(--gray-5);
}
.story-modal > .modal-body .column-two .story-list .media-details > div,
.story-modal > .modal-body .column-two .story-list .media-details > div p,
.story-preview-modal .modal-body .media-details,
.story-preview-modal .modal-body .media-details > div,
.story-preview-modal .modal-body .media-details > div p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-modal > .modal-body .column-two .story-list .media-details > div p,
.story-preview-modal .modal-body .media-details > div p {
  gap: 5px;
}
.story-preview-modal {
  width: 350px;
  height: 90vh;
  border-radius: 20px;
  justify-content: space-between;
  overflow: hidden;
  display: flex;
  opacity: 1;
  padding: 0;
  background-color: var(--black);
  color: var(--white);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
#story-preview-modal::before,
#story-preview-modal::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}
#story-preview-modal::before {
  height: 159px;
}
#story-preview-modal::after {
  height: 80px;
}
#story-preview-modal::before {
  top: 0;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}
#story-preview-modal::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.579), transparent);
}
.story-preview-modal .modal-heading {
  background-color: transparent;
  padding: 2rem 2rem 1rem;
}
.story-preview-modal .logo-section {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: none;
  width: fit-content;
}
.story-preview-modal .logo-section p {
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--white);
}
.story-preview-modal .logo-section span {
  color: var(--white);
}
.story-preview-modal .logo-section img {
  width: 25px;
}
.story-preview-modal .modal-body {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.story-preview-modal .modal-body progress {
  width: 100%;
}
.story-preview-modal .modal-body .media-details {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 30px;
  gap: 15px;
}
/* Container for the progress bar */
.progress-container {
  width: 100%;
  background-color: #ffffff2f;
  overflow: hidden;
  height: 10px;
  position: relative;
}
/* Progress bar styling */
.progress-bar {
  height: 100%;
  background-color: var(--red-5);
  text-align: center;
  line-height: 25px;
  color: transparent;
  font-weight: bold;
  border-radius: 0 20px 20px 0;
  transition: width 0.4s ease;
}
/* ===============================
   CONFIRM MODAL STYLES
   =============================== */
.animated-modal {
  width: 340px;
  height: 310px;
  /* z-index: 50; */
  overflow: hidden;
  transform: translate(-100%, -50%);
  opacity: 0;
}
.animated-modal.open {
  display: flex;
  opacity: 1;
}
@keyframes slideIn {
  0% {
    transform: translate(-200%, -50%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
@keyframes slideOut {
  0% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(-200%, -50%);
    opacity: 0;
  }
}
.animated-modal.active {
  animation: slideIn 0.4s ease-in-out forwards;
}
.animated-modal.closing {
  animation: slideOut 0.4s ease-in-out forwards;
}
.animated-modal > .modal-heading {
  margin-bottom: 0;
}
.animated-modal > .modal-heading img {
  width: 15px;
}
.animated-modal > .modal-body > span {
  font-size: var(--font-size-6);
  color: var(--gray-6);
  padding-bottom: 5px;
}
.confirm-modal > .modal-body .button-section,
.animated-modal > .modal-body .button-section {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.confirm-modal .button-section button,
.animated-modal .button-section button {
  margin-top: 20px;
  padding: 15px 25px;
  border-radius: 25px;
}
.confirm-modal .button-section button:first-child,
.animated-modal .button-section button:first-child {
  background-color: var(--red-5);
  color: var(--white);
}
.confirm-modal .button-section button:nth-child(2),
.animated-modal .button-section button:nth-child(2) {
  background-color: var(--red-1);
}

/* ===============================
   ALERT MODAL STYLES
   =============================== */
.alert {
  width: fit-content;
  height: fit-content;
  z-index: 50;
  overflow: hidden;
  text-transform: capitalize;
  /* box-shadow: none; */
  flex-direction: row;
  align-items: center;
  border-radius: 50px;
  padding-left: 15px;
  animation: bounce 0.4s ease-out forwards;
  justify-content: center;
  box-shadow: 0 0 0 100vmax #00000018;
  position: fixed;
  background-color: white;
  top: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
}
@keyframes bounce {
  0% {
    transform: translate(-50%, -150%);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, 10%);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -60%);
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
.alert[open] {
  display: flex;
  opacity: 1;
}
.alert.closing {
  animation: slideOut 0.4s ease-in-out forwards;
}
.alert > span {
  padding-inline: 10px;
  font-size: var(--font-size-3);
  color: black;
}
.alert img {
  width: 16px;
}
.alert button {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.category-modal {
  width: 450px;
  height: 400px;
  border-radius: 20px;
  justify-content: flex-start;
  overflow: visible;
}
.category-modal > .modal-heading {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.category-modal > .modal-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  overflow-y: visible;
}
.category-modal > .modal-body form {
  width: 100%;
}
.category-modal > .modal-body .floating-controls > ul {
  top: 54px;
}
.category-modal > .modal-body .floating-controls > ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-modal > .modal-body .floating-controls > ul li svg {
  width: 18px;
}
.category-modal > .modal-body .floating-controls > ul li span {
  padding: 0;
  border-bottom: 0;
  margin: 0;
}
#rearrange-category-modal,
#rearrange-item-category-modal,
#rearrange-item-modal,
#rearrange-dishes-modal {
  overflow: hidden;
}
#rearrange-category-modal .modal-body,
#rearrange-item-category-modal .modal-body,
#rearrange-item-modal .modal-body,
#rearrange-dishes-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 0;
}
#rearrange-item-modal .modal-body,
#rearrange-dishes-modal .modal-body {
  padding-top: 20px;
}
#select-menu-category-modal .close-button,
#select-item-category-modal .close-button {
  display: none;
}
#rearrange-category-modal .search-section,
#rearrange-item-category-modal .search-section,
#rearrange-item-modal .search-section,
#select-menu-category-modal .search-section,
#select-item-category-modal .search-section,
#rearrange-dishes-modal .search-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  width: 100%;
  justify-content: space-between;
}
#rearrange-category-modal .search-container,
#rearrange-item-category-modal .search-container,
#rearrange-item-modal .search-container,
#rearrange-dishes-modal .search-container {
  width: 260px;
}
#rearrange-category-modal .category-list,
#rearrange-item-category-modal .category-list,
#rearrange-item-modal .item-list,
#rearrange-dishes-modal .item-list,
#select-menu-category-modal .select-category-list,
#select-item-category-modal .select-category-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  overflow-y: auto;
}
#rearrange-item-modal .item-list,
#rearrange-dishes-modal .item-list {
  height: 177px;
}
#rearrange-category-modal .category-list,
#rearrange-item-category-modal .category-list,
#select-menu-category-modal .select-category-list,
#select-item-category-modal .select-category-list {
  height: 237px;
}
#rearrange-category-modal .category-list li,
#rearrange-item-category-modal .category-list li,
#rearrange-item-modal .item-list li,
#rearrange-dishes-modal .item-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  cursor: grab;
}
#rearrange-category-modal .category-list li > span,
#rearrange-item-category-modal .category-list li > span,
#rearrange-item-modal .item-list li > span,
#rearrange-dishes-modal .item-list li > span {
  color: var(--purple-2);
  font-size: var(--font-size-7);
}
#rearrange-category-modal .category-list li > div,
#rearrange-item-category-modal .category-list li > div,
#rearrange-item-modal .item-list li > div,
#rearrange-dishes-modal .item-list li > div,
#select-menu-category-modal .select-category-list li > div,
#select-item-category-modal .select-category-list li > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-transform: capitalize;
  gap: 15px;
  width: 100%;
  color: var(--black);
}
#rearrange-item-modal .category-header-section,
#rearrange-dishes-modal .category-header-section {
  background-color: var(--red-1);
  width: 100%;
  padding: 15px 10px;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-transform: capitalize;
  border: 1px solid var(--gray-3);
}
#rearrange-dishes-modal .category-header-section {
  background-color: var(--white);
  border: 1px solid var(--white);
}
#select-menu-category-modal .modal-heading span,
#select-item-category-modal .modal-heading span {
  font-size: var(--font-size-2);
}
#select-menu-category-modal .search-section,
#select-item-category-modal .search-section {
  margin-bottom: 20px;
}
#select-menu-category-modal .search-container,
#select-item-category-modal .search-container {
  width: 340px;
}
#select-menu-category-modal #add-category,
#select-item-category-modal #add-item-category {
  border: 2px solid var(--red-5);
  padding: 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#select-menu-category-modal .select-category-list li,
#select-item-category-modal .select-category-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#select-menu-category-modal .select-category-list li:hover,
#select-item-category-modal .select-category-list li:hover {
  background-color: var(--yellow-1);
}
#select-menu-category-modal .select-category-list li:hover span,
#select-item-category-modal .select-category-list li:hover span {
  color: var(--yellow-4);
}

/* Account Setting Modal */
.account-settings-modal {
  width: 800px;
  height: 500px;
  border-radius: 20px;
  justify-content: flex-start;
  overflow: hidden;
}
.account-settings-modal > .modal-heading {
  padding: 2rem;
  color: var(--black);
  margin-bottom: 0;
}
.account-settings-modal > .modal-body {
  display: flex;
  flex: 1;
  padding: 2rem;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
  padding-top: 0;
  height: 100%;
  overflow: scroll;
}
.account-settings-modal > .modal-body .picture-settings {
  width: 40%;
}
.account-settings-modal > .modal-body .picture-settings .profile-bg {
  height: 180px;
  border-radius: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 15px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0px 100vmax #00000052;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .profile-bg
  > div:first-child {
  display: flex;
  justify-content: flex-end;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .profile-bg
  > div:first-child
  button {
  color: var(--white);
  padding: 10px;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  text-align: center;
  font-size: var(--font-size-2);
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .profile-bg
  .edit-avatar {
  display: flex;
  gap: 10px;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > p:first-child {
  position: relative;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > p:first-child
  img {
  border: 5px solid var(--white);
  border-radius: 50px;
  width: 60px;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > p:first-child
  button {
  background-color: var(--white);
  border-radius: 50px;
  padding: 2px 5px 1px;
  position: absolute;
  bottom: 5px;
  right: 2px;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > p:nth-child(2) {
  display: flex;
  flex-direction: column;
}
#account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > div
  > div {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  .owners-name {
  font-size: var(--font-size-7);
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .edit-avatar
  > p:nth-child(2)
  span:nth-child(2) {
  font-size: var(--font-size-2);
}
.account-settings-modal > .modal-body .picture-settings .profile-id {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--blue-1);
  border-radius: 15px;
  padding: 20px;
  margin-top: 15px;
}
.account-settings-modal > .modal-body .picture-settings .profile-id p {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .profile-id
  p
  span:first-child {
  color: var(--black);
}
.account-settings-modal
  > .modal-body
  .picture-settings
  .profile-id
  p
  span:last-child {
  font-size: var(--font-size-1);
}
.account-settings-modal > .modal-body .form-settings {
  width: 60%;
  height: 100%;
  overflow-y: hidden;
}
.account-settings-modal > .modal-body .form-settings .form-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  /* font-size: var(--font-size-2); */
}
.account-settings-modal > .modal-body .form-settings form {
  width: 100%;
  height: calc(100% - 63px);
  padding-top: 20px;
}
.account-settings-modal > .modal-body .form-settings form .form-group {
  overflow-y: scroll;
  height: 100%;
}
.account-settings-modal
  > .modal-body
  .form-settings
  form
  .form-group
  .floating-controls.dropdown {
  margin-bottom: 20px;
}

/* QR Code Modal */
#qr-code-modal {
  width: 500px;
  height: fit-content;
  border-radius: 20px;
  justify-content: flex-start;
  overflow: hidden;
  /* min-height: 90vh; */
}
#qr-code-modal > .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  overflow: scroll;
  width: 100%;
  padding-top: 30px;
}
#qr-code-modal > .modal-body img,
#qr-code-modal > .modal-body form {
  width: 65%;
}
#qr-code-modal > .modal-body img {
  margin-bottom: 20px;
}
.extra-control {
  display: flex;
}
.extra-control button {
  display: flex;
  background-color: var(--blue-2);
  height: 52px;
  padding: 10px 15px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  align-items: center;
  justify-content: center;
}

/* Abut Discount Modal */
#about-discount-modal {
  width: 350px;
  height: fit-content;
}
#about-discount-modal .modal-heading {
  padding: 2rem;
  color: var(--black);
  margin-bottom: 0;
}
#about-discount-modal .modal-body {
  padding: 2rem 2rem 2.5rem;
  margin-top: -1rem;
}
#about-discount-modal span {
  font-size: var(--font-size-2);
  color: var(--black);
  font-weight: 500;
}
#about-discount-modal p {
  font-size: var(--font-size-3);
  padding-top: 5px;
}

/* Update Discount Modal */
#update-discount-modal,
#delete-category-modal {
  width: 400px;
}
#update-discount-modal .modal-body div,
#delete-category-modal .modal-body div {
  display: flex;
  background-color: var(--green-1);
  padding: 10px;
  border-radius: 20px;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
}
#update-discount-modal .modal-body div svg,
#delete-category-modal .modal-body div svg {
  background-color: var(--green-4);
  padding: 5px;
  border-radius: 20px;
  height: fit-content;
}
#update-discount-modal .modal-body .button-section,
#delete-category-modal .modal-body .button-section {
  width: 100%;
  justify-content: space-between;
}
#delete-dish-modal h2 {
  width: 80%;
}
#delete-dish-modal .button-section {
  width: 100%;
  justify-content: space-between;
}

/* Profile Photo Modal */
#profile-photo-modal {
  width: 500px;
  height: fit-content;
  overflow: hidden;
  transform: translate(-50%, -100%);
  opacity: 0;
}
@keyframes slideUp {
  0% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
@keyframes slideDown {
  0% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
}
#profile-photo-modal.active,
#profile-photo-modal.active {
  animation: slideUp 0.4s ease-in-out forwards;
}
#profile-photo-modal.closing,
#profile-photo-modal.closing {
  animation: slideDown 0.4s ease-in-out forwards;
}
#profile-photo-modal > .modal-body {
  width: 100%;
  justify-content: space-between;
  font-size: var(--font-size-2);
  height: calc(100% - 100px);
  overflow: hidden;
  flex: 1;
  padding-top: 0;
}
#profile-photo-modal > .modal-body .button-section {
  padding-bottom: 20px;
}
#profile-photo-modal .swap-button,
#profile-photo-modal .header-buttons {
  width: 180px;
  height: 40px;
  background-color: var(--white);
}
#profile-photo-modal .swap-button::before,
#profile-photo-modal .swap-button::after {
  width: 80px;
  height: 35px;
  padding-inline: 0;
  border: 3px solid var(--white);
}
#profile-photo-modal .swap-button::before {
  content: "Male";
}
#profile-photo-modal .swap-button::after {
  content: "Female";
  transform: translateX(110%);
}
#profile-photo-modal .swap-button.right-clicked::before {
  content: "Female";
  transform: translateX(110%);
}
#profile-photo-modal .swap-button.right-clicked::after {
  content: "Male";
  transform: translateX(0);
}
#profile-photo-modal .swap-button.left-clicked::before {
  content: "Male";
  transform: translateX(0);
}
#profile-photo-modal .swap-button.left-clicked::after {
  content: "Female";
  transform: translateX(110%);
}
#profile-photo-modal > .modal-body .avatars {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  overflow: hidden;
  padding-top: 20px;
  justify-content: space-between;
}
#profile-photo-modal > .modal-body .avatars.show {
  display: grid;
}
#profile-photo-modal > .modal-body .avatars > button {
  background-color: var(--red-1);
  width: 78px;
  height: 78px;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 10px 20px;
}
#profile-photo-modal > .modal-body .avatars > button:hover {
  background-color: var(--red-2);
}
#profile-photo-modal > .modal-body .avatars > button input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#profile-photo-modal > .modal-body .avatars .avatar-image {
  width: 78px;
  height: 78px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
#profile-photo-modal > .modal-body .avatars .avatar-image:hover {
  opacity: 0.85;
}

/* New Category Modal */
#new-category-modal,
#edit-item-category-modal {
  height: fit-content;
  overflow: visible;
}
#new-category-modal .modal-body {
  /* overflow-y: scroll; */
}
#new-category-modal .modal-body > form label.checkbox,
#edit-item-category-modal .modal-body > form label.checkbox {
  width: 100%;
  justify-content: space-between;
  background-color: var(--red-1);
  border: 1px solid var(--gray-2);
  padding: 7px 10px;
  border-radius: 5px;
  margin-bottom: 25px;
}
#new-category-modal .modal-body > form label.checkbox span,
#edit-item-category-modal .modal-body > form label.checkbox span {
  color: rgba(0, 0, 0, 0.795);
  font-size: var(--font-size-2);
}
#new-category-modal form > div > div:nth-child(2) > .hint,
#edit-item-category-modal form > div > div:nth-child(2) > .hint {
  margin-bottom: 15px;
}
#new-category-modal form > div > div:nth-child(3) > .hint,
#new-category-modal form > div > div:nth-child(4) > .hint,
#edit-item-category-modal form > div > div:nth-child(3) > .hint,
#edit-item-category-modal form > div > div:nth-child(4) > .hint {
  margin-bottom: 22px;
}
#new-category-modal .floating-controls input,
#edit-item-category-modal .floating-controls input {
  text-transform: capitalize;
}
#new-category-modal .floating-controls.dropdown ul,
#edit-item-category-modal .floating-controls.dropdown ul {
  top: 54px;
}
#new-category-modal .floating-controls.dropdown:first-child ul,
#edit-item-category-modal .floating-controls.dropdown:first-child ul {
  width: 180px;
  top: 54px;
  height: 280px;
  overflow-y: scroll;
  overflow-x: hidden;
}
#new-category-modal .floating-controls.dropdown:first-child ul > div,
#edit-item-category-modal .floating-controls.dropdown:first-child ul > div {
  height: calc(100% - 62px);
  overflow: scroll;
}

/* New Category Modal */
#search-modal {
  height: 410px;
  width: 500px;
  overflow: hidden;
}
#search-modal .modal-heading {
  padding: 1.5rem 2rem;
}
#search-modal .modal-body {
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  padding-top: 0;
}
#search-modal .modal-body .empty-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-block: 1rem;
}
#search-modal .modal-body.empty .empty-container,
#search-modal .modal-body .search-result {
  display: flex;
}
#search-modal .modal-body.empty .search-result {
  display: none;
  width: 100%;
  flex-direction: column;
}
#search-modal .modal-body .search-result {
  width: 100%;
  flex-direction: column;
}
#search-modal .modal-body .empty-container img {
  width: 150px;
}
#search-modal .search-result .menu-item-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 15px;
  border-bottom: 1px solid var(--gray-3);
}
#search-modal .search-result .menu-item-card > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#search-modal .search-result .menu-item-card .menu-item-title {
  color: var(--black);
}
#search-modal .search-result .menu-item-card .menu-item-type {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  font-size: var(--font-size-2);
}
#search-modal .search-result .menu-item-card .menu-item-type svg {
  width: 16px;
  height: 16px;
}
#search-modal .search-result > p {
  padding-block: 30px;
  text-align: center;
}
#search-modal .search-result.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 20px;
}
#search-modal .search-result .dish-item-card {
  width: 100%;
  border: 1px solid var(--gray-3);
  background-color: var(--white);
  border-radius: 10px;
  height: 130px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#search-modal .search-result .dish-item-card .content {
  padding: 15px 15px;
  width: 70%;
  font-size: var(--font-size-3);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
#search-modal .search-result .dish-item-card .content .toggle-button {
  font-size: var(--font-size-2);
  width: fit-content;
}
#search-modal .search-result .dish-item-card .content .toggle-button > img {
  width: 13px;
}
#search-modal .search-result .dish-item-card .content .toggle-button {
  padding: 2px 8px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}
#search-modal .search-result .dish-item-card .content .toggle-button.enabled {
  background-color: var(--green-2);
}
#search-modal .search-result .dish-item-card .content .toggle-button.disabled {
  background-color: var(--gray-2);
}
#search-modal .search-result .dish-item-card .image .count {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  position: absolute;
  background-color: var(--blue-2);
  color: var(--white);
  bottom: -15px;
  right: -38px;
  padding: 5px 50px 20px 10px;
  border-radius: 14px;
  font-size: var(--font-size-1);
  cursor: pointer;
}
#search-modal .search-result .dish-item-card .image .count img {
  width: 10px;
}

#crop-modal,
#upload-image-modal {
  width: 450px;
  height: 600px;
  overflow: hidden;
}
#crop-modal .modal-body {
  padding: 2rem 2rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#crop-modal .modal-body .edit-image-container,
#upload-image-modal .modal-body .upload-image-container {
  display: none;
  align-items: center;
  flex-direction: column;
  width: 100%;
  display: flex;
}
#crop-modal .image-container {
  height: 300px;
  width: 300px;
  margin-bottom: 40px;
}
.cropper .controls {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cropper .controls .edit-controls,
.cropper .controls .other-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cropper .controls .edit-controls > div {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cropper .controls .edit-controls .left-controls {
  width: 60%;
}
.cropper .controls .edit-controls .right-controls {
  width: 40%;
}
.cropper .controls button {
  border-radius: 50px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.cropper .controls .edit-controls .left-controls button:hover,
.cropper .controls .cancel-button:hover {
  background-color: var(--gray-1);
}
.cropper .controls .edit-controls .right-controls button {
  background-color: #f2f2f2;
}
.cropper .controls .edit-controls .right-controls button:hover {
  background-color: var(--gray-2);
}
.cropper .controls .edit-controls .right-controls {
  justify-content: flex-end;
}
.cropper .controls .edit-controls .degree-container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: var(--black);
  background-color: #f2f2f2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.cropper input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background-color: var(--gray-2);
}
.cropper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
.cropper input[type="range"]:focus {
  outline: none;
}
.cropper input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
/* Special styling for WebKit/Blink */
.cropper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 10px;
  width: 10px !important;
  border-radius: 50px;
  background: var(--red-5);
  cursor: pointer;
}
/* All the same stuff for Firefox */
.cropper input[type="range"]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: var(--red-5);
  cursor: pointer;
}
/* All the same stuff for IE */
.cropper input[type="range"]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: var(--red-5);
  cursor: pointer;
}

.cropper .controls .other-controls button {
  padding: 10px;
}
.cropper .controls .cancel-button {
  border: 1px solid var(--gray-4);
  padding: 12px !important;
}
.cropper .controls .reset-button {
  background-color: var(--red-1);
}
.cropper .controls .reset-button:hover {
  background-color: var(--red-2);
}
.cropper .controls .save-button {
  background-color: var(--black);
}
.image-edit-workspace {
  width: 300px;
  height: 300px;
  margin-bottom: 20px;
  background: #f0f0f0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
#preview-container img {
  max-width: 100%;
  max-height: 300px;
}
.cropper .cropper-container {
  direction: ltr;
  font-size: 0;
  line-height: 0;
  position: relative;
  touch-action: none;
  -webkit-touch-callout: none;
  user-select: none;
  border-radius: 20px;
  overflow: hidden;
}
.cropper .cropper-hidden {
  display: none !important;
}
.cropper .cropper-container img {
  backface-visibility: hidden;
  display: block;
  height: 100%;
  image-orientation: 0deg;
  max-height: none !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 100%;
}
.cropper .cropper-bg {
  background-image: none;
  background-color: white;
}
.cropper-wrap-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.cropper-drag-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cropper-canvas {
  position: absolute;
  filter: blur(1px);
}
.cropper-crop-box {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-radius: 20px;
}
.cropper .cropper-view-box {
  display: block;
  height: 100%;
  outline: 1px solid transparent;
  outline-color: transparent;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}
#crop-modal .cropper-dashed {
  background-color: #ffffff66;
  border: none;
}
#crop-modal .cropper-dashed.dashed-h {
  height: 3px;
  left: 0;
  top: calc(50% - 3px);
  width: 100%;
}
#crop-modal .cropper-dashed.dashed-v {
  height: 100%;
  left: calc(50% - 3px);
  top: 0;
  width: 3px;
}
.cropper .cropper-center {
  display: none;
}
.cropper .cropper-line {
  background-color: transparent;
}
#crop-modal .cropper-point {
  background-color: transparent;
  height: 5px;
  opacity: 0.75;
  width: 5px;
}
.cropper-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent !important;
  border-radius: 20px;
}
.cropper .cropper-point.point-e {
  right: -3px;
  top: 50%;
  border-right: 3px solid #ffffff66;
  width: 3px;
  height: 23px !important;
  transform: translateY(-50%);
  cursor: ew-resize;
}
.cropper .cropper-point.point-n {
  cursor: ns-resize;
  top: -3px;
  left: 50%;
  border-top: 3px solid #ffffff66;
  width: 23px !important;
  height: 3px;
  transform: translateX(-50%);
}
.cropper .cropper-point.point-w {
  cursor: ew-resize;
  top: 50%;
  left: -3px;
  width: 3px;
  border-left: 3px solid #ffffff66;
  height: 23px !important;
  transform: translateY(-50%);
}
.cropper .cropper-point.point-s {
  cursor: s-resize;
  left: calc(50% - 11px);
  bottom: -3px;
  border-bottom: 3px solid #ffffff66;
  width: 23px !important;
  height: 3px;
}
.cropper .cropper-point.point-ne {
  top: -3px;
  right: -3px;
  width: 23px !important;
  height: 23px !important;
  border-radius: 0;
  border-top-right-radius: 20px;
  border-top: 3px solid #ffffff66;
  border-right: 3px solid #ffffff66;
  background-color: transparent;
  cursor: nesw-resize;
}
.cropper .cropper-point.point-nw {
  cursor: nwse-resize;
  left: -3px;
  top: -3px;
  width: 23px !important;
  height: 23px !important;
  border-radius: 0;
  border-top-left-radius: 20px;
  border-top: 3px solid #ffffff66;
  border-left: 3px solid #ffffff66;
  background-color: transparent;
}
.cropper .cropper-point.point-sw {
  cursor: nesw-resize;
  bottom: -3px;
  left: -3px;
  width: 23px !important;
  height: 23px !important;
  border-radius: 0;
  border-bottom-left-radius: 20px;
  border-bottom: 3px solid #ffffff66;
  border-left: 3px solid #ffffff66;
  background-color: transparent;
}
.cropper .cropper-point.point-se {
  bottom: -3px;
  cursor: nwse-resize;
  opacity: 1;
  right: -3px;
  width: 20px;
  bottom: -3px;
  width: 23px !important;
  height: 23px !important;
  border-radius: 0;
  border-bottom-right-radius: 20px;
  border-bottom: 3px solid #ffffff66;
  border-right: 3px solid #ffffff66;
  background-color: transparent;
}
#upload-image-modal .modal-body {
  padding-inline: 0;
  width: 100%;
}
#upload-image-modal .modal-body .upload-image-container #image-container {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
#upload-image-modal
  .modal-body
  .upload-image-container
  #image-container
  #preview {
  width: 300px;
  height: 300px;
  object-fit: cover;
}
#upload-image-modal
  .modal-body
  .upload-image-container
  #uploadProgress
  .upload-progress-header
  > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
#upload-image-modal .upload-image-container .upload-progress {
  width: 300px;
  background: white;
  padding: 20px;
  z-index: 1000;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#upload-image-modal .upload-image-container .upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 30px;
  border-radius: 20px;
  border: 1px solid var(--gray-2);
  width: 100%;
  height: 56px;
}
#upload-image-modal .upload-image-container .upload-progress-title {
  font-size: var(--font-size-3);
  font-weight: 500;
  color: var(--blue-2);
}
#upload-image-modal .upload-image-container #photo-replace-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
#upload-image-modal .upload-image-container .upload-progress-title.hide,
#upload-image-modal .upload-image-container #photo-replace-btn.hide {
  display: none;
}
#upload-image-modal
  .upload-image-container
  #photo-replace-btn
  input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#upload-image-modal .upload-image-container .crop-image-button {
  display: none;
  width: fit-content;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}
#upload-image-modal .upload-image-container .crop-image-button.show {
  display: flex;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}
#upload-image-modal .upload-image-container .upload-progress-bar-container {
  overflow: hidden;
  border-radius: 4px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
#upload-image-modal .upload-image-container .progress-section {
  flex: 1;
  position: relative;
  background: #e5e7eb;
  width: 250px;
}
#upload-image-modal .upload-image-container .upload-progress-bar {
  background-color: #18b372;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
#upload-image-modal .upload-image-container .upload-progress-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 10px;
  border-radius: 8px;
  width: 0%;
  background-color: #18b372;
  transition: width 0.3s ease;
}
#upload-image-modal .upload-image-container .upload-progress-percentage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--black);
  z-index: 1;
  font-size: var(--font-size-1);
  font-weight: 500;
}
#upload-image-modal .upload-image-container .upload-progress-size {
  white-space: nowrap;
  font-size: var(--font-size-2);
  color: #666;
}
#upload-image-modal .upload-image-container .cancel-button,
#upload-image-modal .upload-image-container .done-button {
  display: none;
  margin-top: 30px;
}
#upload-image-modal .upload-image-container .cancel-button.show,
#upload-image-modal .upload-image-container .done-button.show {
  display: flex;
}

#about-discount-modal span {
  font-size: var(--font-size-2);
  color: var(--black);
  font-weight: 500;
}
#about-discount-modal p {
  font-size: var(--font-size-3);
  padding-top: 5px;
}

#online-payment-modal {
  width: 450px;
  overflow: hidden;
}
#online-payment-modal .modal-body .payment-info,
#online-payment-modal .modal-body .payment-form-heading .title {
  font-size: var(--font-size-4);
}
#online-payment-modal .modal-body form {
  padding-top: 15px;
  padding-bottom: 15px;
}
#online-payment-modal .modal-body form .floating-controls .hint {
  margin-bottom: 10px;
}
#online-payment-modal .modal-body .payment-form-heading {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-block: 18px;
}
#online-payment-modal .modal-body .buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#add-partner-modal {
  width: 400px;
}
#add-partner-modal .modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#add-partner-modal .modal-body #add-partner {
  width: fit-content;
  padding-inline: 40px;
}
#add-partner-modal .modal-body .floating-controls input + label {
  top: -6px;
  font-size: var(--font-size-1);
}
@media (max-width: 900px) {
  .onboarding-modal {
    width: 700px;
  }
  #partner-profile.profile-modal > .modal-body,
  .profile-modal > .modal-body {
    grid-template-columns: 48% 48% !important;
    overflow-x: hidden;
  }
  #customer-profile.profile-modal .review-list-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    overflow: scroll;
  }
  #customer-profile .column-two {
    height: fit-content;
    overflow-y: visible;
  }
  #customer-profile .column-three {
    height: fit-content;
    overflow-y: visible;
  }
  #customer-profile .reviews-section {
    height: fit-content;
    overflow: visible;
  }
  .story-modal > .modal-body {
    grid-template-columns: 50% calc(50% - 25px);
  }
  .story-modal > .modal-body .column-two .story-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    column-gap: 20px;
    flex: 1;
    overflow-y: auto;
  }
}
@media (max-width: 730px) {
  #partner-profile.profile-modal,
  .profile-modal,
  .order-details,
  .account-settings-modal,
  #crop-modal,
  .story-modal,
  .category-modal,
  #qr-code-modal,
  #online-payment-modal,
  #new-category-modal {
    position: fixed; /* Makes it cover the entire viewport */
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: white;
    &::backdrop {
      background: none;
    }
  }
  .onboarding-modal {
    width: 100vw;
    height: 100vh;
    position: fixed; /* Makes it cover the entire viewport */
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    border-radius: 0;
    background: white;
    &::backdrop {
      background: none;
    }
  }
  #map1,
  #map2 {
    width: 80% !important;
    height: 250px;
  }
  .onboarding-modal > .body {
    align-items: center;
    justify-content: center;
  }
  #customer-profile.profile-modal > .modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: visible;
  }
  #partner-profile.profile-modal > .modal-body {
    grid-template-columns: 100% !important;
    overflow-x: hidden;
  }
  .profile-modal .column-one,
  .profile-modal .column-two,
  .profile-modal .column-three {
    overflow-y: visible;
    padding-bottom: 20px;
    width: 100%;
  }
  #customer-profile.profile-modal .review-list-section {
    overflow: visible;
    width: 100%;
  }
  .earnings-container .earnings,
  .notification.open .dropdown {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    position: fixed; /* Makes it cover the entire viewport */
    z-index: 50;
    top: 0;
  }
  .account-settings-modal > .modal-body {
    display: flex;
    flex: 1;
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    padding: 0;
  }
  .account-settings-modal > .modal-body .picture-settings,
  .account-settings-modal > .modal-body .form-settings {
    width: 100%;
  }
  .account-settings-modal > .modal-body .form-settings,
  .account-settings-modal > .modal-body .picture-settings .profile-id {
    padding-inline: 25px;
  }
  .account-settings-modal > .modal-body .picture-settings .profile-id {
    margin-inline: auto;
    width: calc(100% - 50px);
  }
  .account-settings-modal > .modal-body .picture-settings .profile-bg {
    height: 230px;
    border-radius: 0;
    background-position: center;
    padding: 25px;
  }
  .story-modal > .modal-body .column-one {
    display: none;
  }
  .story-modal > .modal-body {
    grid-template-columns: 100%;
  }
  .story-modal > .modal-body .column-two .story-list .media-container {
    height: calc(100vw / 4);
  }
  #qr-code-modal > .modal-body img,
  #qr-code-modal > .modal-body form {
    width: 85%;
  }
  #qr-code-modal > .modal-body {
    height: 100%;
    justify-content: center;
  }
  #qr-code-modal > .modal-body .form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  #select-menu-category-modal .search-container,
  #select-item-category-modal .search-container {
    width: 80vw;
  }
  #select-menu-category-modal .close-button,
  #select-item-category-modal .close-button {
    display: flex;
  }
}
