@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #c2ffc7;
  margin: 0;
  font-family: "Titillium Web", sans-serif;
}

.container {
  text-align: center;
  max-width: 500px;
}

.container p strong {
  font-size: 20px;
}

img {
  max-width: 80%;
  height: auto;
  margin-bottom: 20px;
}

h1,
h2 {
  color: #333;
}

.button-container {
  text-align: center;
  /* display: flex; */
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  width: 150px;
  padding: 10px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: white;
  border-radius: 5px;
}

.btn-success {
  background-color: #4caf50;
  color: white;
  border: none;
}

.btn-warning {
  background-color: #ff9800;
  color: white;
  border: none;
}

.btn-secondary {
  background-color: #9e9e9e;
  color: white;
  font-size: 21px;
}

.status-btn {
  width: 100%;
  padding: 10px 0;
  font-weight: bold;
  font-size: 2em;
  margin-top: 15px;
  color: white;
  /* border: none; */
  /* border-radius: 0px; */
  display: block;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}

.status-btn.green {
  background-color: #8bc34a;
}

.status-btn.yellow {
  background-color: #fdd835;
  color: #333;
}

.status-btn.red {
  background-color: #f44336;
}

.status-btn.orange {
  background-color: #ff9800;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.responsive-text {
  font-size: clamp(1.8em, 2.5vw, 1.5em); /* ukuran minimum 1em, maksimum 1.5em */
  color: #1e88e5; /* warna teks, sesuaikan jika perlu */
  font-weight: 600; /* gunakan tebal font untuk penekanan */
  margin: 10px 0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

video {
  width: 100%;
  height: auto;
}

.btn-cancel {
  margin-top: 10px;
  background: red;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
}

/* Testing Mode Styles */
.test-mode {
  margin: 20px 0;
  padding: 15px;
  background-color: #fff3cd;
  border-radius: 8px;
  border: 2px dashed #ffc107;
}

.test-mode input[type="text"] {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #007bff;
  border-radius: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.test-mode input[type="text"]:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.test-mode .btn {
  width: 100%;
  max-width: 300px;
  font-size: 18px;
}