.ideas-container {
  padding: 30px 20px 40px;
}

.ideas-title {
  font-family: Montserrat-semibold, sans-serif;
  color: #1a1a2e;
  font-size: 30px;
  margin-bottom: 20px;
}

.ideas-subtitle {
  font-family: Montserrat-semibold, sans-serif;
  color: #1a1a2e;
  font-size: 22px;
  margin: 35px 0 18px;
}

.ideas-intro {
  font-family: Montserrat-regular, sans-serif;
  color: #4a4a5a;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.ideas-check {
  margin-top: 10px;
}

.ideas-check-label {
  font-family: Montserrat-regular, sans-serif;
  color: #6a6a7a;
  font-size: 13px;
  line-height: 1.4;
}

.ideas-submit-container {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

/* .login-button es una imagen de fondo de 201x46: sin padding ni alto propios, el texto
   se centra con line-height. Nada de form-control aquí, que impone width y alto propios. */
.ideas-submit-button {
  display: block;
  padding: 0;
  border: none;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
}

/* Honeypot: invisible para el usuario, visible para el bot que rellena todos los campos. */
.ideas-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.ideas-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.idea-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #e6e6ec;
  border-radius: 8px;
  background-color: #fbfbfd;
}

.idea-card:target {
  border-color: #FFD24C;
  box-shadow: 0 0 0 2px rgba(255, 210, 76, .35);
}

.idea-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 8px 4px;
  border-radius: 6px;
  background-color: #1a1a2e;
  color: #FFFBE9;
}

.idea-votes-number {
  font-family: Montserrat-semibold, sans-serif;
  font-size: 20px;
  line-height: 1.1;
}

.idea-votes-label {
  font-family: Montserrat-regular, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.idea-body {
  flex: 1;
  min-width: 0;
}

.idea-title {
  font-family: Montserrat-semibold, sans-serif;
  color: #1a1a2e;
  font-size: 17px;
  margin: 0 0 4px;
  word-break: break-word;
}

.idea-description {
  font-family: Montserrat-regular, sans-serif;
  color: #6a6a7a;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

.idea-action form {
  margin: 0;
}

.idea-vote-button {
  font-family: Montserrat-semibold, sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  background-color: #FFD24C;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
}

.idea-vote-button:hover {
  background-color: #f5c22e;
}

.idea-vote-button.voted {
  background-color: #e6e6ec;
  color: #9a9aa8;
  cursor: default;
}

.ideas-register-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 8px;
  background-color: #1a1a2e;
}

.ideas-register-banner p {
  font-family: Montserrat-regular, sans-serif;
  color: #FFFBE9;
  font-size: 15px;
  margin: 0;
}

.ideas-register-link {
  font-family: Montserrat-semibold, sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  background-color: #FFD24C;
  border-radius: 6px;
  padding: 10px 22px;
  text-decoration: none;
  white-space: nowrap;
}

.ideas-register-link:hover {
  background-color: #f5c22e;
  color: #1a1a2e;
  text-decoration: none;
}

@media (max-width: 575px) {
  .ideas-title {
    font-size: 24px;
  }

  .idea-card {
    flex-wrap: wrap;
    gap: 12px;
  }

  .idea-body {
    flex-basis: calc(100% - 78px);
  }

  .idea-action {
    flex-basis: 100%;
  }

  .idea-vote-button {
    width: 100%;
  }
}
