
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: #e0e0e0;
  color: #333;
}

.title-section {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  text-align: center;
}


.input-plus-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.input-plus-row input {
  flex: 1;
}

.plus-toggle {
  min-width: 35px;
  min-height: 35px;
  border-radius: 50%;
  font-size: 18px;
  background: #00d0ff;
  color: white;
  border: none;
  cursor: pointer;
}
.plus-toggle:hover {
  background: #0095cc;
}


.title-section h2 {
  margin-bottom: 8px;  
}

.title-section p {
  margin-top: 0;
  margin-bottom: 25px; 
}



.button-row-back {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn:hover,
.btn-main:hover {
  background: #d0b48a !important;
  box-shadow: 5px 5px 10px #bebebe,
              -5px -5px 10px #ffffff;
}


.btn:active,
.btn-main:active {
  background: #d0b48a !important; 
  box-shadow: inset 4px 4px 8px #b1b1b1,
              inset -4px -4px 8px #b1b1b1;
}



.button-row-back .btn-main.red {
  background: #d0b48a;
  color: white;
}

.button-row-back .btn-main.red:hover {
  background: #d0b48a;
}


.hide { 
  display: none !important; 
}


#homePage {
  height: 100vh;
  display: flex;
  background-color: #E6D8C3;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 80px;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 17px;
  color: #452829;
}

h2 {
  font-size: 32px;
  margin-top:0px;
  color: #452829;
}

p {
  margin-top:0px;
  margin-bottom: 8px;
  font-size: 16px;
  justify-content: center;
  color: #452829;

}

.btn-group { 
  display: flex; 
  gap: 20px;
  margin-top: 5px; 
}

.btn-group .btn {
  flex: 1;
  text-align: center;
  width: 130px;
}
.btn {
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  background: #C2A68C;
  box-shadow: 5px 5px 10px #C2A68C,
              -5px -5px 10px #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

#patunganBtn,
#splitbillBtn {
  color: #452829;
}

.button-row {
  margin-bottom: 25px; 
}

.btn:hover {
  box-shadow: 2px 2px 4px #b5b5b5,
              -2px -2px 4px #ffffff;
}



.splitbill-section {
  display: flex;
  background: #E6D8C3;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;    
  padding: 40px;
  min-height: 100vh;
  gap: 30px;
}


.neumorph {
  background: #e0e0e0;
  border-radius: 20px;
  box-shadow: 9px 9px 18px #bebebe,
              -9px -9px 18px #ffffff;
  padding: 20px;
}

.neumorph-inset {
  background: #e0e0e0;
  border-radius: 12px;
  box-shadow: inset 5px 5px 10px #bebebe,
              inset -5px -5px 10px #ffffff;
  padding: 10px 15px;
}



.main-input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  background: #e0e0e0;
  box-shadow: inset 4px 4px 8px #C2A68C,
              inset -4px -4px 8px #ffffff;
}

.input-row { 
  width: 824px;
  display: flex; 
  gap: 40px; 
  margin-bottom: 20px; 
}
.input-group { 
  display: flex; 
  flex-direction: column; 
  flex: 1;
}

.food-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.food-row input {
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: #e0e0e0;
  box-shadow: inset 4px 4px 8px #bebebe,
              inset -4px -4px 8px #ffffff;
}

.foodName { width: 230px; }
.foodPrice, .foodQty, .foodSubtotal { width: 120px; }


.btn-main {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  margin-right: 10px;
  cursor: pointer;
  background: #e0e0e0;
  box-shadow: 5px 5px 10px #bebebe,
              -5px -5px 10px #ffffff;
}

.btn-main:hover {
  box-shadow: 2px 2px 4px #cfcfcf,
              -2px -2px 4px #ffffff;
}

.dark { background: #d0b48a; color: white; }

.splitbill-system {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.struk-container {
  flex: 2;
}
.card-container {
  flex: 1;
}

.struk-item {
  display: grid;
  grid-template-columns: 30px 1fr 80px 60px 100px;
  align-items: center;
  margin-bottom: 8px;
}

.user-card {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 12px;
  background: #e0e0e0;
  box-shadow: 5px 5px 10px #bebebe,
              -5px -5px 10px #ffffff;
}

.user-food {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.calc-user {
  margin-top: 10px;
  padding: 8px 15px;
  background: #d0b48a;
  color: white;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE */
@media screen and (max-width: 900px) {
  .splitbill-section { flex-direction: column; }
  .splitbill-system { flex-direction: column; }
}

.struk-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.5fr 40px 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.plusBtn, .minusBtn {
  padding: 6px 0;
  border: none;
  border-radius: 10px;
  background: #eee;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.plusBtn:hover {
  background: #c8ffe0;
}

.minusBtn:hover {
  background: #ffd1d1;
}

.user-card.active {
  border: 2px solid #00d0ff;
}

.user-card.locked {
  opacity: 0.6;
  pointer-events: none;
}



.mini-btn {
  width: 100%;
  padding: 8px;
  background: #444;
  color: white;
  border: none;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.hide {
  display: none;
}


/* Tombol itung di total patungan */
.calc-patungan {
  margin-top: 15px;
  padding: 12px 20px;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  background: #d0b48a;
  color: white;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 5px 5px 10px #bebebe,
              -5px -5px 10px #ffffff;
  transition: 0.3s;
}
.calc-patungan:hover {
  background: #d0b48a;
  box-shadow: 2px 2px 5px #b5b5b5,
              -2px -2px 5px #ffffff;
}
