body {
  font-family: "Inter", sans-serif;
}

.checkout-header {
  padding: 120px 0 20px 0;
  background-color: #f2f2f2;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.checkout-header h1 {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 48px;
  color: #e63822;
  margin: 0;
}

.checkout-header p {
  font-size: 16px;
  /* opacity: 0.8; */
  color: #4d4d4d;
}

.btn-cancel {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
  border: 1px solid #e63822;
  border-radius: 8px;
  background: transparent;
  color: #e63822;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: #e63822;
  color: #ffffff;
}

.checkout-container {
  padding-bottom: 80px;
  background-color: #f2f2f2;
}

/* Custom Layout Grid replacement for Bootstrap */
.checkout-layout-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 992px) {
  .checkout-layout-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }

  .checkout-main-content {
    flex: 1;
    min-width: 0;
  }

  .checkout-sidebar {
    width: 400px;
    flex-shrink: 0;
  }
}

.card-custom {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 12px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #4d4d4d;
  margin-bottom: 20px;
}

.section-subtitle-info {
  font-size: 14px;
  color: #818181;
  margin-top: -15px;
  margin-bottom: 15px;
}

.text-red-addon-subtitle {
  color: #e63822; /* Red Guideline */
  font-weight: 600;
}

.section-subtitle-info-upload {
  font-size: 12px;
  color: #818181;
  margin-top: -8px;
  margin-bottom: 12px;
}

.package-selection-wrapper {
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* On-Demand Empty State Styles */
.on-demand-empty-wrapper {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #fd8181;
  border-radius: 0px 0px 10px 10px;
  cursor: pointer;
  margin-top: -10px; /* Adjust if needed to align with header */
}

.on-demand-empty-warning {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: #e63822; /* Red Guideline */
  max-width: 596px;
}

.on-demand-empty-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  gap: 20px;
  width: 100%;
  max-width: 716px;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
}

.on-demand-empty-banner-area {
  width: 100%;
  height: 150px;
  background: #f2f2f2;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btn-order-on-demand {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  gap: 12px;
  border-radius: 8px;
  color: #06c270; /* Success Color */
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-order-on-demand i {
  font-size: 24px;
}

.main-package-switch-action {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
}

.btn-change-on-demand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e63822;
  border-radius: 8px;
  background: #fff8f7;
  color: #e63822;
  font-family: "Inter";
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-on-demand:hover {
  background: #e63822;
  color: #ffffff;
}

.duration-box-disabled {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
}

.select-wrapper-disabled {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 10px;
  width: 250px;
  height: 48px;
  background: #f2f2f2;
  border-radius: 8px;
  color: #c4c4c4; /* Lighter 2 */
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .on-demand-empty-wrapper {
    padding: 16px;
    gap: 30px;
    border-radius: 0px 0px 8px 8px;
  }

  .on-demand-empty-warning {
    font-size: 10px;
    max-width: 191px;
    order: 0;
  }

  .on-demand-empty-card {
    padding: 8px;
    gap: 20px;
    order: 1;
  }

  .on-demand-empty-banner-area {
    height: 120px;
    order: 1;
  }

  .btn-order-on-demand {
    padding: 15px 20px;
    font-size: 10px;
    gap: 12px;
  }

  .btn-order-on-demand i {
    font-size: 18px;
  }

  .main-package-switch-action {
    margin-top: -4px;
  }

  .btn-change-on-demand {
    padding: 8px 10px;
    font-size: 10px;
    gap: 6px;
  }

  .duration-box-disabled {
    gap: 18px;
    order: 1;
  }

  .duration-info {
    order: 0;
  }

  .duration-info label {
    font-size: 10px;
  }

  .duration-info span {
    font-size: 8px;
  }

  .select-wrapper-disabled {
    width: 130px;
    height: 34px;
    padding: 10px 20px;
    font-size: 10px;
    gap: 28px;
    order: 1;
  }

  .select-wrapper-disabled i {
    font-size: 14px;
  }
}

.btn-remove-other {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.btn-remove-other:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.duration-display {
  background: #f1f3f5;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #212529;
}

/* Duration Selector */
.duration-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 0;
}

.duration-info label {
  font-weight: 600;
  font-size: 14px;
  color: #4d4d4d;
  margin-bottom: 4px;
  display: block;
}

.duration-info label span {
  color: #e63822;
}

.duration-info span {
  font-size: 12px;
  color: #818181;
}

.select-wrapper {
  position: relative;
  width: 250px;
  background: #f2f2f2;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #030303;
}

.duration-box .select-wrapper {
  width: 250px;
}

.form-group-custom .select-wrapper {
  width: 100%;
}

.custom-select {
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: #030303;
  background: transparent;
  width: 100%;
  padding: 12px 20px;
  padding-right: 40px !important; /* Ensure space for chevron */
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  z-index: 1;
}

.select-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  pointer-events: none;
  transition: transform 0.2s;
  flex-shrink: 0;
  z-index: 2;
}

