.middle-content {
  width: 30%;
}

.section-element {
  display: flex;
  justify-content: center;
  /* Center the section horizontally */
  align-items: center;
  /* Center the section vertically */
  height: 100%;
  margin-bottom: 3rem;
}

.center-section {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* text-align: center; */
  box-sizing: border-box;

}

/* Add this CSS in your styles */
.is-invalid {
  border-color: red;
  background-color: #ffe6e6;
  /* Light red background */
}

.is-error {
  color: red;
  font-size: 0.8rem;
}

.formik-error-message {
  color: red;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* Base styles for alert container */
.notify-container {
  margin-bottom: 1.5rem;
}

.alert-container {
  max-width: 100%;
  /* padding: 0 15px; */
}

/* Common styles for all alerts */
.alert {
  padding: 15px;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  /* display: flex; */
  align-items: center;
}

.alert p {
  margin: 0;
  flex: 1;
}

.alert-icon {
  margin-right: 10px;
  font-size: 1.25rem;
  line-height: 1;
}

/* Specific alert types (with contextual color) */
.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-light {
  background-color: #fefefe;
  color: #818182;
  border: 1px solid #fdfdfe;
}

.alert-dark {
  background-color: #c6c8ca;
  color: #1b1e21;
  border: 1px solid #dae0e5;
}

/* Alert dismiss button */
.alert-close {
  margin-left: 10px;
  border: none;
  background: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.alert-close:hover {
  color: #000;
}

.alert-dismissible {
  padding-right: 2.5rem;
  /* Adjust space for the close button */
}

/* Small spacing between the notifications if multiple alerts */
.alert-container+.alert-container {
  margin-top: 10px;
}


input:focus {
  border-color: #000;
  /* Blue border on focus */
}



/* Flexbox container for centering */
.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
  /* Vertically center the items */
}

.justify-content-center {
  justify-content: center;
  /* Horizontally center the items */
}

/* Custom Spinner */
.spinner-border {
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  /* Blue color for the spinner */
  border-radius: 50%;
  width: 1.5rem;
  /* Small spinner size */
  height: 1.5rem;
  /* Small spinner size */
  animation: spin 1s linear infinite;
  /* Spinning animation */
}

/* Smaller spinner (similar to .spinner-border-sm) */
.spinner-border-sm {
  width: 1.2rem;
  /* Adjusted size for the small spinner */
  height: 1.2rem;
  /* Adjusted size for the small spinner */
}

/* Margin-right (equivalent to .me-2) */
.me-2 {
  margin-right: 0.5rem;
  /* Adds space between the spinner and the text */
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
    /* Start at 0 degrees */
  }

  100% {
    transform: rotate(360deg);
    /* Rotate 360 degrees */
  }
}

/* Text styling (for loader text) */
.d-flex span {
  font-size: 1rem;
  /* Set font size for the text */
  font-weight: 500;
  /* Medium weight for the text */
  color: #333;
  /* Default text color */
  display: flex;
  align-items: center;
  justify-content: center;
}

.d-flex span.loading-text {
  color: #000;
}


.align-items-center,
.avatar-group {
  align-items: center !important;
}

.justify-content-center,
.app-search .app-search-icon {
  justify-content: center !important;
}

.d-flex,
.app-search .app-search-icon,
.avatar-group {
  display: flex !important;
}

.submit-btn:disabled,
.btn-primary:disabled {
  background: var(--dark);
  border-color: var(--dark);
  /* color: var(--primary-light); */
  cursor: not-allowed;
  opacity: 0.5;
}

/* Custom Margin-Top Classes */

/* mt-1 */
.mt-1 {
  margin-top: 0.25rem;
  /* Small margin */
}

/* mt-2 */
.mt-2 {
  margin-top: 0.5rem;
  /* Slightly larger margin */
}

/* mt-3 */
.mt-3 {
  margin-top: 1rem;
  /* Medium margin */
}

/* mt-4 */
.mt-4 {
  margin-top: 1.5rem;
  /* Larger margin */
}

/* mt-5 */
.mt-5 {
  margin-top: 3rem;
  /* Large margin */
}

.dropdown-list {
  display: block !important;
}

.react-datepicker__close-icon::after {
  background-color: #000000 !important;
}

.react-datepicker__header {
  background-color: var(--primary) !important;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  color: #FFF !important;
}

.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  background-color:var(--primary) !important;
  color: #FFF !important;
}

.react-datepicker__navigation-icon::before,
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-color: #FFF !important;
}

