body {
  background-color: #f0f4f8;
  font-family: 'Kanit'
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/kanit/kanit--v16-latin_thai-300.woff2.woff2) format('woff2');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/kanit/kanit-v16-latin_thai-600.woff2) format('woff2');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/kanit/kanit-v16-latin_thai-700.woff2) format('woff2');
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/kanit/kanit-v16-latin_thai-regular.woff2) format('woff2');
}

.tracking-progress-bar {
  height: 5px;
  background-color: #e2e8f0;
  position: relative;
  margin: 0 12px;
  flex-grow: 1;
}
.tracking-progress-bar-fill {
  position: absolute;
  height: 100%;
  background-color: #4f46e5;
  transition: width 1s ease-in-out;
}
.tracking-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.tracking-dot.active {
  background-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}
.tracking-dot.completed {
  background-color: #4f46e5;
}
.tracking-dot i {
  color: white;
  font-size: 12px;
}
.parcel-card {
  transition: all 0.3s ease;
}
.parcel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.courier-selector {
  border-color: #e5e7eb;
  transition: all 0.3s ease;
}
.courier-selector:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.courier-selector.selected {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}
.courier-logo {
  width: 60px;
  height: 60px;
}
.slider-container {
  position: relative;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slider-button:hover {
  background-color: #f3f4f6;
}
.slider-button.prev {
  left: -15px;
}
.slider-button.next {
  right: -15px;
}
.courier-grid {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.courier-grid::-webkit-scrollbar {
  display: none;
}

.toast {
  width: 350px;
  max-width: 100%;
  font-size: 0.875rem;
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
}

.toast.showing {
  opacity: 0;
}

.toast:not(.show) {
  display: none;
}

.toast-container {
  width: -webkit-max-content;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
}

.toast-container> :not(:last-child) {
  margin-bottom: 16px;
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #637381;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: calc(0.375rem - 1px);
  border-top-right-radius: calc(0.375rem - 1px);
}

.toast-header .btn-close {
  margin-right: -0.375rem;
  margin-left: 0.75rem;
}

.toast-body {
  padding: 0.75rem;
  word-wrap: break-word;
}

.toast-container {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
  z-index: 2000;
}

.image-track {
  width: 125px;
  height: 125px;
}