/* Custom Dropdown */
.custom-dropdown-trigger {
  position: relative;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  min-width: 100px;
  color: #030303;
}

.duration-box .custom-dropdown-trigger {
  min-width: 200px;
}

@media (max-width: 767.98px) {
  .duration-box .custom-dropdown-trigger {
    min-width: 120px;
  }
}

.custom-dropdown-trigger img {
  width: 12px;
  transition: transform 0.2s;
}

.custom-dropdown-trigger.active img {
  transform: rotate(180deg);
}

.custom-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.custom-dropdown-trigger.active .custom-dropdown {
  display: block;
}

.dropdown-item {
  padding: 8px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f2f2f2;
}

.search-container {
  padding: 10px;
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #f2f2f2;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 12px;
  border: 1px solid #f2f2f2;
  border-radius: 6px;
  font-size: 14px;
}

.search-input::placeholder {
  font-size: 13px;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

/* Add-ons Grid */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .addons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.addon-card {
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.addon-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.addon-img {
  width: 50px;
  height: 60px;
  object-fit: contain;
}

.addon-details h5 {
  font-family: "Roboto";
  font-weight: 600;
  font-size: 14px;
  color: #4d4d4d;
  margin: 0 0 2px 0;
}

.addon-details p {
  font-size: 12px;
  color: #4d4d4d;
  margin: 0;
}

.quantity-control {
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 5px 10px;
  gap: 20px;
}

.qty-btn {
  background: none;
  border: none;
  color: #000000;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-value {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  min-width: 10px;
  text-align: center;
}

/* Client Info */
.type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.btn-type {
  box-sizing: border-box;
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 10px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #818181;
  color: #030303;
  transition: all 0.2s;
  width: 106px;
  text-align: center;
}

@media (min-width: 768px) {
  .btn-type {
    padding: 12px 25px;
    font-size: 14px;
    width: auto;
  }
}

.btn-type.active {
  border-color: #e63822;
  color: #e63822;
}

.form-row-dual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row-location {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row-location > .form-group-custom:first-child {
  width: 100%;
}

.form-row-location > .form-group-custom:last-child {
  width: 100%;
}

@media (min-width: 768px) {
  .form-row-dual {
    flex-direction: row;
    gap: 20px;
  }
  .form-row-dual > * {
    flex: 1;
  }
  .form-row-location {
    flex-direction: row;
    gap: 20px;
  }
  .form-row-location > .form-group-custom:first-child {
    width: 134px;
    flex-shrink: 0;
  }
  .form-row-location > .form-group-custom:last-child {
    flex: 1;
    width: auto;
  }
  .form-row-location .flex-grow {
    flex: 2;
  }
}

@media (max-width: 767.98px) {
  /* Prevent iOS auto-zoom by ensuring font-size is at least 16px */
  .form-control-custom,
  .custom-select,
  .search-input,
  .country-code-select {
    font-size: 16px !important;
    font-weight: normal;
  }
}

.form-group-custom {
  margin-bottom: 20px;
}

.form-group-custom label {
  font-weight: 600;
  font-size: 14px;
  color: #4d4d4d;
  margin-bottom: 12px;
  display: block;
}

.form-group-custom label span {
  color: #e63822;
}

.form-control-custom {
  background: #f2f2f2;
  border-radius: 8px;
  border: none;
  padding: 15px 20px;
  width: 100%;
  font-size: 14px;
  color: #030303;
}

.form-control-custom::placeholder {
  color: #6b7280;
  font-size: 13px;
}

/* Upload Document */
.upload-area {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 16px;
  width: 100%;
  background: #f2f2f2;
  border: 1px dashed #818181;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upload-area:hover {
  background: #ebebeb;
  border-color: #4d4d4d;
}

.upload-area.highlight {
  border-color: #e63822;
  background: #fdf2f2;
}

.upload-area.uploading {
  cursor: wait;
}

.upload-area.has-file {
  border-style: solid;
  border-color: #06c270;
  background: #f6fdf9;
}

.upload-area.has-error {
  border-style: solid;
  border-color: #e63822;
  background: #fdf2f2;
}

.upload-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.upload-icon-wrapper i {
  font-size: 40px;
  color: #9ca3af;
}

.has-file .upload-icon-wrapper i {
  color: #06c270;
}

.has-error .upload-icon-wrapper i {
  color: #e63822;
}

.upload-icon-wrapper img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .upload-icon-wrapper img {
    width: 60px;
    height: 60px;
  }
}

.upload-text-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.filename-display {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: #030303;
  word-break: break-all;
  max-width: 100%;
}

.filesize-display {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: #4d4d4d;
}

.upload-progress-container {
  width: 100%;
  max-width: 270px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  display: none;
}

.uploading .upload-progress-container {
  display: block;
}

.upload-progress-bar {
  height: 100%;
  background: #e63822;
  width: 0%;
  transition: width 0.3s ease;
}

.upload-status-badge {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 12px;
  gap: 4px;
  background: #ffffff;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #030303;
}

.has-file .upload-status-badge {
  color: #06c270;
}

.has-error .upload-status-badge {
  color: #e63822;
  border-color: #e63822;
}

.upload-status-badge i {
  font-size: 14px;
}

.btn-browse {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  gap: 4px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #4d4d4d;
  transition: all 0.2s;
}

.btn-browse:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.uploading .btn-browse,
.has-file .btn-browse {
  display: none;
}

.upload-area .remove-file {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  display: none;
  font-size: 18px;
  transition: color 0.2s;
}

.has-file .remove-file {
  display: block;
}

.upload-area .remove-file:hover {
  color: #e63822;
}

@media (max-width: 991.98px) {
  .upload-area {
    height: 171px;
    padding: 20px;
    gap: 10px;
  }

  .upload-icon-wrapper i {
    font-size: 30px;
  }

  .filename-display {
    font-size: 10px;
  }

  .filesize-display {
    font-size: 8px;
  }

  .upload-status-badge {
    padding: 4px 8px;
    font-size: 10px;
  }

  .upload-status-badge i {
    font-size: 12px;
  }

  .btn-browse {
    padding: 6px 16px;
    font-size: 12px;
    width: 100%;
  }

  .form-group-custom label {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .section-subtitle-info-upload {
    font-size: 8px;
    margin-top: -4px;
    margin-bottom: 8px;
  }
}

/* Order Summary Desktop Styles */
.checkout-sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 98px;
  height: calc(100vh - 98px);
}

.summary-card {
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0; /* Important for flex child to be able to shrink */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bottom-sheet-header {
  display: none; /* Desktop */
}

.summary-section {
  padding: 0 20px 0 20px;
  display: flex;
  flex-direction: column;
}

.summary-header-desktop {
  padding: 16px 20px 0 20px;
}

.summary-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.summary-header-flex h4 {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #4d4d4d;
  margin: 0;
}

.btn-see-detail {
  background: none;
  border: none;
  color: #e63822; /* Red Guideline */
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.summary-group-title {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #4d4d4d;
  margin-bottom: 0;
}

.summary-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 34px; /* Matches discount badge height to prevent shift */
}

@media (max-width: 991.98px) {
  .summary-group-title {
    font-size: 16px;
  }
}

.summary-main-details,
.summary-locations-details,
.summary-addons-details,
.summary-other-packages-details,
.summary-service-charge-details {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#summaryAddonsList,
#summaryOtherPackagesList,
#bodyguardSummaryList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-item-box,
.summary-item-box-bodyguard {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.summary-item-discount-badge {
  background: #f3dede;
  color: #e63822;
  border-radius: 10px;
  padding: 8px 14px;
  font-family: "Inter";
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
}

.summary-other-packages-details .summary-item-title {
  text-transform: uppercase;
}

.summary-other-packages-details .summary-item-subtitle,
.summary-item-box-bodyguard .summary-item-subtitle {
  text-transform: capitalize;
}

.summary-item-row-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.summary-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.summary-item-title {
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #030303;
  text-transform: capitalize;
}

.summary-item-subtitle {
  font-family: "Inter";
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #030303;
}

.summary-item-price {
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #e63822;
  text-align: right;
}

.summary-item-calc {
  font-family: "Inter";
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: #4d4d4d;
  text-align: right;
}

@media (max-width: 991.98px) {
  .summary-main-details,
  .summary-locations-details,
  .summary-addons-details,
  .summary-other-packages-details {
    margin-bottom: 12px;
  }

  .summary-main-details .summary-group-title,
  .summary-locations-details .summary-group-title,
  .summary-addons-details .summary-group-title,
  .summary-other-packages-details .summary-group-title {
    font-size: 14px;
    line-height: 130%;
    color: #4d4d4d;
    margin-bottom: 0;
  }

  .summary-group-header {
    min-height: 22px; /* Adjusted for mobile badge height */
  }

  .summary-item-discount-badge {
    font-size: 10px;
    padding: 4px 8px;
  }

  .summary-item-title {
    font-family: "Inter";
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    color: #030303;
  }

  .summary-item-subtitle {
    font-family: "Inter";
    font-weight: 400;
    font-size: 10px;
    line-height: 130%;
    color: #030303;
  }

  .summary-item-price {
    font-family: "Inter";
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    color: #e63822;
    text-align: right;
  }

  .summary-item-calc {
    font-family: "Inter";
    font-weight: 400;
    font-size: 10px;
    line-height: 130%;
    color: #4d4d4d;
    text-align: right;
  }
}

.summary-divider {
  height: 1px;
  background: #f2f2f2;
  margin-bottom: 20px;
}

.summary-divider-bold {
  height: 2px;
  background: #9ca3af;
  margin: 0 20px;
}

.summary-footer {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: -1px;
}

.total-price-row {
  display: contents;
}

.mobile-total-price-container {
  order: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.total-price-value-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.desktop-coupon-section {
  order: 2;
}

.terms-checkbox-row {
  order: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-notice {
  order: 5;
}

.total-price-label {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #4d4d4d;
}

.total-price-value {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #e63822;
  text-align: right;
}

.btn-pay {
  order: 4;
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  background: #e63822;
  border-radius: 8px;
  width: 100%;
  color: #ffffff;
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  border: none;
  transition: background 0.2s;
}

.btn-pay:hover {
  background: #cc321e;
}

.payment-notice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  font-family: "Inter";
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: #4d4d4d;
}

.payment-notice i {
  margin-top: 2px;
}

.custom-terms-label {
  font-size: 12px;
  color: #4d4d4d;
  cursor: pointer;
  align-items: center;
}

.custom-terms-checkbox {
  accent-color: #e63822;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.custom-terms-link {
  color: #e63822;
  text-decoration: none;
  font-weight: 700;
}

.custom-btn-pay-disabled {
  background-color: #f2f2f2;
  color: #c4c4c4;
  cursor: not-allowed;
}

.original-price-display {
  font-size: 0.9rem;
  font-weight: 600;
}

.summary-content-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* Mobile Adaptation (based on @payment-left-mobile.txt) */
@media (max-width: 767.98px) {
  .d-none-mobile {
    display: none !important;
  }

  .checkout-header {
    padding: 84px 0 20px;
  }

  .header-container {
    padding: 0 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
  }

  .header-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 236px;
  }

  .checkout-header h1 {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 130%;
    color: #e63822;
  }

  .checkout-header p {
    font-family: "Lato", sans-serif;
    font-size: 10px;
    color: #4d4d4d;
    opacity: 1;
    margin: 0;
  }

  .btn-cancel {
    display: flex !important;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    color: #e63822;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    background: transparent;
  }

  .btn-cancel:hover {
    background: transparent;
    color: #cc321e;
  }

  .btn-cancel .cancel-text {
    display: none;
  }

  .btn-cancel i {
    font-size: 18px;
    margin: 0;
  }

  .checkout-container {
    padding-bottom: 140px; /* Space for collapsed bottom sheet */
  }

  .checkout-layout-wrapper {
    gap: 8px;
    padding: 0 15px;
  }

  /* Bottom Sheet Layout Refactored */
  .checkout-sidebar {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex !important;
    flex-direction: column;
    /* justify-content: flex-end; */
    pointer-events: none;
  }
  .summary-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    pointer-events: auto;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .summary-card.collapsed {
    top: calc(100% - 178px);
  }

  .summary-card.expanded {
    top: 75px;
  }

  .summary-card.collapsed .summary-content-scroll {
    opacity: 0;
    pointer-events: none;
  }

  .bottom-sheet-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 20px 12px;
    background: #e63822;
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    user-select: none;
    justify-content: center;
    flex-shrink: 0;
  }

  .summary-card.collapsed > .bottom-sheet-header {
    min-height: 48px;
    padding: 10px 20px;
  }

  .summary-card.collapsed .mobile-summary-title {
    display: none;
  }

  .expand-icon {
    width: 18px;
    height: 8px;
    margin-bottom: 8px;
    transition: transform 0.3s;
    transform: rotate(180deg);
  }

  .bottom-sheet-header h4 {
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    margin: 10px 0 0;
  }

  .summary-card.expanded .bottom-sheet-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
  }

  .summary-card.expanded .bottom-sheet-header h4 {
    margin: 0;
  }

  .close-bottom-sheet {
    display: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
  }

  .summary-card.expanded .close-bottom-sheet {
    display: flex;
  }

  .summary-card.expanded .expand-icon {
    display: none;
  }

  .summary-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex !important;
    flex-direction: column;
    padding: 16px 12px;
    gap: 11px;
    background: #ffffff;
    box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0px 0px;
    pointer-events: auto;
    margin-top: 0;
    width: 100%;
  }

  .total-price-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    margin-bottom: 0px;
    width: 100%;
    justify-content: space-between;
  }

  .mobile-total-price-container {
    order: unset;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 0;
    flex-shrink: 0;
  }

  .total-price-label {
    font-family: "Roboto";
    font-weight: 700;
    font-size: 14px;
    line-height: 130%;
    color: #4d4d4d;
    padding: 0px 10px;
    display: block;
  }

  .total-price-value-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px 10px;
    gap: 0;
  }

  .total-price-value {
    font-family: "Roboto";
    font-weight: 700;
    font-size: 17px !important;
    line-height: 130% !important;
    color: #e63822 !important;
    transform: rotate(0.02deg);
    display: block;
  }

  .btn-pay {
    order: unset;
    margin-bottom: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    gap: 15px;
    min-height: 44px;
    background: #e63822;
    border: 1px solid #e63822;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: #ffffff;
    font-family: "Inter";
    font-weight: 600;
    font-size: 10px;
    line-height: 130%;
    text-align: center;
    cursor: pointer;
    flex: 1;
    min-width: 140px;
  }

  .btn-pay:disabled {
    background: #f2f2f2;
    border-color: #f2f2f2;
    color: #c4c4c4;
    cursor: not-allowed;
    box-shadow: none;
  }

  .terms-checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    margin-bottom: 0;
    width: 100%;
  }

  .custom-terms-checkbox {
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 1px solid #e63822;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0 !important;
  }

  .custom-terms-checkbox:checked {
    background: #e63822;
  }

  .custom-terms-checkbox:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
  }

  .custom-terms-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex: 1;
  }

  .custom-terms-label span {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 130%;
    color: #030303;
  }

  .payment-notice {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    border-top: none;
    margin-top: 0;
    width: 100%;
  }

  .info-icon-wrapper {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -1px;
  }

  .payment-notice i {
    color: #818181;
    font-size: 12px;
  }

  .payment-notice p {
    font-family: "Inter";
    font-weight: 400;
    font-size: 9px;
    line-height: 1.4;
    color: #4d4d4d;
    margin: 0;
    flex: 1;
  }

  .package-selection-wrapper {
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 8px;
  }

  .package-banner {
    padding: 12px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .banner-text-content {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
    width: 159px;
  }

  .banner-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .sector-badge {
    padding: 5px 10px;
    font-size: 6px;
    margin-bottom: 0;
    border-radius: 10px;
    height: 18px;
    align-items: center;
  }

  .package-name {
    font-size: 14px;
    line-height: 130%;
    max-width: 60%;
  }

  .package-subtitle {
    font-size: 8px;
    margin-top: 0;
    line-height: 130%;
  }

  .btn-pay {
    padding: 12px;
    font-size: 10px;
    margin-bottom: 0;
  }

  .payment-notice p {
    font-size: 10px;
  }

  .banner-visual {
    height: 90%;
    right: 5%;
    bottom: 0;
  }

  /* .banner-visual img {
    } */

  /* Overlay for background when expanded */
  .bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .bottom-sheet-overlay.active {
    display: block;
    opacity: 1;
  }

  .card-custom {
    padding: 16px;
    gap: 15px;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 14px;
    /* margin-bottom: 15px; */
  }

  .section-subtitle-info {
    font-size: 8px;
  }

  .section-subtitle-info-upload {
    font-size: 8px;
    margin-top: 0;
  }

  .duration-box {
    min-height: 39px;
    height: auto;
    padding: 0;
    gap: 12px;
    align-items: center;
  }

  .duration-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 4px;
  }

  .duration-info label {
    font-size: 10px;
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .duration-info span {
    font-size: 8px;
    line-height: 1.3;
  }

  .select-wrapper {
    width: 130px;
    display: flex;
    align-items: center;
    padding-right: 10px;
    background: #f2f2f2;
    border-radius: 8px;
  }

  .custom-select {
    padding: 10px 0;
    height: 34px;
    scale: 0.75;
    background: transparent !important;
  }

  .addons-grid {
    gap: 10px;
  }

  .addon-card {
    height: 56px;
    padding: 8px;
  }

  .addon-img {
    width: 33px;
    height: 40px;
  }

  .addon-details h5 {
    font-size: 10px;
  }

  .addon-details p {
    font-size: 8px;
  }

  .quantity-control {
    height: 34px;
    padding: 5px 10px;
    gap: 15px;
    width: 130px;
    justify-content: space-between;
  }

  .qty-btn {
    font-size: 14px;
  }

  .qty-value {
    font-size: 8px;
  }

  .form-group-custom label {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .form-control-custom {
    padding: 10px;
    font-size: 10px;
    height: 33px;
  }

  .custom-dropdown-trigger {
    padding: 10px 6px;
    font-size: 10px;
    height: 34px;
  }

  .upload-area {
    padding: 20px;
  }

  .upload-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .upload-text-main {
    font-size: 10px;
  }

  .upload-text-sub {
    font-size: 8px;
  }

  .btn-browse {
    padding: 5px 15px;
    font-size: 10px;
  }
}

/* Validation Styles */
.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #991b1b;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.is-invalid {
  border: 1px solid #e63822 !important;
}

