/* 🌿 Alap stílusok */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfcf8;
  color: #333;
  margin: 0;
  padding: 1em;
  line-height: 1.6;
}

/* 🖼️ Logó és háttérsáv */
.logo-container {
  text-align: center;
  margin-bottom: 1em;
  padding: 1em;
  background: linear-gradient(to bottom, #fff8e1, #fdfcf8);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-container img {
  max-width: 180px;
  height: auto;
  opacity: 0.95;
}

/* 🔍 Cím */
h2 {
  font-size: 1.5em;
  color: #006b3c;
  margin-bottom: 0.5em;
  text-align: center;
}

/* 🧭 Keresőmező */
input[type="text"] {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-bottom: 1em;
}

/* 📦 Találatok */
.result {
  margin-top: 1em;
}

.talalat-blokk {
  animation: fadeIn 0.5s ease-in;
  margin-bottom: 1em;
  padding: 0.5em;
  border-bottom: 1px dashed #ccc;
}

.hindi {
  font-weight: bold;
  color: #006b3c;
  font-size: 1.1em;
}

.translation {
  margin-left: 1em;
  font-size: 0.95em;
  color: #444;
}

/* ✨ Animáció */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 📱 Mobilbarát elrendezés */
@media screen and (max-width: 600px) {
  body {
    padding: 0.5em;
  }

  .logo-container img {
    max-width: 140px;
  }

  h2 {
    font-size: 1.2em;
  }

  input[type="text"] {
    font-size: 1em;
  }

  .translation {
    font-size: 0.9em;
  }
}

.grammar {
  margin-left: 1em;
  font-style: italic;
  color: #555;
  font-size: 0.9em;
}

body.light-mode {
  background-color: #ffffff;
  color: #000000;
}

body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

button#modvalto {
  margin: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
