@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #eef2f3;
  flex-direction: column;
  padding: 15px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #2c3e50;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo-left, .logo-right {
  height: 75px;
}

.container {
  margin-top: 100px;
  max-width: 700px;
  width: 100%;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.container:hover {
  transform: scale(1.02);
}

.title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.input-box {
  margin-bottom: 15px;
}

.input-box label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #2c3e50;
}

.input-box input, .input-box select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: border-color 0.3s;
}

.input-box input:focus, .input-box select:focus {
  border-color: #2c3e50;
  outline: none;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background: #2c3e50;
  color: white;
}

.input-box input[type="date"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.dropdown-icon {
  position: relative;
}

.dropdown-icon select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dropdown-icon .dropdown-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 30px;
  color: #2c3e50;
}

.input-row {
  display: flex;
  gap: 15px;
}

.half-width {
  width: 50%;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-submit, .btn-reset {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2c3e50;
  color: white;
  min-width: 140px;
}

.btn-submit:hover {
  background: #1a252f;
  transform: translateY(-2px);
}

.btn-reset {
  background: #e74c3c;
  color: white;
}

.btn-reset:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #2c3e50;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
  font-size: 16px;
  max-width: 90%;
  width: 450px;
  animation: fadeIn 0.3s ease-in-out;
}

.notification.d-none {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.notification .btn-refresh {
  margin-top: 15px;
  padding: 12px;
  width: 100%;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.notification .btn-refresh:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.notification ul {
  text-align: left;
  padding-left: 20px;
  margin: 10px 0;
}

.notification p {
  text-align: center;
}

.notification .button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.contact-us {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 10px;
  }
  .logo-left, .logo-right {
    height: 35px;
    max-width: 35%;
  }
}

@media (max-width: 480px) {
  .notification {
    width: 90%;
    font-size: 16px;
    padding: 15px;
  }
  .container {
    padding: 20px;
  }
  .title {
    font-size: 24px;
  }
  .input-box input, .input-box select {
    padding: 8px;
  }
  .btn-submit, .btn-reset {
    padding: 8px 12px;
  }
}
.popup-modal {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  max-width: 90%;
  width: 400px;
}

.popup-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.popup-ok {
  padding: 10px 25px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.popup-ok:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .popup-content {
    width: 90%;
    padding: 15px;
  }

  .popup-ok {
    width: 100%;
    font-size: 15px;
  }

  .popup-content p {
    font-size: 14px;
  }
}
.header-left {
  display: flex;
  align-items: center;
}

.header-title {
  margin-left: 10px; /* jarak nempel logo kiri */
}

.instansi-text {
  color: white;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px; /* agar lebih rapat */
}
@media (max-width: 576px) {
  .instansi-text {
    font-size: 12px;
    text-align: left;
  }
}

footer {
  background-color: #f8f9fa;
  margin-top: 40px;
  padding: 20px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
}
