body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
}

.container {
    background-color: #fff;
    padding: 30px 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: inline-block;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subtext {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

input[type="file"] {
    font-size: 14px;
    margin-top: 10px;
}

a.button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

a.button:hover {
    background-color: #1976D2;
}

.summary-box {
    background-color: #f9f9f9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 20px 0;
    font-family: monospace;
    white-space: pre-wrap;
}


.button-row button {
    padding: 10px 15px;
    border: none;
    background-color: #4caf50;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.button-row button:hover {
    background-color: #45a049;
}


.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
}

.summary-box pre {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  white-space: pre-wrap;
  font-size: 16px;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

.button-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #45a049;
}

.back-link {
  display: inline-block;
  margin-top: 25px;
  font-size: 15px;
  color: #4CAF50;
  text-decoration: none;
}

nav {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.subtext {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.btn:hover {
  background-color: #45a049;
}

.result-box {
  margin-top: 30px;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  border-radius: 8px;
  text-align: center;
}

.file-upload {
  background: #f2f2f2;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

#fileList {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  color: #333;
}

#fileList li {
  margin-bottom: 5px;
  font-size: 15px;
}

ul#fileList {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

ul#fileList li {
    margin-bottom: 5px;
    background: #f2f2f2;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul#fileList button {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

nav a.active {
  font-weight: bold;
  text-decoration: underline;
  color: #007BFF;
}