.invalid-feedback {
  color: #e63822;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}

.form-group-custom.has-error label {
  color: #e63822;
}

.phone-input-group {
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 0;
  width: 100%;
  height: 50px;
}

.phone-input-group .country-code-select {
  color: #030303;
  background: transparent;
  border: none;
  border-right: 1px solid #d1d5db;
  border-radius: 8px 0 0 8px;
  height: 100%;
  min-width: 130px;
  font-size: 14px;
  padding: 0 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23818181' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.phone-input-group .country-code-select:focus {
  outline: none;
  box-shadow: none;
}

.phone-input-group input.form-control-custom {
  flex-grow: 1;
  border: none !important;
  background: transparent !important;
  padding: 15px 20px;
  color: #030303;
  width: 100%;
  font-size: 14px;
  border-radius: 0 8px 8px 0;
  height: 100%;
}

.phone-input-group input:focus {
  outline: none;
  box-shadow: none;
}

/* Existing styles for the country code selector specifically */
.phone-input-group .select2-container--default .select2-selection--single {
  background-color: #f2f2f2 !important;
  color: #030303 !important;
  border: none !important;
  border-right: 1px solid #d1d5db !important;
  border-radius: 8px 0 0 8px !important;
  min-width: 130px !important;
  font-size: 12px !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  border-right-color: transparent !important;
}

.phone-input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #030303 !important;
  line-height: 50px !important;
  padding-left: 20px !important;
  padding-right: 30px !important;
}

