* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Jersey 20", "Segoe UI", Roboto, system-ui, sans-serif;
  background-image: url("https://images.pexels.com/photos/33966530/pexels-photo-33966530.jpeg");
  background-position: center;
  background-position: center top;
  background-position: center bottom;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.app {
  width: 100%;
  background: rgba(255, 255, 255, 0.137);
  border-radius: 1rem;
  padding: 2.2rem 2rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.app-header h1 {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.app-header p {
  text-align: center;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.translator-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.app-footer {
  padding: 1rem 1rem;
  font-size: 0.78rem;
  color: #00ffc8;
  display: flex;
  justify-content: center;
}

.app-footer span::before {
  content: "Hint";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  margin-right: 0.55rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .translator-card {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
  }
}
.panel {
  background: rgba(116, 255, 255, 0.5);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.panel-input::before {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), transparent);
}

.panel-output::before {
  background: linear-gradient(135deg, rgba(49, 207, 168, 0.25), transparent);
}

textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  background: rgba(72, 109, 156, 0.5);
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.3);
  padding: 0.8rem 0.9rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea::-moz-placeholder {
  color: #00ffc8;
}

textarea::placeholder {
  color: #00ffc8;
}

textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.12);
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#swap-btn {
  background: transparent;
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.6);
}

#swap-btn:hover {
  background: rgba(56, 189, 248, 0.15);
}

#translate-btn {
  background: linear-gradient(135deg, #0ea5e9, #31cfa8);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

#translate-btn {
  background: linear-gradient(135deg, #0ea5e9, #31cfa8);
  color: #ffffff;
  box-shadow: 0 12px 20px rgba(34, 197, 94, 0.32);
}

#translate-btn:hover {
  box-shadow: 0 16px 26px rgba(34, 197, 94, 0.4);
}

#translate-btn:active {
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.28);
}

#swap-btn {
  background: #31cfa8;
  color: #ffffff;
  border: 1px solid rgba(55, 65, 81, 0.3);
}

#swap-btn:hover {
  background: #38bdf8;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #00ffc8;
}

#mode-label {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(55, 65, 81, 0.3);
  border: 1px solid rgba(55, 65, 81, 0.3);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .controls {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  button {
    width: 100%;
  }
}
#untranslatable-info {
  text-align: center;
}/*# sourceMappingURL=main.css.map */