@font-face {
  font-family: Rawline;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.cdnfonts.com/s/19714/rawline-600.woff") format("woff");
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/googlesans/v76/4Ua_rENHsxJlGDuGo1OIlJfC6l_24rlCK1Yo_Iqcsih3SAyH6cAwhX9RFD48TE63OOYKtrw2IKli.ttf") format("truetype");
}

#openid-connect-login-form > div:has(> .fablab-govbr-sign-in),
#openid-connect-login-form > div:has(> .fablab-google-sign-in) {
  display: inline-flex;
  margin: 0 12px 12px 0;
  vertical-align: top;
}

/* Botão do portal gov.br, com altura igual à do botão Google. */
#openid-connect-login-form .fablab-govbr-sign-in {
  align-items: center;
  background: #1351b4;
  border: 0;
  border-radius: 100em !important;
  box-sizing: border-box;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Rawline, sans-serif;
  font-size: 16.8px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  line-height: 1.45;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
}

#openid-connect-login-form .fablab-govbr-sign-in::before {
  background: url("../images/govbr-user.svg") center / 14px 16px no-repeat;
  content: "";
  display: block;
  flex: 0 0 24px;
  height: 16px;
  width: 24px;
}

#openid-connect-login-form .fablab-govbr-sign-in:not(:disabled):hover {
  background: #1351b4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16));
  color: #fff;
}

#openid-connect-login-form .fablab-govbr-sign-in:not(:disabled):active {
  background: #1351b4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45));
  color: #fff;
}

#openid-connect-login-form .fablab-govbr-sign-in:not(:disabled):focus:not(:hover):not(:active) {
  background: #1351b4;
  border: 0;
  box-shadow: none;
  color: #fff;
}

#openid-connect-login-form .fablab-govbr-sign-in:not(:disabled):focus {
  outline: none;
}

#openid-connect-login-form .fablab-govbr-sign-in:not(:disabled):focus-visible {
  outline: 4px dashed #c2850c;
  outline-offset: 4px;
}

#openid-connect-login-form .fablab-govbr-sign-in:disabled {
  background: #1351b4;
  border: 0;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.45;
}

/* Google Sign-In branding: light theme, pill shape. */
#openid-connect-login-form .fablab-google-sign-in {
  align-items: center;
  background: #fff;
  border: 1px solid #747775;
  border-radius: 20px !important;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  display: inline-flex;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  justify-content: center;
  line-height: 20px;
  padding: 0 12px;
  text-align: center;
  white-space: nowrap;
  width: auto;
}

#openid-connect-login-form .fablab-google-sign-in::before {
  background: url("../images/google-g.png") center / contain no-repeat;
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-right: 10px;
  width: 18px;
}

#openid-connect-login-form .fablab-google-sign-in:hover {
  background: #f8faff;
  color: #1f1f1f !important;
}

#openid-connect-login-form .fablab-google-sign-in:active {
  background: #eef3ff;
  color: #1f1f1f !important;
}

#openid-connect-login-form .fablab-google-sign-in:focus:not(:hover):not(:active) {
  background: #fff;
  border: 1px solid #747775;
  color: #1f1f1f !important;
}

#openid-connect-login-form .fablab-google-sign-in:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}