.phone-input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0 !important;
  right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #818181 transparent transparent transparent !important;
}

.select2-dropdown {
  background-color: #ffffff !important;
  border: 1px solid #f2f2f2 !important;
  border-radius: 8px !important;
  z-index: 1050 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.select2-results__option {
  padding: 8px 15px !important;
  color: #4d4d4d !important;
  font-size: 13px !important;
}

@media (max-width: 767.98px) {
  .select2-results__option {
    font-size: 10px !important;
  }
}

.select2-container--default .select2-results > .select2-results__options {
  max-height: 250px;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: #f2f2f2 !important;
  color: #030303 !important;
}

.select2-results__option[aria-selected="true"] {
  background-color: #e6e6e6 !important;
}

@media (max-width: 767.98px) {
  .phone-input-group {
    flex-direction: column;
    height: auto !important;
    background: transparent !important;
    gap: 10px;
    align-items: flex-start !important;
  }

  .phone-input-group .select2-container {
    width: 100% !important;
  }

  .select2-container--default .select2-selection--single {
    width: 100% !important;
    border-right: none !important;
    border-radius: 8px !important;
    height: 36px !important;
    padding: 0 8px;
  }

  .phone-input-group input.form-control-custom {
    width: 100% !important;
    border-radius: 8px !important;
    height: 36px !important;
    background: #f2f2f2 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 15px !important;
  }
}

/* Addon Refined Styles */
.addon-options-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.addon-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  /* background: #f2f2f2; */
}

