/* ===================== */
/* IMPORTANT INPUT STYLES */
/* ===================== */
.bidanvc-reservasi-container .baby-input,
.bidanvc-reservasi-container .baby-select,
.bidanvc-reservasi-container .baby-textarea {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid var(--primary) !important;
    border-radius: var(--radius) !important;
    background: var(--white) !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
}

.bidanvc-reservasi-container .baby-input:focus,
.bidanvc-reservasi-container .baby-select:focus {
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 3px rgba(255,182,193,0.3) !important;
    outline: none !important;
}

/* ====================== */
/* IMPORTANT ACCORDION CSS */
/* ====================== */
.bidanvc-reservasi-container .accordion-button {
    background: rgba(137,207,240,0.1) !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    border-radius: var(--radius) !important;
    padding: 1.5rem !important;
    border: 2px solid var(--primary) !important;
}

.bidanvc-reservasi-container .accordion-button:not(.collapsed) {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

.bidanvc-reservasi-container .accordion-body {
    padding: 1.5rem !important;
    background: rgba(255,255,255,0.9) !important;
    border: 2px solid var(--primary) !important;
    border-top: none !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
}
/* ===================== */
/* CONSISTENT VARIABLES */
/* ===================== */
:root {
    --primary: #89CFF0;
    --secondary: #FFB6C1;
    --accent: #98FB98;
    --text: #2c3e50;
    --background: #f8f9fa;
    --white: #ffffff;
    --radius: 15px;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Consistent Spacing Variables */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    
    /* Consistent Breakpoints */
    --mobile: 576px;
    --tablet: 768px;
    --desktop: 992px;
    --large: 1200px;
}
  
/* ===================== */
/* BASE STYLES - CONSISTENT SPACING */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset fieldset default styling */
fieldset {
  border: none;
  margin: 0;
  padding: 0 !important;
  min-width: 0;
}

legend {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding: var(--spacing-lg); /* Consistent desktop padding */
}
  
/* ===================== */
/* LAYOUT COMPONENTS - CONSISTENT */
/* ===================== */
.baby-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0; /* Remove default padding */
}
  
  .step {
    display: none;
    animation: slideIn 0.4s ease-out;
  }
  
  .step.active {
    display: block;
  }
  
  /* ===================== */
  /* PROGRESS TIMELINE */
  /* ===================== */
/* ===================== */
/* TIMELINE - CONSISTENT */
/* ===================== */
.baby-timeline {
  position: relative;
  height: 8px;
  background: rgba(137,207,240,0.2);
  border-radius: 4px;
  margin: var(--spacing-xl) 0; /* Consistent margin */
}
  
  .timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.5s ease;
  }
  
  .timeline-items {
    position: absolute;
    top: -28px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
  }
  
.timeline-item {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow);
  cursor: pointer;
}
  
  .timeline-item.active {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--secondary);
  }
  
  .timeline-content {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--text);
  }
  
  /* ===================== */
  /* CARD DESIGN */
  /* ===================== */
.baby-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 3px solid var(--primary);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: var(--spacing-sm) 0; /* Consistent margin */
  transition: var(--transition);
}
  
  .baby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  
.baby-header {
  background: linear-gradient(135deg, var(--primary), #6dd5fa);
  padding: var(--spacing-lg); /* Consistent padding */
  position: relative;
  color: var(--white);
}
  
  .baby-header::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--primary);
  }
  
  .baby-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .baby-title i {
    font-size: 1.5em;
  }
  
  /* ===================== */
/* FORM ELEMENTS */
/* ===================== */
.baby-form {
  padding: 1.25rem; /* Consistent padding 1.25rem */
}

.baby-input-group {
  margin-bottom: var(--spacing-md); /* Consistent spacing */
  position: relative;
}

.baby-label {
  display: block;
  margin-bottom: var(--spacing-xs); /* Consistent spacing */
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
  
  .baby-label.required::after {
    content: "*";
    color: var(--secondary);
    margin-left: 0.25rem;
  }
  
/* ===================== */
/* FORM ELEMENTS - CONSISTENT */
/* ===================== */
.baby-input,
.baby-select,
.baby-textarea {
  width: 100% !important;
  padding: var(--spacing-sm) !important; /* Consistent padding */
  border: 2px solid var(--primary) !important;
  border-radius: var(--radius) !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
  background: rgba(255,255,255,0.9) !important;
  margin-bottom: var(--spacing-sm); /* Consistent bottom margin */
}

.baby-input:focus,
.baby-select:focus,
.baby-textarea:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 3px rgba(255,182,193,0.3) !important;
  outline: none !important;
}
  
  /* ===================== */
  /* INTERACTIVE MAP */
  /* ===================== */
/* ===================== */
/* SPECIFIC COMPONENT FIXES */
/* ===================== */

/* Map Section */
.baby-map {
  height: 350px;
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--primary);
  margin: var(--spacing-md) 0; /* Consistent margin */
  overflow: hidden;
  background: var(--white);
}
  
  .leaflet-container {
    font-family: 'Nunito', system-ui, sans-serif;
  }
  
  .leaflet-popup-content {
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }
  
  /* ===================== */
  /* BUTTONS & INTERACTION */
  /* ===================== */
