body {
  background-image: url("./scm-portal-header.jpg");
  background-color: #f0f0f0; /* Warna latar belakang fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif !important;
  margin: 0;
}

.container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 600px !important;
  text-align: center;
  margin-right: 2%;
  margin-left: 2%;
}

/* ===== Announcement Section ===== */
.container-announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: none;
  animation: slideDown 0.4s ease-out;
}

.container-announcement.active {
  display: block;
}

.container-announcement.hidden {
  display: none;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.announcement-banner {
  background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}

.announcement-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.announcement-icon i {
  color: #fff;
  font-size: 16px;
}

.announcement-text {
  flex: 1;
  text-align: left;
  color: #ffffff;
}

.announcement-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 3px;
}

.announcement-text p {
  color: #fff;
  font-size: 9px;
  margin: 0;
  line-height: 1.4;
}

.announcement-text p a,
.announcement-text a {
  color: #fff;
  text-decoration: underline;
}

.announcement-text p a:hover,
.announcement-text a:hover {
  color: #ffe0e0;
  text-decoration: underline;
}

.announcement-text dl,
.announcement-text ol,
.announcement-text ul,
.announcement-text dl *,
.announcement-text ol *,
.announcement-text ul * {
  font-size: 12px;
  color: #fff;
  margin: 5px 0;
}

.announcement-close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.announcement-close i {
  font-size: 14px;
}

/* Responsive Announcement - Tablet */
@media (max-width: 768px) {
  .announcement-content {
    padding: 10px 15px;
    gap: 10px;
  }

  .announcement-icon {
    width: 32px;
    height: 32px;
  }

  .announcement-icon i {
    font-size: 14px;
  }

  .announcement-text p {
    font-size: 10px;
  }

  .announcement-label {
    font-size: 8px;
    padding: 2px 6px;
  }
}

/* Responsive Announcement - Mobile */
@media (max-width: 480px) {
  .announcement-content {
    padding: 10px 12px;
    gap: 8px;
  }

  .announcement-icon {
    width: 28px;
    height: 28px;
  }

  .announcement-icon i {
    font-size: 12px;
  }

  .announcement-text p {
    font-size: 9px;
    line-height: 1.3;
  }

  .announcement-label {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 1px 5px;
  }

  .announcement-close {
    width: 24px;
    height: 24px;
  }

  .announcement-close i {
    font-size: 12px;
  }
}

.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  cursor: pointer;
  margin-bottom: 20px;
  color: #a09999;
  font-style: italic;
}

.drop-zone.over {
  border-color: #000;
}

input[type="file"] {
  display: none;
}

input[type="email"],
input[type="text"],
textarea,
select {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  font-size: small !important;
}

.progress-bar {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
  height: 20px;
}

.progress {
  height: 100%;
  background-color: #4caf50;
  width: 0;
}

.file-list {
  text-align: left;
  margin-bottom: 20px;
}

.file-list li {
  list-style: none;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: small;
}

.file-list li .file-icon {
  margin-right: -330px;
  color: blue;
}

.file-list li .delete-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: small;
  color: #cc0000;
}

.file-list li .delete-button:hover {
  color: #cc0000;
}

footer {
  background-color: #b4d7fa;
  color: #0d528a;
  text-align: justify;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-style: italic;
  font-size: small;
  padding: 10px;
}

#loading-overlay {
  display: none; /* Hide by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  z-index: 9999; /* Make sure it is on top */
  display: flex;
  justify-content: center;
  align-items: center;
}
.time-box {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0 2px;
  text-align: center;
}
.time-container {
  font-family: 'Arial', sans-serif;
  font-size: smaller;
  margin: 8px;
}

.otp-input {
  width: 40px;
  height: 40px;
  margin-right: 5px;
  text-align: center;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#otp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  width: 50%;
  display: none;
}