.addon-option-row:last-child {
  margin-bottom: 0;
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.addon-main-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.addon-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.addon-badge-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.addon-title-h5 {
  margin: 0;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 700;
  color: #4d4d4d;
  text-transform: capitalize;
}

.addon-description {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.addon-price-label {
  margin: 0;
  font-size: 16px;
  color: #4d4d4d;
  font-family: "Lato", sans-serif;
}

.addon-qty-control {
  background: #f2f2f2;
  padding: 5px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 250px;
}

.addon-qty-btn {
  border: none;
  background: none;
  cursor: pointer;
}

.addon-qty-val {
  font-size: 14px;
  min-width: 20px;
  font-weight: 600;
  text-align: center;
  color: #6b7280;
}

@media (max-width: 767.98px) {
  .addon-option-row {
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .addon-info {
    gap: 4px;
    max-width: 160px;
  }

  .addon-main-img {
    width: 40px;
    height: 40px;
  }

  .addon-title-h5 {
    font-size: 12px;
  }

  .addon-description,
  .addon-price-label,
  .addon-qty-val {
    font-size: 10px;
  }

  .addon-has-badge .addon-price-label,
  .addon-has-badge .addon-description {
    margin-left: 28px;
  }

  .addon-qty-control {
    gap: 10px;
    padding: 6px 12px;
    width: 100px;
  }
}

.bodyguard-package-entry {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: 12px;
}

.bodyguard-duration-section {
  padding: 15px 5px 5px 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 768px) {
  .bodyguard-duration-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.duty-date-label {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #4d4d4d;
  margin-bottom: 4px !important;
  display: block;
}

.duty-date-instruction {
  font-size: 12px;
  color: #818181;
  margin: 0;
}

.date-range-wrapper-refined {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .date-range-wrapper-refined {
    width: 320px;
  }
}

.date-range-input-refined {
  width: 100%;
  height: 48px;
  background: #f2f2f2;
  border: none;
  border-radius: 8px;
  padding: 0 45px 0 20px;
  font-weight: 600;
  font-size: 14px;
  color: #030303;
  cursor: pointer;
}

.date-range-input-refined::placeholder {
  color: #818181;
}

.calendar-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #4d4d4d;
  pointer-events: none;
  font-size: 16px;
}

@media (max-width: 767.98px) {
  .bodyguard-package-entry {
    padding: 8px;
  }

  .bodyguard-duration-section {
    padding: 10px 5px 5px 5px;
    gap: 10px;
  }

  .duty-date-label {
    font-size: 14px;
  }

  .duty-date-instruction {
    font-size: 10px;
  }

  .date-range-input-refined {
    height: 40px;
    font-size: 12px;
    padding: 0 40px 0 15px;
  }

  .calendar-icon {
    right: 15px;
    font-size: 14px;
  }
}

.mobile-summary-tabs-wrapper {
  background: #ffffff;
  padding: 12px 16px;
  width: 100%;
  position: absolute;
  top: 54px;
  left: 0;
  z-index: 20;
  border-bottom: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mobile-summary-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  margin-top: 0;
}

.mobile-summary-tab {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 15px;
  width: 105px;
  height: 33px;

  border-radius: 5px;
  border: 1px solid transparent;

  font-family: inherit;
  font-weight: 600;
  font-size: 10px;
  text-align: center;
  color: #4d4d4d;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-summary-tab.active {
  border: 1px solid #e63822;
  color: #e63822;
}

.summary-pane {
  display: none;
}
.summary-pane.active {
  display: block;
}

.mobile-package-detail-container {
  padding: 12px 16px;
  margin-bottom: 120px;
}
.mobile-package-detail-container .package-detail-item {
  border: none;
  box-shadow: none;
  margin-bottom: 20px;
}
.mobile-package-detail-container .package-detail-item-header {
  background: transparent;
}

/* Adjust Flatpickr calendar size on mobile */
@media (max-width: 767.98px) {
  .flatpickr-calendar {
    transform: scale(0.85);
    transform-origin: top left;
  }

  .summary-pane.active {
    margin-top: 72px;
  }
}

/* Coupon UI Responsive Styles */
.coupon-section-title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.coupon-section-title img {
  height: 20px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 10px;
}

.coupon-section-title h5 {
  margin-top: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: #030303;
  text-align: center;
}

.coupon-input-group-custom {
  background: #f2f2f2;
  border-radius: 8px;
  position: relative;
  display: flex;
  margin-top: 1.5rem;
}

.coupon-input-custom {
  padding: 15px 10px 15px 20px;
  font-size: 14px;
  font-weight: 400;
  height: 52px;
  color: #030303;
  box-shadow: none !important;
  border: none;
  background: transparent;
  width: 100%;
}

.coupon-input-custom:disabled {
  color: #030303 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #030303;
  cursor: default;
}

.coupon-btn-custom {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 5px;
  background-color: #e63822;
  border-color: #e63822;
  padding: 0 16px;
  height: 36px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.coupon-btn-custom:hover {
  background-color: #d32f2f;
}

.coupon-message-custom {
  margin-top: 0.5rem;
  font-size: 14px;
  font-weight: 400;
  color: #030303;
}

.coupon-message-custom:empty {
  display: none;
}

.coupon-success-icon-custom {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e63822;
  border-radius: 50%;
}

.coupon-success-icon-custom i {
  color: white;
  font-size: 10px;
}

/* Mobile specific styling */
@media (max-width: 991.98px) {
  .coupon-section-title img {
    height: auto;
    width: 250px;
    margin-right: 0;
  }

  .coupon-section-title h5 {
    font-size: 14px;
  }

  #pane-coupon .coupon-input-group-custom {
    flex-direction: column;
    background: transparent;
    gap: 16px;
  }

  #pane-coupon .coupon-input-custom {
    background: #f2f2f2;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
  }

  #pane-coupon .summary-section {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px; /* Ensure enough space to push button to bottom */
  }

  #pane-coupon .coupon-input-group-custom {
    flex-direction: column;
    background: transparent;
    gap: 16px;
    width: 100%;
    margin-bottom: 30px;
  }

  .coupon-message-custom {
    margin-bottom: 24px;
    width: 100%;
  }

  #pane-coupon .coupon-btn-custom {
    position: static;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
  }

  #pane-coupon .coupon-success-ui-custom {
    left: 0;
    right: 0;
    height: 70px;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
  }
  .duration-display {
    display: flex;
  }

  .coupon-success-text-custom {
    font-size: 16px;
    font-weight: 600;
    margin-right: 8px;
  }

  .coupon-success-icon-custom {
    width: 16px;
    height: 16px;
  }

  .coupon-success-icon-custom i {
    color: white;
    font-size: 10px;
  }

  .addon-title-group {
    gap: 4px;
  }

  .synced-duration-text {
    font-size: 10px;
  }

  .dropdown-item {
    padding: 10px 0;
  }
}