.react-datepicker__day--selected,
.react-datepicker__day--in-selecting-range,
.react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  background-color: var(--primary) !important;
}

.clickable {
  cursor: pointer;
}

.link-unset {
  color: unset;
  text-decoration: none;
}

.title-text {
  white-space: pre-line;
  word-wrap: break-word;
}

.default-img {
  object-fit: fill !important;
}

input[type='checkbox']:checked:after {

  color: white;
}

.day-item.disabled {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.vh-50 {
  height: 50vh;
}


.vh-100 {
  height: 100vh;
}

main {
  min-height: 47vh;
}

.service-btn.add-service:disabled,
.service-btn.add-service.disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.mb-1 {
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary);
}

.month-picker-panel {
  top: 20%;
}

.newsletter-form button {
  margin-top: inherit;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mr-0 {
  margin-right: 0.5rem;
}

.prev-week-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.prev-week-btn:disabled img {
  filter: grayscale(100%);
}

.prev-week-btn:hover:not(:disabled) {
  opacity: 0.9;
}

.prev-week-btn {
  transition: opacity 0.2s ease;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
}

/* 
.sale-price {
  color: #e53935;
  font-weight: 600;
} */
/* 
.regular-price {
  font-weight: 600;
} */


/* Service List Start  */
/* ===========================
   SERVICE LIST (MODERN)
=========================== */

.service-list {
  margin: 0 auto;
}

.parent-group {
  margin-top: 10px;
}

.parent-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

/* ===========================
   ACCORDION CARD
=========================== */

.service-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: #fff;
  border-radius: 5px;
 box-shadow: 0px 3px 6px #00000029;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* .accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
} */

/* ===========================
   HEADER
=========================== */

.accordion-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* .accordion-header:hover {
  background: #f9f9f9;
}

.accordion-header.open {
  background: #fafafa;
} */
/* 
.title {
  font-size: 14px;
  font-weight: 500;
  color: #111;
} */

.details-link {
  margin-top: 4px;
  font-size:var(--font-size-sm);
  background: none;
  border: none;
  color: #898989;
  cursor: pointer;
}

/* ===========================
   RIGHT HEADER
=========================== */

.right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price {
  font-size:var(--font-size-sm);
  font-weight: 600;
}

/* ===========================
   CHEVRON
=========================== */

.chevron-box {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron {
  /* width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s ease; */
   width: 25px;
  height: 25px;
  background: var(--primary);

  -webkit-mask: url("../img/arrow_down.svg") no-repeat center;
  mask: url("../img/arrow_down.svg") no-repeat center;

  /* transform: rotate(45deg); */
  transition: transform 0.25s ease;
}

.chevron.open {
  transform: rotate(180deg);
}

/* ===========================
   BODY (SMOOTH ANIMATION)
=========================== */

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
}

.accordion-body.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-body>div {
  overflow: hidden;
  padding: 0px 16px 0px;
}

/* ===========================
   VARIANT ROW
=========================== */

.variant-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  transition: background 0.2s ease;
  margin-left: 15px;
}

/* .variant-row:hover {
  background: #fafafa;
  border-radius: 8px;
} */

.variant-name {
  font-size: 15px;
  font-weight: 600;
}

.variant-time {
  font-size:var(--font-size-sm);
  color: var(--dark);
  margin-top: 2px;
}

.variant-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===========================
   PRICE
=========================== */

.original-price {
  font-size:var(--font-size-sm);
  color: #aaa;
  text-decoration: line-through;
  margin-right: 6px;
}

.sale-price {
    font-size:var(--font-size-sm);
  font-weight: 700;
  /* color: #ff8001; */
}

.regular-price {
  font-size:var(--font-size-sm);
  font-weight: 600;
}

/* ===========================
   BUTTON
=========================== */

.select-btn {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: var(--font-size-xm);
  border: 1px solid var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select-btn:hover {
  /* box-shadow: 0 6px 14px rgba(255, 128, 1, 0.35); */
  background-color: var(--light);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.select-btn:active {
  transform: scale(0.96);
}

/* ===========================
   MODAL
=========================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s ease forwards;
}

.modal {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 16px;
  padding: 22px;
  animation: scaleIn 0.25s ease forwards;
}

.modal h4 {
  margin-bottom: 12px;
}

.modal-content {
  font-size:var(--font-size-sm);
  color: #444;
}

.modal-close {
  margin-top: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

/* ===========================
   ANIMATIONS
=========================== */

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
.service-btn.disabled,
.service-btn:disabled {
  background: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

/*  Service list END  */