/* ===================== */
/* BUTTONS - CONSISTENT */
/* ===================== */
.btn-baby {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--spacing-xs) !important;
  padding: var(--spacing-sm) var(--spacing-lg) !important; /* Consistent padding */
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  margin: var(--spacing-xs) !important; /* Consistent margin */
}

.baby-footer {
  padding: var(--spacing-lg); /* Consistent padding */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm); /* Consistent gap */
  flex-wrap: wrap; /* Allow wrapping on small screens */
}
  /* Modern Alert Styling */
.custom-alert {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  max-width: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: slideInRight 0.3s ease-out;
  overflow: hidden;
}

.custom-alert.show {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.custom-alert.alert-warning {
  border-left: 4px solid #ffc107;
}

.alert-container {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  gap: 12px;
}

.alert-icon {
  color: #ffc107;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
  font-size: 16px;
}

.alert-message {
  color: #666;
  line-height: 1.4;
  font-size: 14px;
}

.alert-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.alert-close:hover {
  background: rgba(0,0,0,0.05);
  color: #666;
}

.alert-progress {
  height: 3px;
  background: #f0f0f0;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.alert-progress-bar {
  height: 100%;
  background: #ffc107;
  width: 0;
  transition: width linear;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Alert Types */
.alert-success .alert-icon {
  color: #2ecc71;
}

.alert-success .alert-progress-bar {
  background-color: #2ecc71;
}

.alert-error .alert-icon {
  color: #e74c3c;
}

.alert-error .alert-progress-bar {
  background-color: #e74c3c;
}

.alert-warning .alert-icon {
  color: #f39c12;
}

.alert-warning .alert-progress-bar {
  background-color: #f39c12;
}

.alert-info .alert-icon {
  color: #3498db;
}

.alert-info .alert-progress-bar {
  background-color: #3498db;
}

/* Soft pink alert to match your theme */
.alert-pink .alert-icon {
  color: #d23f7a;
}

.alert-pink .alert-progress-bar {
  background-color: #f8d7e3;
}
  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary))!important;
    color: var(--white)!important;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px)!important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2)!important;
  }
  
  .btn-secondary {
    background: var(--white)!important;
    color: var(--text)!important;
    border: 2px solid var(--primary)!important;
  }
  
  .btn-secondary:hover {
    background: var(--primary)!important;
    color: var(--white)!important;
  }
  
  .btn-secondarys {
    background: var(--white) !important;
    color: var(--text) !important;
    border: 2px solid var(--secondary) !important;
  }
  
  .btn-secondarys:hover {
    background: var(--secondary) !important;
    color: var(--white);
  }
  .toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF 50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    transition: opacity 0.5s;
}

.toast-notification.fade-out {
    opacity: 0;}
/* ====================== */
/* ACCORDION STYLES - IMPROVED */
/* ====================== */

/* Base Accordion Styles */
.accordion-item {
    border: 2px solid var(--primary) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 1rem !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Unified Accordion Button Styles */
.accordion-button,
.accordion-buttons {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(137,207,240,0.1) !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    border-radius: var(--radius) !important;
    border: none !important;
    padding: 1rem 1.5rem !important; /* Reduced padding */
    font-size: 1rem !important; /* Consistent font size */
    line-height: 1.4 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
}

.accordion-button:hover,
.accordion-buttons:hover {
    background: rgba(137,207,240,0.2) !important;
    transform: translateY(-1px);
}

.accordion-button:not(.collapsed),
.accordion-buttons:not(.collapsed) {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

.accordion-button:focus,
.accordion-buttons:focus {
    box-shadow: 0 0 0 3px rgba(137,207,240,0.3) !important;
    outline: none !important;
}

/* Accordion Headers */
.accordion-headers,
.accordion-header {
    margin: 0 !important;
    padding: 0 !important;
}

/* Accordion Body */
.accordion-body {
    padding: 1.25rem !important; /* Slightly reduced padding */
    background: rgba(255,255,255,0.95) !important;
    border: none !important;
    border-top: 1px solid rgba(137,207,240,0.3) !important;
    font-size: 0.95rem !important; /* Slightly smaller font */
    line-height: 1.5 !important;
}
  
  /* ===================== */
  /* DATE CARDS */
  /* ===================== */
/* Date Cards */
.date-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm); /* Consistent gap */
  margin: var(--spacing-md) 0;
}

@media (max-width: 576px) {
  .date-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs); /* Smaller gap on mobile */
  }
}
  
  .date-card {
    position: relative;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    text-align: center;
  }
  
  .date-card:hover {
    transform: scale(1.05);
    z-index: 1;
  }
  
  .date-card.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--secondary);
  }
  
  .date-day {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .date-number {
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
  }
  
  /* ===================== */
  /* SERVICE STYLES */
  /* ===================== */
  .added-service .added-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(137,207,240,0.1);
    border-radius: var(--radius);
    margin: 0.5rem 0;
    transition: var(--transition);
  }
  
  .added-service:hover {
    background: rgba(137,207,240,0.2);
  }
  
  .service-price {
    color: var(--secondary);
    font-weight: 700;
  }
  
  /* ===================== */
  /* SUMMARY STYLES */
  /* ===================== */
  .image-preview {
    max-width: 100%;
    height: auto;
    border: 3px dashed var(--primary);
    border-radius: var(--radius);
    padding: 5px;
    margin-top: 1rem;
  }
  
  #termsCheckbox {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    accent-color: var(--primary);
  }
  
  /* ===================== */
  /* ANIMATIONS */
  /* ===================== */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
  }
  
  /* ===================== */
  /* DECORATIVE ELEMENTS */
  /* ===================== */
  .baby-decor {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
  }
  
  .bubble {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, var(--primary), #6dd5fa);
    border-radius: 50%;
    animation: float 3s infinite;
  }
  
  .rubber-duck {
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23FFD700" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 13.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zm2 0c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zm2 0c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5z"/></svg>');
    animation: float 3s infinite 0.5s;
  }
  
