body {
  font-family: Arial, sans-serif;
  margin: 10;
  padding: 0;
  background-color: #1a242e;
  color: #fed054;
}

.container {
  max-width: 600px;
  margin-bottom: 0px;
  margin-top: 20px;
  padding: 10px;
}

h4,h3 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
  color: #fed054;
}

.menu-container {
  display: flex;
  justify-content: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: max-content;
  margin: 30px auto;
}

.menu-btn {
  font-weight: bold;
  width: 80px;
  height: 80px;
  background: linear-gradient(to top, #c0c0c0, #ffffff, #c0c0c0);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1e2329;
}

.menu-btn i {
  font-size: 24px;
  margin-bottom: 8px;
}


label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

input,
button,
select {
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  margin-bottom: 3px;
  margin-top: 3px;
  border: 1px solid #555;
  border-radius: 6px;
  line-height: 1.2;

  background-color: #2a2f35;
  color: #fed054;
  box-sizing: border-box;
}

input::placeholder {
  text-align: center;
  color: #aaa;
}

button {
  border: 1px solid #fed054;
  border-radius: 8px;
  background: linear-gradient(to top, #c0c0c0, #ffffff, #c0c0c0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  color: #1e2329;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  height: 50px;
}

button:hover {
  transform: scale(1.05);

}

.table-container {
  max-height: 50vh;
  min-height: 50vh;
  overflow-y: auto;
  margin-top: 20px;
  border: 2px solid #444;
  position: relative;
  z-index: 1
}

.total-box {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  border: 1px solid #555;
  border-radius: 6px;
  background-color: #2a2f35;
  padding: 15px;
  border-radius: 8px;
}

.red-btn {
  background-color: #e74c3c;
  /* Merah */
  color: white;
  border: none;
}

.red-btn:hover {
  background-color: #c0392b;
  /* Merah lebih gelap saat hover */
}

.icon-wrapper {
  position: relative;
  flex: 1 1 22%;
  min-width: 120px;
}

.icon-wrapper label {
  display: block;
  margin-bottom: 5px;
  text-align: center;
  color: #ffec85;
  font-size: 12px;
}

.input-container {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 10px;
  padding-left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #fed054;
  font-size: 16px;
  pointer-events: none;
}


.total-box input[type="text"] {
  text-align: center;
  font-weight: bold;
  color: #fed054;
  background-color: #3b4046;
  border: 1px solid #fed054;
  border-radius: 6px;
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
}

.keyboard-open {
  transform: translateY(-200px);
  transition: transform 0.3s;
}

.flex-btns {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.flex-btns button:hover {
  background-color: #f5d216;
}

.flex-btns button {
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.2s ease;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 60px;
  font-size: 26px;
  flex: 1;
  min-width: 50px;
  padding: 10px;
  text-align: center;
  box-sizing: border-box;
}

.row-inline {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.row-inline .form-group {
  flex: 1;
}

.row-inline input,
.row-inline select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  text-align: center;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  box-sizing: border-box;
}

@media (max-width: 600px) {}

.dropdown-container {
  position: relative;
}

#dropdownBtn {
  width: 100%;
  height: 87%;
  padding: 10px;
  font-size: 16px;
  background-color: #f5d216;
  color: black;
  border: 1px solid #666;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  border: 1px solid #555;
  border-radius: 4px;
  display: none;
  z-index: 10;
  width: 100%;
}

.dropdown-menu div {
  padding: 10px;
  cursor: pointer;
  color: #fff;
}

.dropdown-menu div:hover {
  background-color: #f5d216;
  color: black;
}

/* SweetAlert2 - Dark Mode Custom Styling */
.swal2-popup {
  background: #3b4046 !important;
  color: #fed054 !important;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Judul popup */
.swal2-title {
  font-size: 20px;
  color: #fed054;
  text-align: center;
}

/* Input fields */
.swal2-input {
  width: 100%;
  max-width: 250px;
  margin: 8px auto;
  background-color: #1e1e1e !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 8px;
  padding: 10px 12px;
  box-sizing: border-box;
}

/* Tombol Konfirmasi (Simpan) */
.swal2-confirm {
  background-color: #f4b301 !important;
  color: #1e2329 !important;
  border-radius: 3px;
  padding: 10px 24px;
  margin-top: 10px;
  font-weight: 600;
}

/* Tombol Cancel */
.swal2-cancel {
  background-color: #2a2f35 !important;
  color: #fff !important;
  border-radius: 3px;
  padding: 10px 24px;
  margin-top: 8px;
  font-weight: 500;
}

.status-btn,
.shift-btn {
  background-color: rgb(181, 181, 181);
  color: #1a1a1a;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.status-btn:hover,
.shift-btn:hover {
  background-color: #ffc400;
}

p {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
  font-size: 14px;
  color: rgb(160, 160, 160);
  background-color: #1a1a1a;
  /* ganti sesuai kebutuhan */
  border-top: 1px solid #333;
  border-radius: 0;
  margin: 0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 10px 10px 10px;
}

.carousel-image {
  width: 100%;
  display: none;
}

.carousel-image.active {
  display: block;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}