* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #1A1A1A;
  color: #FFF;
}
.container {
  display: grid;
  grid-template-columns: 65% 35%;
  height: 100vh;
  padding: 20px;
  gap: 20px;
}
.order-section {
  background: #2A2A2A;
  border-radius: 15px;
  padding: 11px 20px 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-section {
  background: #2A2A2A;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.header {
  background: #3A3A3A;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-info {
  background: #4A5568;
  padding: 8px 16px;
  border-radius: 8px;
  color: #FFF;
  font-weight: 500;
}
.order-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  overflow-y: auto;
  flex-grow: 1;
  padding-bottom: 20px;
}
.order-item {
  background: #3A3A3A;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  overflow: hidden;
  height: 120px;
}
.order-item:hover {
  transform: translateY(-5px);
  background: #454545;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.item-image {
  width: 115px;
  height: 163px;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: -23px;
}
.item-details {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.item-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.1em;
}
.item-toppings {
  font-size: 0.9em;
  color: #AAA;
  margin-bottom: 5px;
  flex-grow: 1;
  overflow: hidden;
}
.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item-price {
  color: #4CAF50;
  font-weight: bold;
}
.quantity {
  background: #4CAF50;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
}
.promo-slider {
  height: 100%;
  position: relative;
}
.promo-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.promo-slide.active {
  opacity: 1;
}
.promo-title {
  font-size: 3.6em;
  margin-bottom: 20px;
  color: #4CAF50;
}
.promo-text {
  font-size: 1.7em;
  line-height: 1.6;
  color: #DDD;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #2A2A2A;
}
::-webkit-scrollbar-thumb {
  background: #4CAF50;
  border-radius: 4px;
}
.summary-section {
  background: #3A3A3A;
  border-radius: 10px;
  padding: 6px 13px 1px 15px;
  margin-top:1 0px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.summary-row.total {
  font-weight: bold;
  font-size: 1.9em;
  color: #4CAF50;
  border-top: 1px solid #555;
  padding-top: 0px;
  margin-top: 10px;
}
.no-orders {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 1.2em;
  grid-column: 1 / -1;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.order-item {
  animation: fadeIn 0.5s ease-out;
}
/* File: second.css (atau di <style> tag second.html) */

/* General Popup Styling */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.popup-content {
    background: #3A3A3A;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 450px;
}

/* Payment Popup Specifics */
.payment-popup {
    background: #1A1A1A;
    border: 3px solid #4CAF50;
    padding: 40px;
}
.payment-popup-title {
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}
.payment-detail-title {
    color: #FFF;
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 10px;
}
.total-transaction {
    font-size: 1.5em;
    color: #FFF;
    font-weight: bold;
}
.change-row {
    margin-top: 20px;
    border-top: 2px solid #555;
    padding-top: 15px;
    font-size: 2em;
    font-weight: bold;
}
.change-amount {
    color: #FFD700; /* Warna kuning kontras untuk kembalian */
}
.payment-divider {
    border-color: #555;
    margin: 15px 0;
}
.thank-you {
    text-align: center;
    color: #4CAF50;
    font-size: 1.8em;
    margin-top: 30px;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* Zoom Animation */
.zoom-animation .popup-content {
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}