body {
  background: #f4f4f4;
  font-family: cursive;
}

.base64-container {
  background: #fff;
  padding: 20px;
  width: 100%;
  max-width: 85%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="file"] {
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #eee;
}

button {
  padding: 5px 10px;
  margin: 2px;
  cursor: pointer;
  font-size: 12px;
}

#popup {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  z-index: 1000;
}

td.error {
  color: red;
  font-weight: bold;
}

progress {
  background: #4caf50;
  /* width: 120px; */
  /* padding: 10px;
  border-radius: 5px !important; */
  transition: all 0.3s ease;
}

/* Custom color progress bar */
progress.green::-webkit-progress-value {
  background-color: #4caf50; /* green */
}

progress.red::-webkit-progress-value {
  background-color: #f44336; /* red */
}

progress.blue::-webkit-progress-value {
  background-color: #2196f3; /* blue */
}

.progress-cell {
  /* display: flex;
    justify-content: center;
    align-items: center; */
}

table {
  border-collapse: collapse;
  border: none;
  width: 100%;
}

table td,
table th {
  border: none; /* Remove cell borders */
  padding: 8px;
  text-align: left;
}

tr.green {
  border: 1px solid #00721287;
  background: #00800042;
}

tr.red {
  border: 1px solid #f44336bd;
  background: #f443365e;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.file-upload input[type="file"] {
  display: none; /* hide default input */
}

.file-upload label {
  padding: 8px 16px;
  background-color: #2196f3;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.file-upload label:hover {
  background-color: #1976d2;
}

#file-name {
  font-size: 14px;
  color: #333;
}
