.promo-form {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.promo-form.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#priceBreakdown {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  #priceBreakdown:hover svg {
    color: #007bff; /* Biru saat hover */
  }
  
  #priceBreakdown h6 {
    margin: 0;
    font-size: 14px;
    color: #333;
  }

  .swal-price-breakdown ul li {
    border-bottom: 1px dashed #eee;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }
    
  .extra-row:hover {
    background-color: #fafafa;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transform: translateY(-1px);
  }
  
  .qty-btn {
    background: #f4f4f4;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .qty-btn:hover {
    background-color: #e6e6e6;
    transform: scale(1.08);
  }
  .qty-btn:active {
    transform: scale(0.95);
    background-color: #dcdcdc;
  }
  
  .extra-qty-input {
    width: 48px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    text-align: center;
    font-size: 14px;
    color: #333;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  }
  .extra-qty-input:focus {
    outline: 2px solid #007aff33;
    background-color: #fff;
  }

  .extras-popup .extras-confirm-btn {
    background: linear-gradient(to right, #87CEEB, #6fc8e6);
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    box-shadow: 0 3px 8px rgba(135, 206, 235, 0.4);
    transition: all 0.2s ease;
  }
  .extras-popup .extras-confirm-btn:hover {
    background: linear-gradient(to right, #6fc8e6, #5bbfdf);
    box-shadow: 0 4px 12px rgba(111, 200, 230, 0.5);
    transform: translateY(-1px);
  }
  .extras-popup .extras-confirm-btn:active {
    transform: scale(0.97);
  }
  
  .extras-popup .extras-cancel-btn {
    background-color: #f5f5f5;
    color: #333;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    transition: all 0.2s ease;
  }
  .extras-popup .extras-cancel-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
  }
  .extras-popup .extras-cancel-btn:active {
    transform: scale(0.97);
  }

  /* Spasi antar tombol dan jarak dari konten */
.extras-popup .swal2-actions {
  margin-top: 24px !important;
  display: flex;
  gap: 16px; /* jarak antar tombol */
}

/* Bisa tambahkan juga jika ingin tombol lebih lega */
.extras-popup .extras-confirm-btn,
.extras-popup .extras-cancel-btn {
  min-width: 120px;
}

.extras-scroll-container{
  text-align: start !important;
}

.extras-popup .extras-scroll-container {
  max-height: 320px; /* sesuaikan dengan kebutuhan */
  overflow-y: auto;
  padding-right: 6px;
  margin-right: -6px; /* biar scroll bar nggak geser layout */
}

/* Optional: gaya scrollbar */
.extras-popup .extras-scroll-container::-webkit-scrollbar {
  width: 6px;
}
.extras-popup .extras-scroll-container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 8px;
}

.extra-selected {
  background-color: #87CEEB !important;
  color: white !important;
}


/* custom button */
.btn-custom {
    background-color: #87CEEB;
    border: solid 2px #87CEEB;
    border-radius: 50px;
    color: white;
}

.btn-custom:hover {
    background-color: transparent;
    border: solid 2px #87CEEB;
    border-radius: 50px;
    color: #87CEEB;
    transition: all 0.3s;
}

.btn-custom-2 {
    background-color: transparent;
    border: solid 2px #87CEEB;
    border-radius: 50px;
    color: #87CEEB;
    transition: all 0.3s;
}

.btn-custom-2:hover {
    background-color: #87CEEB;
    border: solid 2px #87CEEB;
    border-radius: 50px;
    color: white;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.banner {
    display: flex;
    width: 100%;
    height: 150px;
}
.left-section {
    background-color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
}
.left-section h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
}
.left-section h2 {
    font-size: 18px;
    color: #999;
    margin: 10px 0;
}
.left-section p {
    font-size: 14px;
    color: #999;
    max-width: 300px;
}
.right-section {
    background-color: #2c3e50;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}
.right-section::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 0;
    width: 60px;
    background-color: #87CEEB ;
    transform: skewX(-20deg);
}
.right-section::after {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    bottom: 0;
    width: 60px;
    background-color: #ffffff;
    transform: skewX(-20deg);
}
.right-section h1 {
    font-size: 24px;
    color: #fff;
    margin: 0;
    z-index: 1;
}
.right-section h2 {
    font-size: 18px;
    color: #3498db;
    margin: 10px 0;
    z-index: 1;
}

.qty-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-wrapper .qty {
  width: calc(1ch *  (<?php echo strlen($val['item_qty']); ?> + 2)); /* +2 for padding or extra space */
  min-width: 50px;
  padding: 4px 6px;
  text-align: right;
}

.qty-label {
  font-size: 14px;
  color: #333;
}
