.account-page {
  margin-top: 40px;
  margin-bottom: 40px;
}

.breadcrumb-account {
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 24px;
}

/* Layout */
.account-wrapper {
  display: flex;
  gap: 32px;
}
.text-cancel{
  color: #A81C15;
}
@media (max-width: 991.98px) {
  .account-wrapper {
    flex-direction: column;
  }
}
.bg{
    background-color: #f7f2ff;
}
.bg-tracking{
    background-color: #e6dcf2;
}

.text-color{
    color: #7b3cff;
}
/* LEFT: tabs */
.account-sidebar {
  width: 320px; /* a bit wider, closer to design */
  flex-shrink: 0;
}

/* card bg for menu + delete */
.account-box {
  background: #f7f2ff; /* slightly more purple, like screenshot */
  border-radius: 24px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

/* menu items */
.account-tabs .nav-link {
  border: 0;
  border-radius: 0;
  padding: 18px 0;
  color: #222222;
  font-weight: 500;
  font-size: 16px;

  display: flex;                  /* make whole button flex */
  align-items: center;
  justify-content: space-between; /* text left, icon right */
  width: 100%;
  text-align: left;
  background: transparent;
  position: relative;
}

/* spacing between rows */
.account-tabs .nav-item + .nav-item .nav-link {
  margin-top: 24px;
}

/* icon wrapper + image */
.account-tabs .nav-link .icon {
  display: inline-flex;
  align-items: center;
}

.account-tabs .nav-link .icon img,
.account-box-delete .icon img {
  width: 14px;
  height: 14px;
  display: block;
}

/* remove default focus glow */
.account-tabs .nav-link:focus {
  box-shadow: none;
}

/* active text */
.account-tabs .nav-link.active {
  color: #7b3cff;
}

/* purple bar for active item */
.account-tabs .nav-link.active::before {
  content: "";
  position: absolute;
  left: -24px;              /* aligns with card padding */
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: #7b3cff;
}

/* Delete card */
.delete-title {
  color: #c5392a;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
}

.delete-text {
  font-size: 13px;
  color: #555;
  margin-bottom: 0;
}

/* RIGHT: content card */
.account-content {
  flex: 1;
  background: #f7f7f7;
  border-radius: 28px;
  padding: 32px 40px;
}

.account-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.account-content p.lead-text {
  margin-bottom: 28px;
  color: #666666;
  font-size: 14px;
}

/* Form styling */
.account-form-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.account-form-label span.required {
  color: #e53935;
}

.account-form .form-control {
  border-radius: 999px;
  border-color: #dfdfdf;
  background-color: #ffffff;
  padding: 12px 20px;
  height: 52px;
  font-size: 14px;
}

.account-form .form-control:focus {
  border-color: #7b3cff;
  box-shadow: 0 0 0 0.1rem rgba(123, 60, 255, 0.15);
}

/* Buttons */
.btn-cancel-soft {
  border-radius: 999px;
  background: rgba(0, 206, 124, 0.12);
  color: #00ce7c;
  border: 0;
  padding: 12px 36px;
  font-weight: 600;
}

.btn-cancel-soft:hover {
  background: rgba(0, 206, 124, 0.18);
  color: #00ce7c;
}

.btn-save-green {
  border-radius: 999px;
  background: linear-gradient(90deg, #00ce7c, #09d48a);
  border: 0;
  padding: 12px 40px;
  color: #ffffff;
  font-weight: 600;
}

.btn-save-green:hover {
  background: linear-gradient(90deg, #00b96f, #05c37f);
  color: #ffffff;
}

/* Make radios / checkboxes green if you reuse them here */
.form-check-input:checked {
  background-color: #00ce7c;
  border-color: #00ce7c;
}

.form-check-input:focus {
  border-color: #00ce7c;
  box-shadow: 0 0 0 0.2rem rgba(0, 206, 124, 0.25);
}
    .tracking-modal .modal-content {
      border-radius: 24px;
      border: none;
      padding: 24px 32px;
    }

    .tracking-modal .modal-dialog {
      max-width: 720px;
    }

    .tracking-modal .modal-header {
      border: none;
      padding-bottom: 0;
    }

    .tracking-modal .modal-title {
      font-size: 1.4rem;
      font-weight: 600;
    }

    .tracking-modal .btn-close {
      font-size: .9rem;
    }

    .tracking-modal .booking-number {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    /* Scroll area */
    .tracking-modal .timeline-wrapper {
      max-height: 420px;
      overflow-y: auto;
      padding-right: 8px;
    }

    .tracking-modal .timeline-wrapper::-webkit-scrollbar {
      width: 6px;
    }
    .tracking-modal .timeline-wrapper::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 999px;
    }
    .tracking-modal .timeline-wrapper::-webkit-scrollbar-thumb {
      background: #d5d5d5;
      border-radius: 999px;
    }

    /* Timeline */
    .timeline {
      position: relative;
      list-style: none;
      margin: 0;
      padding: 0 0 0 32px; /* space for dot + line */
    }

    .timeline-item {
      position: relative;
      padding-bottom: 28px;
    }

    .timeline-item:last-child {
      padding-bottom: 0;
    }

    /* extra gap between dots and text */
    .timeline-content {
      margin-left: 20px; /* adjust this for more/less gap */
    }

    /* Dot */
    .timeline-item::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 0 3px #e5f7ef;
    }

    /* Line */
    .timeline-item::after {
      content: "";
      position: absolute;
      left: 7px;   /* centered under dot */
      top: 22px;
      width: 2px;
      bottom: -6px;
      background: #10b981;
    }

    .timeline-item:last-child::after {
      display: none;
    }

    /* state colors */
    .timeline-item.completed::before,
    .timeline-item.current::before {
      background: #10b981;
    }

    .timeline-item.completed::after {
      background: #10b981;
    }

    .timeline-item.current::after {
      background: #d0d0d0;
    }

    .timeline-item.upcoming::before {
      background: #bdbdbd;
      box-shadow: 0 0 0 3px #f0f0f0;
    }

    .timeline-item.upcoming::after {
      background: #d0d0d0;
    }

    /* text */
    .timeline-title {
      font-size: 0.98rem;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .timeline-subtext {
      font-size: 0.9rem;
      color: #6b7280;
      margin-bottom: 2px;
    }

    .timeline-date {
      font-size: 0.85rem;
      color: #9ca3af;
    }
.rating-modal .modal-dialog {
    max-width: 420px;
  }

  .rating-modal .modal-content {
    border-radius: 24px;
    border: none;
    padding: 20px 26px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }

  .rating-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .rating-modal .btn-close {
    box-shadow: none;
    opacity: .7;
  }

  .rating-modal .btn-close:focus {
    box-shadow: none;
  }

  /* Stars */
  .star-rating .star {
    font-size: 28px;
    cursor: pointer;
    margin: 0 2px;
    color: #fbbf24; /* yellow for filled stars */
  }

  .star-rating .star.inactive {
    color: #e5e7eb; /* light gray for empty star */
  }

  /* Textarea */
  .review-textarea {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    resize: none;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .review-textarea:focus {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
  }

  /* Submit button */
  .submit-btn {
    background: #3ccf7f;       /* match your green */
    border: none;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 0;
    font-size: 0.98rem;
  }

  .submit-btn:hover {
    background: #32c373;
  }
  .booking-status {
  font-size: 14px;
}

/* Pending */
.status-pending {
  background: #fff4e5; /* soft pastel orange */
  color: #d87f3c;      /* warm orange text */
}

/* Processing */
.status-processing {
  background: #f0f4ff; /* light blue */
  color: #4b6cb7;      /* medium blue text */
}

/* On The Way */
.status-ontheway {
  background: #f3f0ff; /* soft purple */
  color: #6c4fff;      /* bright purple text */
}

/* Completed */
.status-completed {
  background: #e6f7ee; /* soft green */
  color: #28a745;      /* standard green text */
}

/* Cancelled & Rejected */
.status-cancelled,
.status-rejected {
  background: #fbeaea; /* light red/pink */
  color: #d9534f;      /* red text */
}

/* Unknown */
.status-unknown {
  background: #f0f0f0;
  color: #6c757d;
}

/* General styling for all booking-status pills */
.booking-status {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
}

.booking-status i {
  font-size: 1.2rem;
}
