/* TFV3 Login Page - Minimal SaaS */

body.tfv3-login-page {
  background: #fbf1e8;
}

body.tfv3-login-page main#primary,
body.tfv3-login-page .site-main {
  background: #fbf1e8;
}

body.tfv3-login-page .inside-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 16px 24px;
  background: transparent;
}

body.tfv3-login-page .entry-header,
body.tfv3-login-page .entry-content {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
}

body.tfv3-login-page.tf-shell-public:not(.tfv3-home-public) .entry-content {
  padding-top: 0;
  padding-bottom: 0;
}

body.tfv3-login-page main#main,
body.tfv3-login-page .site-main {
  margin-bottom: 0;
}

body.tfv3-login-page .site-footer {
  display: none;
}

body.tfv3-login-page .entry-title,
body.tfv3-login-page h1 {
  margin: 0 0 16px;
  color: #f4511e !important;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

body.tfv3-login-page .tfv3-login-intro {
  display: block;
  margin: 0 0 16px;
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

body.tfv3-login-page #rcp_login_form,
body.tfv3-login-page #rcp_lostpassword_form {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.tfv3-login-page #rcp_login_form fieldset,
body.tfv3-login-page #rcp_login_form .rcp_login_data,
body.tfv3-login-page #rcp_lostpassword_form fieldset,
body.tfv3-login-page #rcp_lostpassword_form .rcp_lostpassword_data,
body.tfv3-login-page .tfv3-auth-confirmation {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

body.tfv3-login-page #rcp_login_form p,
body.tfv3-login-page #rcp_lostpassword_form p,
body.tfv3-login-page .tfv3-auth-confirmation p {
  margin: 0 0 20px;
}

body.tfv3-login-page #rcp_login_form p:last-child,
body.tfv3-login-page #rcp_lostpassword_form p:last-child,
body.tfv3-login-page .tfv3-auth-confirmation p:last-child {
  margin-bottom: 0;
}

body.tfv3-login-page #rcp_login_form label,
body.tfv3-login-page #rcp_lostpassword_form label {
  display: inline-block;
  margin: 0 0 8px;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

body.tfv3-login-page #rcp_user_login,
body.tfv3-login-page #rcp_user_pass {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-size: 17px;
  line-height: 1.3;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.tfv3-login-page #rcp_user_login:focus,
body.tfv3-login-page #rcp_user_pass:focus {
  outline: none;
  border-color: #f4511e;
  box-shadow: 0 0 0 4px rgba(244, 81, 30, 0.16);
}

body.tfv3-login-page #rcp_user_remember {
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  vertical-align: -3px;
  accent-color: #f4511e;
}

body.tfv3-login-page label[for="rcp_user_remember"] {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
}

body.tfv3-login-page .rcp_lost_password,
body.tfv3-login-page .tfv3-auth-return {
  margin-top: 4px;
}

body.tfv3-login-page .rcp_lost_password a,
body.tfv3-login-page .tfv3-auth-return a {
  color: #9a3412;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.tfv3-login-page .rcp_lost_password a:hover,
body.tfv3-login-page .tfv3-auth-return a:hover {
  color: #f4511e;
}

body.tfv3-login-page #rcp_login_submit,
body.tfv3-login-page #rcp_lostpassword_submit {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: #f4511e;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(244, 81, 30, 0.24);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.tfv3-login-page #rcp_login_submit:hover,
body.tfv3-login-page #rcp_lostpassword_submit:hover {
  background: #e74717;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(244, 81, 30, 0.28);
}

body.tfv3-login-page #rcp_login_submit:active,
body.tfv3-login-page #rcp_lostpassword_submit:active {
  transform: translateY(0);
}

body.tfv3-login-page .rcp_error,
body.tfv3-login-page .rcp_success {
  max-width: 520px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

body.tfv3-login-page .tfv3-auth-confirmation {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
}

body.tfv3-login-page .rcp_logged_in {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

@media (min-width: 769px) {
  body.tfv3-login-page .gp-header {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 640px) {
  body.tfv3-login-page .inside-article {
    padding: 20px 16px 28px;
  }

  body.tfv3-login-page .entry-title,
  body.tfv3-login-page h1 {
    font-size: 36px;
  }

  body.tfv3-login-page .tfv3-login-intro {
    margin-bottom: 22px;
    font-size: 16px;
  }

  body.tfv3-login-page #rcp_login_form fieldset,
  body.tfv3-login-page #rcp_login_form .rcp_login_data,
  body.tfv3-login-page #rcp_lostpassword_form fieldset,
  body.tfv3-login-page #rcp_lostpassword_form .rcp_lostpassword_data,
  body.tfv3-login-page .tfv3-auth-confirmation {
    padding: 20px;
    border-radius: 18px;
  }
}
