* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  background: #0e0e0e;
  color: #eaeaea;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 340px;
}

/* dullchat afuera del cuadro */
.brand {
  position: absolute;
  top: -36px;
  left: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 27px;
  letter-spacing: 0.5px;
}

/* Card principal */
.card {
  position: relative;
  background: #151515;
  border-radius: 14px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Botón idioma */
.lang-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
}

.lang-btn:hover {
  color: #fff;
}

/* Texto */
.description {
  font-size: 14px;
  line-height: 1.5;
  color: #cfcfcf;
  margin-top: 10px;
}

/* Input */
input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #0e0e0e;
  color: #fff;
  font-size: 14px;
}

input::placeholder {
  color: #777;
}

input:focus {
  outline: none;
}

/* Botón principal */
.primary-btn {
  margin-top: 6px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #eaeaea;
  color: #0e0e0e;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.primary-btn:hover {
  background: #ffffff;
}

.lang-selector {
  position: absolute;
  top: 14px;
  right: 14px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
}

.lang-btn:hover {
  color: #fff;
}

.lang-menu {
  position: absolute;
  top: 22px;
  right: 0;
  background: #1b1b1b;
  border-radius: 6px;
  padding: 6px 0;
  display: none;
  min-width: 100px;
}

.lang-menu button {
  width: 100%;
  background: none;
  border: none;
  color: #eaeaea;
  font-size: 12px;
  padding: 6px 12px;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #2a2a2a;
}

/* Mostrar menú al pasar el mouse */
.lang-selector:hover .lang-menu {
  display: block;
}

/* Toasts */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.toast {
  background: #1b1b1b;
  color: #eaeaea;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  min-width: 220px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: toast-in 0.25s ease forwards;
}

.toast.success {
  border: 1px solid #2e7d32;
}

.toast.error {
  border: 1px solid #c62828;
}

.toast.info {
  border: 1px solid #555;
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features debajo del card */
.features {
  display: flex;
  justify-content: center;
  gap: 40px; /* separación horizontal entre cada feature */
  margin-top: 24px;
  margin-left: 20px; /* ajusta este valor a tu gusto */
  font-size: 14px;
  color: #eaeaea;
}

.features .feature {
  display: flex;
  flex-direction: column; /* icono arriba, texto debajo */
  align-items: center;
  gap: 6px; /* espacio entre icono y texto */
}

.features .feature .icon {
  width: 24px; /* un poquito más grande para destacar */
  height: 24px;
  color: #f0f0f0;
}
