body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #dbe9f4, #a3c9f9);
  color: #003366;

  height: 100vh;
  gap: 20px;
  text-align: center;
}

.container {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 30px auto;


}

h2 {
  color: #003366;
  margin-bottom: 20px;
}

input[type="file"] {
  padding: 12px;
  background-color: #fff;
  border: 2px dashed #ccc;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease;
  color: transparent;
}

input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}

input[type="file"]::before {
  content: 'Click or drag folder to upload';
  color: #333;
  display: inline-block;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  cursor: pointer;
}

input[type="file"]:hover::before {
  border-color: #3399ff;
}

#status {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: #003366;
}

#downloadContainer {
  margin-top: 30px;
}

a {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

a:hover {
  background-color: #2980b9;
  transform: scale(1.05); 
}

#imageSliderContainer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sliderImage {
  max-width: 80vw;
  max-height: 60vh;
  border: 4px solid #003366;
  border-radius: 10px;
  margin-bottom: 20px;
}

.slider-controls {
  display: flex;
  gap: 20px;
}

button {
  padding: 10px 20px;
  border: none;
  background-color: #4a90e2;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #357ab8;
}

#progressWrapper {
  width: 100%;
  background-color: #ccc;
  border-radius: 8px;
  height: 24px;
  margin-top: 20px;
  overflow: hidden;
  display: none;
}

#progressBar {
  height: 100%;
  width: 0%;
  background-color: #4CAF50;
  transition: width 0.5s ease;
}

#remainingTime {
  margin-top: 10px;
  font-size: 16px;
  color: #003366;
}

iframe {
  margin: 10px auto;
  display: none;
}

.button-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items:center;
    margin: 10px auto;
    gap: 20px;
    /* margin-top: 10px; */
}

