/* Reset básico */
#restflow-signup-form,
#restflow-awaiting-verification {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background: transparent;
}

#restflow-signup-form {
  max-width: 420px;
  margin: 2.5rem auto;
  background: #111114;
  border-radius: 18px;
  padding: 2.7rem 2rem 2.3rem 2rem;
  box-shadow: 0 4px 32px 0 rgba(27,22,60,0.16);
  border: 1.5px solid #24243a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#restflow-signup-form h2 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 2.1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

#restflow-signup-form p {
  width: 100%;
  margin: 0 0 1.15rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#restflow-signup-form input[type="email"],
#restflow-signup-form input[type="password"],
#restflow-signup-form input[type="text"],
#restflow-signup-form select {
  width: 100%;
  padding: 1rem 1.1rem;
  background: #181820;
  border: 1.5px solid #24243a;
  border-radius: 13px;
  color: #fff;
  font-size: 1rem;
  margin-top: 0.12rem;
  margin-bottom: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

#restflow-signup-form input[type="email"]:focus,
#restflow-signup-form input[type="password"]:focus,
#restflow-signup-form input[type="text"]:focus,
#restflow-signup-form select:focus {
  border-color: #a077f8;
  outline: none;
  background: #1d192b;
}

#restflow-signup-form label {
  font-size: 0.99rem;
  color: #bbb;
  cursor: pointer;
  font-weight: 400;
  margin-left: 0.1em;
}

#restflow-signup-form a {
  color: #ad86ff;
  text-decoration: underline;
  transition: color 0.2s;
}
#restflow-signup-form a:hover {
  color: #43c5ff;
}

#restflow-signup-form input[type="checkbox"] {
  accent-color: #a077f8;
  margin-right: 0.5em;
  transform: scale(1.05);
  vertical-align: middle;
}

#restflow-signup-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(90deg, #a077f8 10%, #43c5ff 90%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(67,197,255,0.08);
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}
#restflow-signup-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #43c5ff 10%, #a077f8 90%);
  transform: translateY(-2px) scale(1.03);
}

.restflow-error {
  color: #ff4c74;
  background: #2a1326;
  border-radius: 8px;
  padding: 1em;
  margin: 1em 0 0 0;
  font-size: 1rem;
  text-align: center;
  border: 1.5px solid #801a50;
}

#restflow-signup-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
}

#restflow-signup-form input[readonly],
#restflow-signup-form input[disabled] {
  background: #16161d !important;
  opacity: 0.7;
  color: #ccc;
}

/* Responsive */
@media (max-width: 600px) {
  #restflow-signup-form {
    padding: 1.2rem 0.4rem !important;
    max-width: 97vw !important;
  }
  #restflow-signup-form h2 {
    font-size: 1.3rem;
  }
}

.restflow-form-switch {
  margin-top: 1.1rem;
  text-align: center;
  color: #bbb;
  font-size: 1.01rem;
}

.restflow-form-switch a {
  color: #ad86ff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.restflow-form-switch a:hover {
  color: #43c5ff;
}


#restflow-login-form {
  max-width: 420px;
  margin: 2.5rem auto;
  background: #111114;
  border-radius: 18px;
  padding: 2.7rem 2rem 2.3rem 2rem;
  box-shadow: 0 4px 32px 0 rgba(27,22,60,0.16);
  border: 1.5px solid #24243a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#restflow-login-form h2 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 2.1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

#restflow-login-form p {
  width: 100%;
  margin: 0 0 1.15rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#restflow-login-form input[type="email"],
#restflow-login-form input[type="password"] {
  width: 100%;
  padding: 1rem 1.1rem;
  background: #181820;
  border: 1.5px solid #24243a;
  border-radius: 13px;
  color: #fff;
  font-size: 1rem;
  margin-top: 0.12rem;
  margin-bottom: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

#restflow-login-form input[type="email"]:focus,
#restflow-login-form input[type="password"]:focus {
  border-color: #a077f8;
  outline: none;
  background: #1d192b;
}

