/* Alap kinézet */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f6f8fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  color: #2f2f2f;
}

.container {
  background-color: #ffffff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
}

h1 {
  text-align: center;
  font-weight: 700;
  font-size: 1.7rem;
  color: #232323;
  margin-bottom: 1.4rem;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555555;
}

select,
input[type="text"],
input[type="file"],
input[type="number"],
textarea {
  width: 100%;
  background-color: #f1f3f5;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #7a8c9c;
  outline: none;
  background-color: #f9fbfd;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button.btn {
  width: 100%;
  background-color: #38598b;
  color: white;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

button.btn:hover {
  background-color: #2e4773;
}

.result-box {
  background-color: #f0f2f5;
  padding: 14px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.95rem;
  color: #242424;
  white-space: pre-wrap; /* visszaadja a sortöréseket */
  word-wrap: break-word;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 520px) {
  .container {
    padding: 20px;
    border-radius: 8px;
  }

  h1 {
    font-size: 1.5rem;
  }

  button.btn {
    padding: 10px;
  }
}