/* ===================== */
/* RESPONSIVE DESIGN - CONSISTENT BREAKPOINTS */
/* ===================== */

/* Tablet Styles */
@media (min-width: 577px) and (max-width: 991px) {
  .baby-form {
    padding: 1.25rem; /* Consistent padding 1.25rem */
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xs: 0.4rem;   /* Slightly smaller on tablet */
    --spacing-sm: 0.8rem;
    --spacing-md: 1.2rem;
    --spacing-lg: 1.6rem;
    --spacing-xl: 2.4rem;
  }
  
  body {
    padding: var(--spacing-sm); /* Reduced padding for tablet */
  }
  
  .baby-container {
    padding: 0;
  }
  
  .baby-title {
    font-size: 1.5rem;
  }
  
  .baby-header {
    padding: var(--spacing-md); /* Consistent with new spacing */
  }
  
  .baby-form {
    padding: var(--spacing-md); /* Consistent with new spacing */
  }
  
  .timeline-item {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .accordion-button,
  .accordion-buttons {
    padding: 0.875rem 1.25rem !important; /* Reduced padding for tablet */
    font-size: 0.95rem !important; /* Slightly smaller font */
  }
  
  .accordion-body {
    padding: 1rem !important; /* Reduced padding for tablet */
    font-size: 0.9rem !important; /* Smaller font for better readability */
  }
  
  #step5 .accordion-button {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
  
  #step5 .accordion-body {
    padding: 1rem !important;
    font-size: 0.9rem !important;
  }
  
  .baby-footer {
    padding: var(--spacing-md); /* Consistent padding */
    flex-direction: column; /* Stack buttons vertically */
    gap: var(--spacing-sm);
  }
}

/* Mobile Styles */
@media (max-width: 576px) {
  :root {
    --spacing-xs: 0.3rem;   /* Smaller spacing for mobile */
    --spacing-sm: 0.6rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.4rem;
    --spacing-xl: 2rem;
  }
  
  body {
    padding: 0; /* Remove padding for full width */
  }
  
  /* Full width container for mobile */
  .baby-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Full width card luar dengan padding dalam yang disesuaikan */
  .baby-card {
    margin: 0; /* Remove margin for full width */
    border-radius: 0; /* Remove border radius for full width */
    border-left: none; /* Remove left border */
    border-right: none; /* Remove right border */
  }
  
  /* Adjust padding untuk card dalam */
  .baby-header {
    padding: 1.25rem; /* Consistent padding 1.25rem */
  }
  
  .baby-form {
    padding: 1.25rem; /* Consistent padding 1.25rem */
  }
  
  .baby-footer {
    padding: 1.25rem; /* Consistent padding 1.25rem */
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  /* Accordion body padding adjustment */
  .accordion-body {
    padding: var(--spacing-md) !important; /* Adjusted padding for inner content */
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  
  .baby-title {
    font-size: 1.3rem;
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .btn-baby {
    width: 100% !important;
    justify-content: center !important;
    margin: var(--spacing-xs) 0 !important;
  }
  
  .baby-input-group {
    margin-bottom: var(--spacing-sm);
  }
  
  .timeline-item {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  /* Accordion Mobile Styles */
  .accordion-item {
    margin-bottom: 0.75rem !important;
    border-radius: 0 !important; /* Remove border radius for full width */
  }
  
  .accordion-button,
  .accordion-buttons {
    padding: 0.75rem var(--spacing-md) !important; /* Adjusted horizontal padding */
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    min-height: 48px;
    border-radius: 0 !important; /* Remove border radius for full width */
  }
  
  .accordion-button::after,
  .accordion-buttons::after {
    width: 1rem !important;
    height: 1rem !important;
  }
  
  /* Step 5 Mobile Specific */
  #step5 .baby-card {
    margin: 0; /* Full width */
    border-radius: 0; /* Remove border radius */
    border-left: none;
    border-right: none;
  }
  
  /* Service and Product Cards - Mobile Optimization */
  .service-card,
  .product-card {
    margin: var(--spacing-xs) var(--spacing-md); /* Add horizontal margin for inner cards */
    border-radius: var(--radius); /* Keep border radius for inner cards */
  }
  
  .client-detail-item {
    grid-template-columns: 1fr; /* Stack labels and values */
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
  }
  
  .client-detail-label {
    font-weight: 700;
    color: var(--primary);
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .baby-container {
    max-width: 900px; /* Slightly larger on large screens */
  }
  
  .baby-form {
    padding: 1.25rem; /* Consistent padding 1.25rem */
  }
}
  
/* ===================== */
/* UTILITY CLASSES - CONSISTENT */
/* ===================== */
.text-center { text-align: center; }
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm); /* Consistent gap */
  flex-wrap: wrap; /* Allow wrapping */
}

/* Konsistensi spacing dalam baby-section */
.baby-section .baby-input-group.mt-4 {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
  /* ===================== */
  /* STEP 5: SUMMARY STYLES */
  /* ===================== */
  #step5 .baby-card {
    margin-top: 2rem;
  }
  
  .baby-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
  }
  .baby-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary);
  }
  
  .baby-section-title i {
    font-size: 1.4rem;
    color: var(--primary);
  }
  
