* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1b5ebe;
  color: #fff;
  padding: 1rem;
  text-align: center;
  margin-bottom: 15px;
}

h1 {
  margin: 0;
  font-size: 2rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

form {
  align-items: center;
  text-align: center;
  border: 5px solid #1b5ebe;
  padding: 2rem;
}

label {
  margin-bottom: 0.5rem;
}

input[type="file"] {
  margin-bottom: 1rem;
}

button {
  background-color: #1b5ebe;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #444;
}

#loader {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

#result {
  margin-top: 1rem;
  width: 80%;
  max-width: 600px;
  padding: 1rem;
  border: 1px solid #1b5ebe;
  text-align: center;
  word-wrap: break-word;
}

.error {
  color: red;
  font-weight: bold;
  margin-top: 0.5rem;
}

/*Styles for the library */
.pdf-container {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.pdf-page {
  width: 100%;
  height: auto;
}
