/* Body dan container tetap seperti semula */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4ff;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1500px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Header Responsif */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #ddd;
  padding: 20px 0;
  /* Menambahkan padding responsif untuk layar lebih kecil */
}

header img {
  width: 250px;
  height: auto;
  margin-left: 20px;
}

header div {
  text-align: left;
}

header h1 {
  margin: 0;
  font-size: 36px;
}

header p {
  margin: 0;
  font-size: 16px;
}

/* Media Query untuk responsif di perangkat mobile */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center; /* Menyusun konten (logo dan teks) di tengah pada perangkat mobile */
  }

  header img {
    width: 200px; /* Mengurangi ukuran logo di perangkat mobile */
    margin: 0 auto 15px; /* Memberikan margin di bawah logo */
  }

  header h1 {
    font-size: 28px; /* Ukuran font judul diubah untuk mobile */
  }

  header p {
    font-size: 14px; /* Ukuran font teks diubah untuk mobile */
  }
}

/* Form Styling */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 16px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group button {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.form-group button:hover {
  background-color: #003d82;
}

/* Footer Styling */
footer {
  text-align: center;
  background-color: #ffffff;
  font-size: 14px;
  color: #888;
  margin-top: 40px;
  margin-bottom: 0;
  border-top: 2px solid #ddd;
  padding: 20px 0;
}

footer .footer-content {
  margin-top: 20px;
}

footer .social-icons a {
  margin: 0 10px;
  color: #0056b3;
  text-decoration: none;
  font-size: 18px;
}

label {
  color: black !important; /* Warna label menjadi hitam */
  font-weight: bold !important; /* Membuat label menjadi bold */
}

/* Gaya span dengan class .text-danger untuk tanda * */
label span.text-danger {
  color: red !important; /* Tanda * wajib diisi berwarna merah */
}

/* Mengatur tombol kirim dengan warna dan ukuran default */
.btn-success {
  background-color: #28a745 !important; /* Warna hijau terang */
  border-color: #218838 !important;
  font-size: 14px; /* Ukuran font */
  padding: 10px 20px; /* Ukuran padding */
  border-radius: 5px; /* Membulatkan sudut tombol */
}

.btn-warning {
  background-color: #ffc107 !important; /* Warna kuning terang */
  border-color: #e0a800 !important;
  font-size: 14px; /* Ukuran font */
  padding: 10px 20px; /* Ukuran padding */
  border-radius: 5px; /* Membulatkan sudut tombol */
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f0f2f5;
}

/* Container yang buat flex center */
.login-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Box login */
.login-box {
  background: white;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 320px;
}

/* Judul */
.login-box h2 {
  margin: 0 0 20px 0;
  text-align: center;
  color: #333;
}

/* Input */
.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px 10px;
  margin: 8px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Tombol login */
.login-box button {
  width: 100%;
  background-color: #4caf50;
  color: white;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-box button:hover {
  background-color: #45a049;
}
.login-box {
  width: 400px; /* Lebar box */
  padding: 40px; /* Ruang dalam */
  box-sizing: border-box;
  margin: 80px auto; /* Tengah horizontal & beri jarak atas */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.login-logo {
  display: block;
  margin: 0 auto 20px; /* Tengah horizontal dan jarak bawah */
  max-width: 120px; /* Sesuaikan ukuran logo */
  height: auto;
}

.login-box img {
  display: block;
  max-width: 120px; /* Sesuaikan ukuran */
  height: auto;
  margin: 0 auto 10px; /* Tengahin dan kasih jarak bawah */
}

.login-text {
  text-align: center;
  margin: 5px 0;
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.tracking-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 30px;
  padding: 0 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* memastikan semua step start dari atas */
  text-align: center;
  min-width: 100px;
  padding: 0 5px;
  box-sizing: border-box;
  min-height: 130px; /* sesuaikan jika perlu */
}

.step-label {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #999;
  font-weight: 600;
  word-wrap: break-word;
}

.step-label,
.step-description {
  word-break: break-word;
  white-space: normal;
}

.step-description {
  margin-top: 6px;
  font-size: 0.7rem;
  color: #666;
  max-width: 100px; /* batasi lebar maksimum */
  text-align: center;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.2;
}

.step-description.active {
  color: #28a745;
  font-weight: 600;
}

.tracking-step i {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  line-height: 40px; /* agar teks/icon vertikal di tengah */
  text-align: center;
  color: #ccc;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: 0.3s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tracking-step .step-label {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #999;
  font-weight: 600;
  word-wrap: break-word;
  transition: color 0.3s;
}

/* ICON dan BORDER */
.tracking-step.done i {
  border-color: #007bff; /* biru */
  color: #007bff;
}

.tracking-step.inprogress i {
  border-color: #28a745; /* hijau */
  color: #28a745;
}

.tracking-step.active i {
  border-color: #28a745; /* hijau */
  color: #28a745;
}

/* LABEL WARNA */
.tracking-step.done .step-label {
  color: #007bff; /* biru */
}

.tracking-step.inprogress .step-label,
.tracking-step.active .step-label {
  color: #28a745; /* hijau */
}

.tracking-line,
.tracking-line-progress {
  position: absolute;
  top: 22px;
  height: 3px;
  z-index: 0;
}

.tracking-line {
  background-color: #ccc;
}

.tracking-line-progress {
  background-color: #007bff;
  width: 0;
  transition: width 0.3s ease;
}

/* responsive */
@media (max-width: 600px) {
  .tracking-container {
    -webkit-overflow-scrolling: touch;
  }

  .tracking-step .step-label {
    font-size: 0.7rem;
  }
}
.tracking-step.rejected i {
  border-color: #dc3545; /* merah */
  color: #dc3545;
}

.tracking-step.rejected .step-label {
  color: #dc3545; /* merah */
}
