#pdf-page-numbering-tool {
  max-width: 900px;
  border: 5px solid #2c61a1;
  padding: 20px;
  border-radius: 10px;
  font-family: sans-serif;
}

#pdf-page-numbering-tool h2 {
  text-align: center;
  font-size: 35px;
  font-weight: 500;
}

.ppnt-upload-box {
  border: 2px dashed #007bff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}

.ppnt-icon {
  font-size: 24px;
  color: #007bff;
}

.ppnt-status {
  display: none;
  text-align: center;
  font-weight: bold;
}

.ppnt-filename {
  display: none;
  text-align: center;
  font-style: italic;
  color: #555;
}

#pdf-page-numbering-tool select,
#pdf-page-numbering-tool input {
  width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  box-sizing: border-box;
}

#pdf-page-numbering-tool button {
  width: 100%;
  padding: 5px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
}

#pdf-page-numbering-tool .ppnt-reset {
  background: #dc3545;
  margin-top: 10px;
}

.ppnt-download {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
}

.ppnt-message {
  display: none;
  margin-top: 15px;
  text-align: center;
  color: #28a745;
  font-weight: bold;
}

#downloadLink {
  text-decoration: none;
}

#downloadLink button {
  text-decoration: none;
}

input[type="color"] {
  -webkit-appearance: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  height: 40px;
  width: 100%;
  padding: 0;
  background: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
