body {
  font-family: Arial, sans-serif;
  margin: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: #fafbfc;
  color: #00414a;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  background: #fff;
  padding: 24px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  max-width: 600px;
  margin: 16px auto 8px auto;
}

h1 {
  font-size: 1.5em;
  color: #00414a;
}

h2 {
  font-size: 1.1em;
  font-weight: normal;
  margin-bottom: 1em;
  color: #00414a;
}

label, input, button {
  font-size: 1em;
}

input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px;
  margin-bottom: 10px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

button {
  flex: 1 1 0;
  padding: 10px 0;
  border: none;
  background: #ff4e26;
  color: #fff;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover, button:focus {
  background: #d63d17;
  outline: none;
}

/* Botón de copiar en azul */
.copy-btn {
  background: #00414a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  transition: background 0.2s;
  margin-top: 10px;
}
.copy-btn:hover, .copy-btn:focus {
  background: #002d32;
}

#resultat {
  white-space: pre;
  margin-top: 20px;
  background: #f0f0f0;
  padding: 10px;
  border: 1px solid #ccc;
  min-height: 2em;
  font-family: 'Fira Mono', 'Consolas', monospace;
}

#copiat {
  opacity: 0;
  transition: opacity 0.5s;
  color: green;
  font-weight: bold;
  margin-top: 5px;
}

#copiat.visible {
  opacity: 1;
}

@media (max-width: 600px) {
  body {
    margin: 10px;
  }
  .form-container {
    padding: 14px 5px;
    margin: 10px auto;
  }
  h1 {
    font-size: 1.2em;
  }
}

/* Footer: solo el link en azul */
.footer {
  text-align: center;
  color: #00414a;
  background: transparent;
  font-size: 0.95em;
  padding: 12px 0 10px 0;
  border-radius: 0 0 10px 10px;
  margin-top: 18px;
}
.footer a {
  color: #00414a;
  text-decoration: underline;
}
.footer a:hover {
  color: #ff4e26;
}