.converter {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 460px;
  margin: 3rem auto;
  text-align: center;
}

.converter h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  color: #00588f;
}

.converter form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.converter input {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 0.65rem;
  font-size: 1.05rem;
  caret-color: auto !important;
  outline: none;
  text-align: center;
  display: block;
  margin: 0 auto;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.converter input::placeholder {
  text-align: center;
  color: #999;
  opacity: 1;
}

.converter button {
  background-color: #00588f;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.converter button:hover {
  background-color: #004974;
}

.output {
  margin-top: 1rem;
  font-size: 1.2rem;
  word-break: break-word;
  cursor: pointer;
}

.output.success {
  color: #00588f;
}

.output.error {
  color: #d00000;
  cursor: default;
}

.copy-icon {
  margin-left: 0.5rem;
  color: #888;
}

.copy-icon:hover {
  color: #00588f;
}

.explanation {
  max-width: 700px;
  margin: 3rem auto 4rem;
  padding: 1.5rem 2rem;
  background-color: #ffffff;
  border-left: 6px solid #fd8301;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.explanation h3 {
  font-family: 'Poppins', sans-serif;
  color: #00588f;
  margin-top: 0;
}

.explanation p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.explanation img {
  margin-top: 1rem;
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logout-button {
  background-color: #00588f;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.logout-button:hover {
  background-color: #e56f00;
  transform: translateY(-1px);
}