/* Step 5 Specific Accordion Styles */
#step5 .accordion {
    margin-top: 1rem;
}

#step5 .accordion-item {
    border-color: var(--primary);
    margin-bottom: 1rem;
}

#step5 .accordion-button {
    background-color: rgba(137, 207, 240, 0.1) !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
}

#step5 .accordion-button:not(.collapsed) {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

#step5 .accordion-body {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 1.25rem !important;
    font-size: 0.95rem !important;
}
/* Accordion Arrow Icon */
.accordion-button::after,
.accordion-buttons::after {
    flex-shrink: 0;
    width: 1.1rem !important; /* Slightly smaller icon */
    height: 1.1rem !important;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.1rem;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after,
.accordion-buttons:not(.collapsed)::after {
    transform: rotate(-180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
  /* Total Section */
  #grandTotalSummary {
    display: block;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.4rem;
  }
  
  /* Payment Info Section */
  #step5 p strong {
    display: block;
    padding: 1rem;
    background: rgba(152, 251, 152, 0.2);
    border-radius: var(--radius);
    margin: 1rem 0;
    border-left: 4px solid var(--secondary);
  }
  
  /* File Upload */
  #dpProof {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    margin: 1rem 0;
  }
  
  #dpProof::file-selector-button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    margin-right: 1rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  #dpProof::file-selector-button:hover {
    background: var(--secondary);
  }
  
  /* Terms Checkbox */
  .form-check {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
    display: flex
    ;
        flex-direction: row;
        flex-wrap: nowrap;
  }
  
  .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary);
  }
  
  .form-check-label {
    font-size: 0.95rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .baby-section {
      padding: 1.25rem;
    }
    
    .baby-section-title {
      font-size: 1.1rem;
    }
    
    #grandTotalSummary {
      font-size: 1.2rem;
    }
    
    #dpProof::file-selector-button {
      padding: 0.4rem 0.8rem;
    }
  }
  
  @media (max-width: 576px) {
    #step5 .baby-card {
    }
    
    .baby-section-title i {
      font-size: 1.2rem;
    }
    
    .form-check {
      display: flex;
          margin-bottom: 1rem;
          flex-direction: row;
          flex-wrap: nowrap;
    }
  }
  /* ===================== */
  /* CUSTOM TOGGLE SWITCH */
  /* ===================== */
  .form-switch {
    padding-left: 0;
    margin-bottom: 1rem;
  }
  /* Checkbox Standar dengan Warna Tema */
.form-check-input {
  width: 1.2em !important;
  height: 1.2em !important;
  margin-top: 0.2em;
  border: 2px solid var(--primary) !important;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(137, 207, 240, 0.25) !important;
}

.form-check-label {
  margin-left: 0.5rem;
  color: var(--text);
  user-select: none;
}
  .baby-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    vertical-align: middle;
    cursor: pointer;
  }
  
  #selfReservationHelp {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
  }
  
  /* Container styling */
  .baby-input-group .form-check {
    padding: 1.2rem;
    background: rgba(137, 207, 240, 0.1);
    border-radius: var(--radius);
    border: 2px solid var(--primary);
  }
  /* Radio Button Custom */
  .form-check {
    margin-bottom: 1rem;
  }
  
  .form-check-input {
    width: 1.2em !important;
    height: 1.2em !important;
    margin-top: 0.2em;
  }
  
  .form-check-label {
    margin-left: 0.5rem;
    font-size: 1.1rem;
  }
  
  .alert {
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .alert-info {
    background-color: rgba(137, 207, 240, 0.2);
    border: 2px solid var(--primary);
    color: var(--text);
  }
  
  .alert-warning {
    background-color: rgba(255, 182, 193, 0.2);
    border: 2px solid var(--secondary);
    color: var(--text);
  }
  .error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
  }
  .error-border {
    border-color: #dc3545 !important;
  }

  .homecare-info {
    margin-top: 1rem;
  }
  
  .baby-alert.info {
    background: #e8f4ff;
    border: 1px solid #2196F3;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .transport-table {
    margin: 1rem 0;
  }
  
  .transport-table .row {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
  }
  
  .transport-table .row.header {
    font-weight: bold;
    background: #f8f9fa;
  }
  
  .transport-table .row:last-child {
    border-bottom: none;
  }
  
  .note {
    color: #666;
    font-size: 0.9em;
  }
/* Timeline Container */
.baby-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 0;
}

/* Progress Line */
.timeline-progress {
  height: 4px;
  background: rgba(137, 207, 240, 0.2);
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  transform: translateY(-50%);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.5s ease;
}

/* Timeline Items */
.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.timeline-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Circle Indicator */
.timeline-item::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: white;
  display: block;
  transition: all 0.3s ease;
}

/* Completed State */
.timeline-item.completed::before {
  background: var(--primary);
  border-color: var(--secondary);
}