/* Package Detail Modal Footer Layout */
.pm-footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  width: 100%;
  margin-top: 24px;
}

.pm-footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
  background: #e63822; /* Red Guideline */
  border-radius: 20px 20px 0px 0px;
}

.pm-footer-top-title {
  font-family: "Roboto";
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
  color: #ffffff;
  margin: 0;
}

.pm-footer-top-price {
  font-family: "Roboto";
  font-weight: 900;
  font-size: 40px;
  line-height: 130%;
  text-align: right;
  color: #ffffff;
  margin: 0;
}

.pm-footer-bottom-bg {
  display: flex;
  flex-direction: column;
  padding: 5px;
  width: 100%;
  background: #f2f2f2;
  border-radius: 0px 0px 20px 20px;
}

.pm-footer-bottom-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 30px 40px;
  gap: 30px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
}

.pm-footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 150px;
}

.pm-footer-item {
  display: flex;
  flex-direction: column;
}

.pm-footer-label {
  font-family: "Inter";
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #9ca3af;
  margin: 0 0 4px 0;
}

.pm-footer-value {
  font-family: "Lato";
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #4d4d4d;
  margin: 0;
}

/* Base adjustment for mobile view inside the modal */
@media (max-width: 991.98px) {
  .pm-footer-container {
    background: #f2f2f2;
    border-radius: 10px;
    padding-bottom: 12px;
    margin-top: 16px;
  }

  .pm-footer-top {
    padding: 12px 20px;
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 4px;
  }

  .pm-footer-top-title {
    font-size: 16px;
  }

  .pm-footer-top-price {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
  }

  .pm-footer-bottom-bg {
    padding: 0 12px;
    border-radius: 0px 0px 10px 10px;
    background: transparent;
  }

  .pm-footer-bottom-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
  }

  .pm-footer-col {
    gap: 10px;
  }

  .pm-footer-label {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .pm-footer-value {
    font-size: 12px;
  }
}
.location-groups-section {
  margin-bottom: 24px;
}

#addLocationGroupBtn {
  font-weight: 600;
  transition: all 0.2s;
}

@media (max-width: 767.98px) {
  #addLocationGroupBtn {
    width: 100%;
    padding: 8px;
    font-size: 12px;
  }

  .remove-location-group {
    font-size: 12px;
  }
}

.location-group-card {
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  background: #fff;
}

.location-group-card h4 {
  font-size: 12px;
  font-weight: 700;
}

.location-map-preview {
  overflow: hidden;
}
