@import url('jl-care-base.css');

/* =========================================================
   HALAMAN PANDUAN PEMESANAN (COMPACT PREMIUM TIMELINE)
   ========================================================= */
.care-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 15px;
  background: #f8fafc;
}

.care-hero {
  text-align: center;
  margin-bottom: 35px;
}

.care-hero h1 {
  font-weight: 800;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
}

.care-hero p {
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.care-container {
  max-width: 750px;
  margin: 0 auto;
}

/* Timeline Base */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background: #e2e8f0;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-icon {
  position: absolute;
  left: -32px;
  top: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.15);
  z-index: 2;
  border: 3px solid #f8fafc;
}

.timeline-content {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--primary);
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px -2px rgba(0, 0, 0, 0.08);
  border-left-color: var(--primary-dark);
}

.timeline-content h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-content p {
  color: #475569;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.timeline-content p:last-child {
  margin-bottom: 0;
}

.timeline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

/* Small Buttons inside Timeline */
.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-sm.wa {
  background: #25D366;
  color: #fff;
}
.btn-sm.wa:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.btn-sm.outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #475569;
}
.btn-sm.outline:hover {
  background: #f1f5f9;
  color: var(--primary);
  border-color: var(--primary);
}

/* Bank Info Box */
.bank-info {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-top: 12px;
}
.bank-info p {
  margin-bottom: 0 !important;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

/* Notes Section */
.care-notes {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin-top: 40px;
}
.care-notes h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.care-notes h4 i {
  color: var(--accent);
}
.care-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.care-notes ul li {
  position: relative;
  padding-left: 18px;
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.5;
}
.care-notes ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
  top: -2px;
}
.care-notes ul li:last-child {
  margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .care-main {
    padding: 30px 15px;
  }
  .care-hero {
    margin-bottom: 25px;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline::before {
    left: 12px;
  }
  .timeline-icon {
    width: 24px;
    height: 24px;
    left: -24px;
    top: 8px;
    font-size: 0.75rem;
    border-width: 2px;
  }
  .timeline-content {
    padding: 15px;
  }
  .timeline-content h3 {
    font-size: 1.05rem;
  }
  .timeline-content p {
    font-size: 0.85rem;
  }
  .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .care-notes {
    padding: 15px;
    margin-top: 30px;
  }
}