#restflow-login-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(90deg, #a077f8 10%, #43c5ff 90%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(67,197,255,0.08);
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}
#restflow-login-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #43c5ff 10%, #a077f8 90%);
  transform: translateY(-2px) scale(1.03);
}

#restflow-login-form .restflow-error {
  color: #ff4c74;
  background: #2a1326;
  border-radius: 8px;
  padding: 1em;
  margin: 1em 0 0 0;
  font-size: 1rem;
  text-align: center;
  border: 1.5px solid #801a50;
}

/* Switch text below form */
#restflow-login-form .restflow-form-switch {
  margin-top: 1.1rem;
  text-align: center;
  color: #bbb;
  font-size: 1.01rem;
}

#restflow-login-form .restflow-form-switch a {
  color: #ad86ff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
#restflow-login-form .restflow-form-switch a:hover {
  color: #43c5ff;
}

/* Responsive */
@media (max-width: 600px) {
  #restflow-login-form {
    padding: 1.2rem 0.4rem !important;
    max-width: 97vw !important;
  }
  #restflow-login-form h2 {
    font-size: 1.3rem;
  }
}

.restflow-form-forgot {
  text-align: center;
  margin-bottom: 0.7rem;
}
.restflow-form-forgot a {
  color: #ad86ff;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.restflow-form-forgot a:hover {
  color: #43c5ff;
}



#restflow-reset-form,
#restflow-set-password-form {
  max-width: 420px;
  margin: 2.5rem auto;
  background: #111114;
  border-radius: 18px;
  padding: 2.7rem 2rem 2.3rem 2rem;
  box-shadow: 0 4px 32px 0 rgba(27,22,60,0.16);
  border: 1.5px solid #24243a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#restflow-reset-form h2,
#restflow-set-password-form h2 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 2.1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

#restflow-reset-form p,
#restflow-set-password-form p {
  width: 100%;
  margin: 0 0 1.15rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#restflow-reset-form input[type="email"],
#restflow-set-password-form input[type="password"] {
  width: 100%;
  padding: 1rem 1.1rem;
  background: #181820;
  border: 1.5px solid #24243a;
  border-radius: 13px;
  color: #fff;
  font-size: 1rem;
  margin-top: 0.12rem;
  margin-bottom: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

#restflow-reset-form input[type="email"]:focus,
#restflow-set-password-form input[type="password"]:focus {
  border-color: #a077f8;
  outline: none;
  background: #1d192b;
}

#restflow-reset-form button[type="submit"],
#restflow-set-password-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(90deg, #a077f8 10%, #43c5ff 90%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(67,197,255,0.08);
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}
#restflow-reset-form button[type="submit"]:hover,
#restflow-set-password-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #43c5ff 10%, #a077f8 90%);
  transform: translateY(-2px) scale(1.03);
}

#restflow-reset-form .restflow-info,
#restflow-set-password-form .restflow-info {
  color: #43c5ff;
  background: #1d192b;
  border-radius: 8px;
  padding: 1em;
  margin: 1em 0 0 0;
  font-size: 1rem;
  text-align: center;
  border: 1.5px solid #43c5ff;
}

#restflow-reset-form .restflow-form-switch,
#restflow-set-password-form .restflow-form-switch {
  margin-top: 1.1rem;
  text-align: center;
  color: #bbb;
  font-size: 1.01rem;
}

#restflow-reset-form .restflow-form-switch a,
#restflow-set-password-form .restflow-form-switch a {
  color: #ad86ff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
#restflow-reset-form .restflow-form-switch a:hover,
#restflow-set-password-form .restflow-form-switch a:hover {
  color: #43c5ff;
}

@media (max-width: 600px) {
  #restflow-reset-form,
  #restflow-set-password-form {
    padding: 1.2rem 0.4rem !important;
    max-width: 97vw !important;
  }
  #restflow-reset-form h2,
  #restflow-set-password-form h2 {
    font-size: 1.3rem;
  }
}