.timeline-item.completed::after {
  content: '✓';
  color: white;
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Active State */
.timeline-item.active::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(137, 207, 240, 0.3);
}

/* Disabled State */
.timeline-item:not(.completed):not(.active) {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-progress {
      left: 30px;
      right: 30px;
  }
  
  .timeline-item {
      width: 30px;
      height: 30px;
  }
  
  .timeline-item::before {
      width: 20px;
      height: 20px;
  }
  
  .timeline-item.completed::after {
      font-size: 12px;
  }
}
  .service-modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

#searchService {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}
#searchService:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.service-modal-content {
  max-height: 70vh;
  overflow-y: auto;
  padding: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .service-modal-content table {
    display: none; /* Sembunyikan tabel di mobile */
  }
  
  .mobile-service-list {
    display: block;
  }
  
  .mobile-service-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
  }
  
  .mobile-service-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
  }
  
  .mobile-service-item p {
    margin: 4px 0;
    font-size: 14px;
    color: #666;
  }
  
  .mobile-service-item button {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    font-size: 14px;
  }
  
  .added-service {
    flex-direction: column;
    padding: 10px;
  }
  
  .added-service button {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 12px;
    align-self: flex-end;
  }
}

/* Desktop Styles */
@media (min-width: 769px) {
  .mobile-service-list {
    display: none;
  }
}
.added-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 8px;
}

.added-service div {
  flex-grow: 1;
  margin-right: 15px;
}

.added-service h5 {
  margin: 0;
  font-size: 14px;
}

.added-service small {
  font-size: 12px;
  color: #666;
}

.added-service button {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .added-service {
      flex-wrap: wrap;
  }
  
  .added-service button {
      margin-top: 8px;
      width: 100%;
      text-align: center;
  }
}
.service-description {
  position: relative;
  line-height: 1.4;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9em;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary);
}

/* Untuk mobile */
.mobile-service-item .service-description {
  font-size: 14px;
  margin: 8px 0;
}

.mobile-service-item .read-more {
  display: block;
  margin-top: 5px;
  text-decoration: none;
  background: rgba(137, 207, 240, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}
/ Tambahkan CSS
.btn-pink {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    margin-left: 10px;
}

.btn-pink:hover {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    color: white;
}

.added-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(137,207,240,0.1);
  border-radius: var(--radius);
  margin: 0.5rem 0;
  transition: var(--transition);
}

.product-modal-content {
    background: rgba(255,105,180,0.05);
    border: 2px solid #ff69b4;
    border-radius: 15px;
}

/* Modal produk */
#productsModal .modal-header {
    background: #ff69b4;
    color: white;
}

#productsModal .close {
    color: white;
}
// Tambahkan CSS untuk load more
.btn-pink.load-more {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    margin: 20px auto;
    display: block;
    width: fit-content;
}

.btn-pink.load-more:hover {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
}
@media (max-width: 768px) {
  .product-modal-content table {
      display: none;
  }
  
  .mobile-product-list {
      display: block;
  }
  
  .mobile-product-item {
      border: 1px solid #ff69b4;
      border-radius: 15px;
      padding: 15px;
      margin-bottom: 15px;
      background: rgba(255,105,180,0.05);
  }
  
  .mobile-product-item h4 {
      color: #ff1493;
      font-size: 1.1rem;
  }
  
  .mobile-product-item button {
      width: 100%;
      margin-top: 10px;
  }
}
.btn-pink-outline {
  border: 2px solid #ff69b4;
  color: #ff69b4;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-pink-outline:hover {
  background-color: #ff69b4;
  color: white;
}

/* Sembunyikan tampilan mobile di desktop */
@media (min-width: 769px) {
  .mobile-service-list, 
  .mobile-product-list {
      display: none !important;
  }
}

/* Tampilkan tabel di desktop */
@media (min-width: 769px) {
  .baby-table {
      display: table !important;
  }
}

/* Sembunyikan tabel di mobile */
@media (max-width: 768px) {
  .baby-table {
      display: none;
  }
  .mobile-service-list,
  .mobile-product-list {
      display: block;
  }
}
.added-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  background: rgba(255,105,180,0.1);
  border-left: 4px solid #ff69b4;
  border-radius: 8px;
}

.added-service h5 {
  margin: 0;
  color: #333;
}

.added-service small {
  color: #666;
  display: block;
  margin-top: 0.25rem;
}

.btn-danger {
  background: #e7737e;
  border: none;
  padding: 0.5rem 1rem;
}
.transport-section {
  background: #fff3f8;
  border: 1px solid #ff69b4;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.transport-section h5 {
  color: #ff1493;
  border-bottom: 2px solid #ff69b4;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.total {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1rem;
  color: #ff69b4;
  border-top: 2px solid #eee;
  padding-top: 1rem;
}

.transport-section {
  background: #fff8f8;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid #ff69b4;
}

.transport-section h5 {
  color: #ff1493;
  margin-bottom: 1rem;
}
.added-service {
  background: rgba(33, 150, 243, 0.1) !important;
  border-left: 4px solid #2196F3 !important;
}

.added-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(137,207,240,0.1);
  border-radius: var(--radius);
  margin: 0.5rem 0;
  transition: var(--transition);
}

.added-service, .added-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  border-radius: 8px;
}

