.cart-main {
  /* max-width: 900px;
  width: 100%;
  margin: auto; */
  transform: translateY(-50px);
}

@media screen and (max-width: 869px) {
  .cart-main {
    transform: translateY(0);
  }

}

.step-arrow {
  width: 40px;
  border: 1px solid #e2e8f0;
  display: inline-block;
}

.horse-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 11px !important;
}

.horse-item-hover-name {
  background-color: var(--medium-gray);
}

.horse-item:hover {
  border-color: var(--primary-blue);
}

.waiver-text {
  background-color: #f1f5f980;
  padding: var(--spacing-md);
  margin-bottom: 20px;
  border-radius: var(--spacing-sm);
}

.waiver-text h6.polo {
  margin: 0;
  color: #000 !important;
  font-size: var(--font-xs);
  text-transform: capitalize;
}

.waiver-text p {
  color: #7f8ea3 !important;
  margin: 0 !important;
  padding: 10px 0 0 0 !important;
}

.waiver-text-new .waiver-checkbox {
  width: 14px !important;
  height: 14px !important;
}

.waiver-text-new .waiver-checkbox-label {
  font-size: var(--font-xs);
}

.digital-sign .dd {
  margin: 0;
  color: #000 !important;
  text-transform: capitalize;
}

.digital-sign p {
  font-size: 14px;
  margin: 0;
  padding-bottom: var(--spacing-sm);
}

.signature-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  margin-top: var(--spacing-sm);
}

.clear-btn-add {
  background-color: transparent !important;
  border: 1px solid #e2e8f0 !important;
  padding: var(--spacing-xs) var(--spacing-base) !important;
  font-size: var(--font-xs) !important;
}

.clear-btn-add:hover {
  color: var(--white);
  background-color: var(--orange-primary) !important;
  border: 1px solid var(--orange-primary) !important;
}

.captured {
  background-color: var(--primary-blue);
  padding: var(--spacing-xs) var(--spacing-base) !important;
  font-size: var(--font-xs) !important;
  color: var(--white);
  border-radius: var(--spacing-xl);
}

.waiver-status {
  background-color: #0934630d;
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  grid-area: var(--spacing-xs);
  margin-top: var(--spacing-lg);
  border-radius: var(--spacing-sm);
}

.waiver-status h6.w-s {
  margin: 0 !important;
  color: var(--text-dark) !important;
}

.waiver-status span {
  background-color: var(--orange-primary);
  font-size: 11px;
  border-radius: 50px;
  margin-left: var(--spacing-xs);
  color: var(--white);
}

.waiver-status span:last-child {
  background-color: var(--primary-blue);
}

/* Old Styles */
.step-progress-container {
  padding: 0 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
  height: 100% !important;
  overflow-x: auto;
  padding-top: 10px;
}

.step-progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: auto;
}

.step-circle.pending {
  background: #e9ecef;
  color: #6c757d;
  border: 2px solid #dee2e6;
}

.step-circle.current {
  background: #f45f0b;
  color: white;
  border: 2px solid #f45f0b;
  box-shadow: 0 0 0 4px rgba(244, 95, 11, 0.2);
}

.step-circle.completed {
  background: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
}

.step-label {
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 5px 10px;
  white-space: nowrap;
}

@media screen and (max-width: 769px) {
  .step-label {
    white-space: nowrap;
  }
}

.step-label.pending {
  color: #6c757d;
}

.step-label.current {
  color: #f45f0b;
  font-weight: 600;
}

.step-label.completed {
  color: var(--primary-blue);
  font-weight: 600;
}

.step-arrow {
  color: #dee2e6;
  margin: 0 10px;
}

.step-arrow.active {
  border: 1px solid var(--primary-blue);
}

