* {
  box-sizing: border-box;
}

html, body {
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: transparent;
}

.dicAut {
  color: #b17d7d;
  font-size: 12px;
  line-height: 1.2;
  margin-top: 0;
  padding-bottom: 12px;
  font-family: 'Futura', 'Poppins', Arial, sans-serif;
font-family: futura;
    padding-left: 160px;
    line-height: 0;
  /* desktop alignment */
  align-self: center;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
  .dicAut {
    padding-left: 0;        /* remove hard padding */
    text-align: center;    /* center text instead */
    font-size: 11px;
    font-family: futura;
    padding-left: 160px;
    line-height: 0;
  }
}

/* 🖥️ LARGE DESKTOP (optional) */
@media (min-width: 1024px) {
  .dicAut {
    padding-left: 160px;
    font-family: futura;
    padding-left: 160px;
    line-height: 0;
  }
}


/* ===== CONTAINER ===== */
.container {
  max-width: 560px;
  max-height:100vh;
  min-height:0vh;
  margin: auto;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}

/* ===== SEARCH ===== */
input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ===== SUGGESTIONS ===== */
.suggestions {
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  max-height:100vh;
  min-height:0vh;
  flex: 1;
  overflow-y: auto;
  display: none;

  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.suggestions::-webkit-scrollbar {
  display: none;
}

.suggestions div {
  padding: 10px;
  cursor: pointer;
}

.suggestions div.active {
  background: #dfe9ff;
}

/* ===== RESULT ===== */
.result {
  margin-top: 10px;
  padding: 14px;
  background: #f9fafb;
  border-radius: 6px;
}

.word {
  font-weight: bold;
  font-size: 18px;
  color: red;
}

.label {
  font-weight: bold;
  margin-top: 8px;
}

.example {
  font-style: italic;
}

.notfound {
  color: #c0392b;
}
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

.main-container {
  height: var(--app-height);
}