.added-service h5, .added-product h5 {
  color: #333;
  margin: 0;
  font-size: 1rem;
}

.added-service small, .added-product small {
  color: #666;
  font-size: 0.875rem;
}
.reservation-detail {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.reservation-detail h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.client-list p {
  margin: 0.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid #3498db;
}

.address-section {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border: 1px solid #eee;
}

.photo-preview img {
  border-radius: 8px;
  margin-top: 1rem;
}
/* CSS untuk Section Detail Reservasi */
.reservation-detail {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reservation-detail h4 {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.client-list {
  margin-top: 15px;
}

.client-list h5 {
  color: #34495e;
  margin-bottom: 10px;
}

.client-list p {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  margin: 5px 0;
  border-left: 4px solid #3498db;
}
.service-list {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.service-item:last-child {
  border-bottom: none;
}
/* CSS untuk Total Summary */
.total-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding: 8px;
  background: #fff;
  border-radius: 5px;
}

.total-estimasi {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #3498db;
  font-weight: bold;
  font-size: 1.1em;
}
/* Tambahkan di bagian CSS */
.total-estimasi-box {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.total-estimasi-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding-bottom: 0.5rem;
}

.total-estimasi-amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.breakdown-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;.added-product
  padding-top: 1rem;
  border-top: 2px solid var(--primary);
  font-weight: 600;
  color: var(--primary);
}
/* Di bagian CSS */
.service-section, .product-section {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.service-section h6, .product-section h6 {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.subtotal {
  display: flex;
  justify-content: space-between;
  padding-left: 1rem;
  font-weight: 800;
  font-color: var(--primary);
}
/* Base Style untuk Kedua Tipe */
.added-service, 
.added-product {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    margin: 0.5rem 0 !important;
    background: rgba(137, 207, 240, 0.1) !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

/* Hover State */
.added-service:hover, 
.added-product:hover {
    background: rgba(137, 207, 240, 0.2) !important;
    transform: translateX(5px) !important;
}

/* Konten */
.added-service h5, 
.added-product h5,
.added-service small, 
.added-product small {
    color: var(--text) !important;
    margin: 0 !important;
    font-size: 1rem !important;
    flex-grow: 1 !important;
}

.added-service small, 
.added-product small {
    font-size: 0.875rem !important;
    display: block !important;
    margin-top: 0.25rem !important;
}

/* Tombol Hapus */
.added-service button, 
.added-product button {
    background: var(--secondary) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-left: 1rem !important;
}

.added-service button:hover, 
.added-product button:hover {
    background: #ff809d !important;
}

/* Custom Style untuk Produk */
.added-product {
    border-left-color: var(--secondary) !important;
    background: rgba(255, 182, 193, 0.1) !important;
}

.added-product:hover {
    background: rgba(255, 182, 193, 0.2) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .added-service, 
    .added-product {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .added-service button, 
    .added-product button {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 1rem !important;
    }
}

/* Schedule Section */
.schedule-section {
  margin-top: 2rem;
  background: rgba(137, 207, 240, 0.1) !important;
  border: 2px solid var(--primary) !important;
  border-radius: var(--radius) !important;
  padding: 1.5rem !important;
}

.schedule-details {
  padding: 1rem 0;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--white) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(137, 207, 240, 0.3) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}

.schedule-label {
  font-weight: 600;
  color: var(--text) !important;
  flex: 0 0 160px;
}

.schedule-value {
  color: #2c3e50 !important;
  font-weight: 500;
  text-align: right;
  flex: 1;
}

.schedule-notes {
  background: rgba(255, 182, 193, 0.1) !important;
  padding: 1rem !important;
  border-radius: 8px !important;
  border-left: 4px solid var(--secondary) !important;
  margin-top: 0.5rem !important;
  color: var(--text) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .schedule-item {
      flex-direction: column;
      gap: 0.5rem;
  }
  
  .schedule-label {
      flex: none;
      margin-bottom: 0.5rem;
  }
  
  .schedule-value {
      text-align: left;
  }
}

/* Schedule Item */
.schedule-item {
  display: block !important; /* Ubah dari flex ke block */
  padding: 1.5rem !important;
}

.schedule-label {
  display: block !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.9rem !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
}

.schedule-value, .schedule-notes {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
}

.schedule-notes {
  margin-top: 1rem !important;
  padding: 1rem !important;
  background: rgba(255, 182, 193, 0.05) !important;
  border: 1px solid rgba(255, 182, 193, 0.3) !important;
  border-radius: 8px !important;
  line-height: 1.6 !important;
}

/* Hapus flex pada mobile */
@media (max-width: 768px) {
  .schedule-item {
      flex-direction: column !important;
      align-items: flex-start !important;
  }
}
/* Client Detail Styles */
.client-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.client-detail-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(137, 207, 240, 0.2);
}

.client-detail-item:last-child {
  border-bottom: none;
}

.client-detail-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.client-detail-value {
  color: var(--text);
  word-break: break-word;
}

/* Untuk Catatan Khusus */
.client-notes .client-medicalcon {
  background: rgba(255, 182, 193, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid var(--secondary);
}
/* Base modal styles */
.service-modal-content {
  padding: 15px;
}

/* Filter styling */
.service-filters {
  margin-bottom: 15px;
}

.service-filters input,
.service-filters select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/* Service card styling */
.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.service-card:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.service-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.service-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.service-price {
  font-weight: 600;
  color: #4caf50;
}

.service-duration {
  color: #757575;
}

.service-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-footer {
  display: flex;
  justify-content: flex-end;
}

.service-footer .btn-baby {
  min-width: 80px;
}

/* Table styling for desktop */
.service-table {
  width: 100%;
  border-collapse: collapse;
}

.service-table th,
.service-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.service-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.service-table tr:hover {
  background-color: #f5f5f5;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
  /* Modal sizing */
  .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
  }
  
  .modal-content {
    border-radius: 0;
    min-height: 100%;
  }
  
  .modal-body {
    padding: 10px;
  }
  
  /* Larger touch targets */
  .service-filters input,
  .service-filters select {
    height: 42px;
    font-size: 16px; /* Prevents iOS zooming on focus */
  }
  
  /* Card adjustments */
  .service-card {
    padding: 12px;
    margin-bottom: 10px;
  }
  
  .service-title {
    font-size: 15px;
  }
  
  .service-description {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  /* Button sizing */
  .btn-baby {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Improve scrolling */
  .service-results {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow- scroll: touch;
    overflow-scrolling: touch;
  }
}

/* Base styles for product modal */
.product-modal-content {
  padding: 15px;
}

/* Product card styling for mobile and tablet */
.product-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.product-card:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.product-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.product-price {
  font-weight: 600;
  color: #e83e8c;
  margin-bottom: 8px;
  font-size: 15px;
}

.product-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-footer {
  display: flex;
  justify-content: flex-end;
}

.product-footer .btn-baby {
  min-width: 80px;
}

/* Table styling for desktop */
.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.product-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.product-table tr:hover {
  background-color: #f5f5f5;
}

/* "Read more" functionality */
.product-description .excerpt {
  display: inline;
}

.product-description .full-text {
  display: none;
}

.product-description .read-more {
  display: inline-block;
  margin-left: 5px;
  color: #e83e8c;
  text-decoration: none;
  font-size: 13px;
}

.product-description .read-more:hover {
  text-decoration: underline;
}

/* Search field styling */
.product-modal-content .form-control {
  border-radius: 4px;
  border: 1px solid #ced4da;
  padding: 8px 12px;
  width: 100%;
  transition: border-color 0.2s;
}

.product-modal-content .form-control:focus {
  border-color: #e83e8c;
  box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
}

/* Load more button */
.btn-baby.btn-pink {
  background-color: #e83e8c;
  border-color: #e83e8c;
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-baby.btn-pink:hover {
  background-color: #d72677;
  border-color: #d72677;
}

.btn-baby.btn-pink.btn-sm {
  padding: 4px 8px;
  font-size: 14px;
}

/* Responsive styles */
@media (max-width: 991px) {
  /* Tablet styles */
  .tablet-card .product-title {
    font-size: 15px; margin-bottom: 6px;
  }

  .tablet-card .product-price {
    font-size: 14px;
  }

  .tablet-card .product-description {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  /* Mobile styles */
  .mobile-card .product-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .mobile-card .product-price {
    font-size: 13px;
  }

  .mobile-card .product-description {
    font-size: 12px;
  }

  .product-modal-content {
    padding: 10px;
  }
}
/* Soft Pink Button Styling */
.btn-baby.btn-pink {
  background-color: #f8d7e3; /* Soft pink background */
  border-color: #f8d7e3;
  color: #d23f7a; /* Darker pink text for contrast */
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px; /* Fully rounded corners */
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.btn-baby.btn-pink:hover,
.btn-baby.btn-pink:focus {
  background-color: #f5c6d7; /* Slightly darker on hover */
  border-color: #f5c6d7;
  color: #c02c64;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-baby.btn-pink:active {
  background-color: #f2b5ca; /* Even darker when clicked */
  border-color: #f2b5ca;
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.btn-baby.btn-pink.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
}

/* Button inside product card footer */
.product-footer .btn-baby.btn-pink {
  min-width: 80px;
  margin-top: 5px;
}

/* Style for the "Load More" button */
.text-center .btn-baby.btn-pink {
  padding: 8px 24px;
  margin: 15px 0;
  font-size: 14px;
}

/* Pink outline button variation */
.btn-baby.btn-pink-outline {
  background-color: transparent;
  border: 1.5px solid #f8d7e3;
  color: #d23f7a;
  border-radius: 50px;
  padding: 7px 15px;
  transition: all 0.3s ease;
}

.btn-baby.btn-pink-outline:hover,
.btn-baby.btn-pink-outline:focus {
  background-color: #fdf3f7;
  border-color: #f5c6d7;
  color: #c02c64;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.reservation-confirmation {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
  background-color: #f9f7fe;
}

.confirmation-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.success-icon {
  font-size: 80px;
  color: #4caf50;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.confirmation-title {
  color: #333;
  margin-bottom: 15px;
  font-size: 28px;
}

.confirmation-message {
  color: #666;
  margin-bottom: 30px;
  font-size: 18px;
}

.payment-instruction {
  background-color: #f2f8ff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.payment-instruction h3 {
  color: #1a73e8;
  margin-bottom: 10px;
  font-size: 20px;
}

.whatsapp-button-container {
  margin-top: 20px;
  text-align: center;
}

.whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  transition: all 0.3s;
  font-size: 16px;
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

.back-home {
  margin-top: 20px;
}

.back-home-link {
  color: #1a73e8;
  text-decoration: none;
  font-size: 16px;
}

.back-home-link:hover {
  text-decoration: underline;
}
.alert-message {
  white-space: pre-line;
  line-height: 1.5;
  margin: 10px 0;
}

/* For mobile cards */
.service-card.mobile-card .service-description {
  display: block !important;
  font-size: 14px;
  margin: 10px 0;
}

.service-card.mobile-card .excerpt {
  display: inline !important;
  color: #333;
}

.service-card.mobile-card .full-text {
  display: none;
  color: #333;
}/* SCOPED DATE CARDS */
#dateCards.date-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
  grid-auto-flow: dense; /* Fix uneven grid distribution */
}

#dateCards .date-card {
  position: relative;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1rem; /* Better padding */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px; /* Fixed height */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Added shadow */
}

#dateCards .date-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#dateCards .date-card.selected {
  background: var(--primary);
  color: var(--white);
  border-color: var(--secondary);
  animation: cardSelect 0.4s ease-out;
}

@keyframes cardSelect {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

#dateCards .date-day {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: inherit;
}

#dateCards .date-number {
  font-size: 1.8rem; /* Larger number */
  font-weight: 800;
  line-height: 1.2;
  margin: 0.25rem 0;
  color: inherit;
}

#dateCards .date-month {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: inherit;
}

/* Status badge styling */

/* Status badge styling */
/* Status badge styling */
#dateCards .status-badge {
  position: absolute;
  top: -30px;
  left: -15px;
  font-size: 0.75rem;
  padding: 8px 15px;
  border-radius: 20px 20px 20px 20px;
  font-weight: 700;
  z-index: 2;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.15);
  transform: none; /* Remove scale transform */
}
.date-card.error {
  border: 2px solid #ff3333;
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}
/* Untuk status available */
#dateCards .status-badge.available {
  background: #2ecc71;
  color: white;
  border-right: 2px solid #27ae60;
  border-bottom: 2px solid #27ae60;
}

/* Untuk status full */
#dateCards .status-badge.full {
  background: #e74c3c;
  color: white;
  border-right: 2px solid #c0392b;
  border-bottom: 2px solid #c0392b;
}

