/* CADIS - Estilos de marca v2 para el Online Form de SmartWe (Unsubscribe Template) */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

html body {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  color: #393636;
  margin: 0;
  line-height: 1.4;
}

form {
  display: block;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

div.table {
  display: block;
  width: 100%;
}

div.table-row {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

div.table-row > div:first-child,
div.table-row > div:nth-child(2) {
  display: contents;
}

label.formlabel {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(57, 54, 54, 0.5);
  pointer-events: none;
}

.formlabelerror {
  color: #e0483e;
}

input.forminput,
select.forminput {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid rgba(57, 54, 54, 0.25);
  border-radius: 0;
  background-color: transparent;
  padding: 18px 0 8px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  color: #393636;
  transition: border-color 0.2s ease;
}

input.forminput:focus,
select.forminput:focus {
  outline: none;
  border-bottom-color: #59bbad;
}

.forminputerror {
  border-bottom-color: #e0483e !important;
}

select.forminput {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23393636' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 14px;
  padding-right: 22px;
}

div.errordiv {
  display: none;
  margin-top: 4px;
}

div.validationError {
  display: initial;
  color: #e0483e;
  font-size: 12px;
}

div.validationmsg,
div.infomsg {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

div.validationmsg {
  background-color: #fff1ef;
  color: #e0483e;
}

div.infomsg {
  background-color: #eaf6f4;
  color: #2f7267;
}

input.formbutton[type='submit'] {
  display: inline-block;
  float: none;
  margin-top: 4px;
  padding: 13px 30px;
  background-color: #59bbad;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

input.formbutton[type='submit']:hover {
  background-color: #4aa89b;
}

@media (max-width: 480px) {
  form {
    max-width: 100%;
  }
  div.table-row {
    margin-bottom: 20px;
  }
}
