@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: #007acc;
  margin-right: 30px;
}

a:hover {
  color: #005b99;
  text-decoration: underline;
}

h1 {
  font-size: 1.8rem;
  color: #222;
  margin-top: 40px;
  margin-bottom: 20px;
}

form {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

input[type="text"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  border-color: #007acc;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 122, 204, 0.4);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background-color: #007acc;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

button:hover {
  background-color: #005b99;
}

#saveOtsStatus,
#sha256Result,
#sha256StringResult {
  margin-top: 15px;
  font-weight: 600;
  font-size: 1rem;
  color: #007acc;
}

details {
  margin-top: 10px;
  background: #f1f1f1;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-name {
  font-size: 0.9rem;
  color: #555;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