/* Hover indicator */
#dateCards .hover-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#dateCards .date-card:hover .hover-indicator {
  opacity: 1;
}

.date-card-wrapper {
  width: 100%;
  min-height: 100%;
  position: relative;
}

#dateCards .date-card {
  /* Keep existing styles */
  height: 100%; /* Add this to fix varying heights */
  overflow: visible; /* Add this to allow badge overflow */
  padding-top: 25px; /* Add space for badge */
  position: relative;
  padding: 1.5rem; /* Uniform padding */
  margin: 5px; /* Add margin for badge visibility */
}

/* Fix nested card-header */
#dateCards .card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
    /* ... existing styles ... */
    margin-top: 0; /* Reset previous margin */
    padding-top: 10px; /* Add spacing instead */
}
/* ... existing code ... */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* ... existing code ... */
#loadingOverlay {
  /* existing styles */
  flex-direction: column;
}

.loading-text {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
  line-height: 1.5;
}

/* Schedule Items */
.schedule-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm); /* Consistent gap */
  padding: var(--spacing-sm);
  margin: var(--spacing-xs) 0;
}

@media (max-width: 768px) {
  .schedule-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--spacing-xs);
  }
}

/* Subdistrict Dropdown */
.subdistrict-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.subdistrict-option {
  padding: var(--spacing-sm); /* Consistent padding */
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}

