/* ==========================================================
   FORMS
========================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*----------------------------------------------------------
INPUT
----------------------------------------------------------*/
.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;

  left: 18px;

  top: 50%;

  transform: translateY(-50%);

  width: 22px;

  height: 22px;

  opacity: 0.55;

  pointer-events: none;
}

.input {
  width: 100%;
  height: 48px;

  padding: 0 16px;
  padding-left: 56px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: #fff;

  color: var(--text);

  transition: 0.2s;
}

.input::placeholder {
  color: #98a5b1;
}

.input:hover {
  border-color: #c7d7e3;
}

.input:focus {
  outline: none;

  border-color: #5ea8eb;

  box-shadow: 0 0 0 4px rgba(94, 168, 235, 0.15);
}

/*==========================================================
BENEFITS
==========================================================*/

.benefits-list {
  margin: 16px 0;

  padding: 0;

  list-style: none;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px 26px;
}

.benefits-list li {
  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 0.95rem;

  font-weight: 500;

  color: var(--text);
}

.benefits-list img {
  width: 24px;
  height: 24px;
  opacity: 1;
}

.benefits-list span {
  display: block;
}

/*==========================================================
FORM ROW
==========================================================*/

.form-row {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 18px;
}

.form-row .input {
  flex: 1;

  margin: 0;
}

.join-btn {
  width: 160px;

  height: 48px;

  margin: 0;

  flex-shrink: 0;
}

/*==========================================================
HELP
==========================================================*/

.help {
  margin-top: 12px;

  font-size: 0.82rem;
  opacity: 0.75;

  text-align: center;

  color: var(--text-soft);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;
}

.help-icon {
  width: 16px;

  height: 16px;

  opacity: 0.7;

  flex-shrink: 0;
}
/*==========================================================
SUCCESS
==========================================================*/

.row-success {
  display: none;

  margin-top: 18px;

  padding: 18px;

  border-radius: 12px;

  background: #eef8f2;

  border: 1px solid #cbe7d5;

  color: #2e7852;

  text-align: center;
}

/*==========================================================
RESPONSIVE
==========================================================*/

@media (max-width: 700px) {
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;

    align-items: stretch;
  }

  .join-btn {
    width: 100%;
  }
}
