.search {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Prompt', 'Segoe UI', 'Kanit', Tahoma, sans-serif;
  
}

.search-bg {
  position: absolute;
  top: 70%;
  right: 20%;
  transform: translate(-50%, -50%);
  width: 180px;
  opacity: 0.3; /* ให้จางลง */
  z-index: 1; /* ต่ำกว่าช่องค้นหา */
  pointer-events: none; /* คลิกทะลุภาพได้ */
}

@media (max-width: 576px) {
  .search-bg {
  position: absolute;
  top: 60%;
  right: 10px;
  }
}

/*----time line */
.timeline {
    position: relative;
    margin-left: 20px;
    border-left: 3px solid #fff;
    padding-left: 20px;
}

.timeline-step {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 0;
    background: #fff;
    border: 3px solid #ccc;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 34px;
    font-size: 1.5rem;
    z-index: 2;
    color: #ccc;
}

.timeline-step.active .timeline-marker {
    border-color: #198754;
    color: #198754;
}

.timeline-icon i {
    vertical-align: middle;
}

.timeline-line {
    position: absolute;
    left: 17px;
    top: 45px;
    height: calc(100% - 10px);
    width: 1.5px;
    background: #dee2e6;
}

.timeline-step.active .timeline-line {
    background: #198754;
}

.timeline-content {
    padding-left: 8rem;
}

.timeline-content i {
    margin-right: 1px;
}

.timeline-step.active .timeline-content .fs-5 {
    color: #212529;
}

.timeline-step:not(.active) .timeline-content .fs-5 {
    color: #adb5bd;
}

.timeline-step {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
.timeline-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-card-bg {
  background: linear-gradient(135deg,rgb(191, 240, 170),rgb(238, 250, 196));
}

input::placeholder {
  color: #888;
  font-style: italic;
}

form.d-flex input:focus {
  box-shadow: none;
  outline: none;
}