.subdistrict-option:hover {
    background-color: #f8f9fa;
}

.subdistrict-option:last-child {
    border-bottom: none;
}

.subdistrict-option.selected {
    background-color: #007bff;
    color: white;
}

.subdistrict-option.selected:hover {
    background-color: #0056b3;
}

.subdistrict-loading {
    padding: 12px 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Pastikan mapSection dapat ditampilkan dengan benar */
#mapSection {
    transition: all 0.3s ease;
}

#mapSection.show {
    display: block !important;
    opacity: 1;
}

#mapSection.hide {
    display: none !important;
    opacity: 0;
}

/* ====================== */
/* EXTRA SMALL MOBILE & ACCORDION CONTENT IMPROVEMENTS */
/* ====================== */

/* Extra Small Mobile */
@media (max-width: 480px) {
    .accordion-button,
    .accordion-buttons {
        padding: 0.625rem 0.875rem !important; /* Very compact for small screens */
        font-size: 0.85rem !important;
    }
    
    .accordion-body {
        padding: 0.75rem !important;
        font-size: 0.8rem !important;
    }
}

/* Better spacing for form elements inside accordion */
.accordion-body .baby-input-group {
    margin-bottom: 1rem;
}

.accordion-body .baby-input,
.accordion-body .baby-select,
.accordion-body .baby-textarea {
    font-size: 0.9rem;
    padding: 0.75rem;
}

.accordion-body .baby-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Better spacing for buttons inside accordion */
.accordion-body .btn-baby {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Improve table display in accordion on mobile */
@media (max-width: 768px) {
    .accordion-body table {
        font-size: 0.8rem;
    }
    
    .accordion-body .service-card,
    .accordion-body .product-card {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }
}