.step-container {
  background: var(--white);
  padding: var(--spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.ui-input.ui-phone-input {
  grid-template-columns: 1fr;
}

.step-outer-box {
  /* background: var(--white);
  padding: var(--spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
    */
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); */
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

@media screen and (max-width: 869px) {
  .step-outer-box {
    grid-template-columns: 1fr;
  }
}

.family-member-box {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  background: var(--white);
}

.family-member-box .null-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  gap: var(--spacing-sm);
}

.annual {
  background-color: #eeb32b1a;
  padding: var(--spacing-md);
  border-radius: var(--spacing-sm);
  border: 1px solid #eeb32b9a;
}

.annual p {
  margin: 0 !important;
  font-size: var(--font-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.annual p span {
  background-color: var(--border-medium);
  padding: 2px var(--spacing-base);
  border-radius: var(--spacing-lg);
  font-size: var(--font-xs);
}

.horse-name-list {
  margin-bottom: 0 !important;
}

.horse-name-list .horse-name small {
  font-size: var(--font-xs);
  color: #6b7280;
}

.horse-name-list .horse-status {
  line-height: 120%;
}

.annual small {
  line-height: 100%;
}

.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.horse-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.horse-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.horse-item.selected {
  background: #0934630d;
  border: 2px solid var(--primary-blue);
}

.horse-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.add-new-horse {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-size: var(--font-base);
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
}

.add-new-horse:hover {
  background-color: var(--orange-primary);
  color: var(--white);
}

.horse-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn.out-line-orange {
  border: 1px solid var(--orange-primary);
  color: var(--orange-primary) !important;
}

.btn.out-line-orange:hover {
  background-color: var(--orange-primary) !important;
  color: var(--white) !important;
}

.waiver-checkbox-container {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #f8f9fa;
}

.waiver-checkbox {
  transform: scale(1.2);
}

/* .coupon-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
} */

.input-pp {
  padding: 12px 18px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-right: 10px;
  min-width: 200px;
}

.btn-select-hours {
  background: #f45f0b;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-select-hours:hover {
  background: #e54a00;
}

.btn-select-hours-disable {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: not-allowed;
}

.disable-btn:disabled {
  background: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .step-progress {
    gap: 15px;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    text-align: center;
    overflow-x: auto;
  }

  .step-progress-item {
    width: 100%;
    justify-content: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }

  .step-content {
    padding: 0px;
  }

  .step-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .step-navigation button {
    width: 100%;
  }
}

/* new cart css listing  */

.mainBox {
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
}



/* .eventBox {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: white;
}

*/
.flexRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

@media screen and (max-width: 769px) {
  .eventBox {
    padding: 10px;
  }

  .detailItem span {
    overflow-wrap: anywhere;
    white-space: wrap;
  }

  .detailItemLocation span {
    overflow-wrap: anywhere;
    white-space: wrap;
  }

  .detailItemLocation svg {
    flex: 0 0 24px;
  }

  .detailItem svg {
    flex: 0 0 24px;
  }

  .flexRow {
    flex-direction: column;
    row-gap: 20px;
  }
}

.headingText {
  font-size: 16px;
  font-weight: 600 !important;
  color: #111827 !important;
  margin: 0;
  flex: 1;
  margin-right: 16px;
  margin: 0 !important;
  white-space: wrap;
}

.itemType {
  font-size: 20px;
  color: #111827 !important;
  font-weight: 600 !important;
  margin: 0;
  flex: 1;
  margin-right: 16px;
  margin: 0 !important;
  white-space: wrap;
  /* text-transform: capitalize; */
}

.item-family-type {
  font-size: 17px;
  color: #111827 !important;
  font-weight: 600 !important;
  margin: 0;
  flex: 1;
  margin-right: 16px;
  margin: 0 !important;
  white-space: wrap;
  /* text-transform: capitalize; */
}

.cart-i-new {
  display: flex;
  flex-direction: column;
}

.cart-i-new p {
  margin: 0;
  font-size: 15px;
}

.pricing {
  text-align: right;
}

.priceMain {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.priceTotal {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.detailsContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detailItem {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 14px;
  gap: var(--spacing-sm);
}

.detailItemLocation {
  display: flex;
  align-items: flex-start;
  color: #6b7280;
  font-size: 14px;
  gap: var(--spacing-sm);
}

.icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.iconLocation {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  margin-top: 2px;
  color: #9ca3af;
  flex-shrink: 0;
}

.actionIcon {
  width: 20px;
  height: 20px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s;
}

.actionIcon:hover {
  color: #ef4444;
}

.actionButtons {
  display: inline-block;
}

.actionButtons button {
  padding: 0;
}

.actionButtons button svg {
  color: #969696;
}

.actionButtons button svg:hover {
  color: var(--text-dark);
}

.clearCartButton {
  background-color: var(--white);
  border: 1px solid #ef4444 !important;
  color: #ef4444;
  border: none;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  /* margin: 16px auto; */
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.clearCartButton svg {
  height: 19px;
}

.clearCartButton:hover {
  background-color: #dc2626;
  color: var(--white);
}

.emptyCart {
  text-align: center;
  color: #6b7280;
  font-size: 18px;
  padding: 40px;
}

/* new cart css listing  */

/* cart out line */
.order-summary {
  background-color: #f8f9fa;
  padding: var(--spacing-md);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: var(--spacing-md);
}

.order-title-2 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  margin: 0 !important;
}

.order-items {
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 0;
  gap: var(--spacing-sm);
}

.item-name {
  text-decoration: none;
  cursor: pointer;
}

.item-price {
  font-weight: 500;
  color: #333;
}

.horse-info {
  margin-bottom: 12px;
  color: #666;
}

.horse-label {
  font-size: 14px;
}

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

.waivers-label {
  color: #666;
  font-size: 14px;
}

.status-badge {
  background-color: var(--primary-blue);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.order-totals {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 24px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.total-label {
  color: #666;
  font-size: 14px;
}

.total-amount {
  font-weight: 500;
  color: #333;
}

.processing-fee {
  margin-bottom: 12px;
}

.final-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 0;
}

.final-total .total-label {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.final-total .total-amount {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.payment-method {
  padding-top: 10px;
}

.payment-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 6px 0 !important;
}

.payment-card {
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.card-icon {
  font-size: 20px;
  margin-right: 12px;
}

.card-info {
  flex: 1;
}

.card-type {
  font-weight: 500;
  color: #333;
  line-height: 100%;
}

.card-brands {
  color: #666;
  font-size: 13px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #000 !important;
  border-radius: 0.25rem;
}

/* tolltip css add this */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.card-button {
  transition: background-color 0.3s ease;
}

/* Tooltip styles */
.tooltip {
  visibility: hidden;
  width: 500px;
  background-color: var(--white);
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: var(--spacing-md);
  position: absolute;
  z-index: 1;
  top: 125%;
  /* Position above the button */
  left: 50%;
  margin-left: -100px;
  /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  border: 1px solid var(--border-medium);
}

@media screen and (max-width : 679px) {
  .tooltip {
    width: 300px;
    left: 0%;
    margin-left: -180px;
    /* Center the tooltip */
  }
}

.tooltip .tool-tip-text {
  margin: 0;
  color: var(--text-dark) !important;
  font-size: 14px;
}

.tooltip ul li {
  color: var(--text-dark);
  font-size: var(--font-sm);
  font-weight: 500;
}

/* Tooltip arrow */
.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  /* Arrow at the bottom of tooltip */
  left: 10%;
  margin-left: 55px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--border-medium) transparent transparent transparent;
}

/* Show tooltip on hover */
.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* tolltip css add this */
.set-card-new-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

@media screen and (max-width: 992px) {
  .set-card-new-list {
    grid-template-columns: 1fr;
  }
}

.card-new-items {
  background: var(--white);
  padding: var(--spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.coupon-card {
  display: grid;
  margin-top: var(--spacing-md);
}