/***************************
// Variables
***************************/
:root {
  --root-element-margin-top: 50px;
  --header-font: "rigid-square";
  --paragraph-font: "Inter";
}

/***************************
// Fonts
***************************/
@font-face {
  font-family: "rigid-square";
  src: url("https://use.typekit.net/af/6727e5/00000000000000007735c42c/30/l?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n6&v=3")
      format("woff2"),
    url("https://use.typekit.net/af/6727e5/00000000000000007735c42c/30/d?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n6&v=3")
      format("woff"),
    url("https://use.typekit.net/af/6727e5/00000000000000007735c42c/30/a?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n6&v=3")
      format("opentype");
  font-display: auto;
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
}

@font-face {
  font-family: "rigid-square";
  src: url("https://use.typekit.net/af/bb5c38/00000000000000007735c433/30/l?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n7&v=3")
      format("woff2"),
    url("https://use.typekit.net/af/bb5c38/00000000000000007735c433/30/d?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n7&v=3")
      format("woff"),
    url("https://use.typekit.net/af/bb5c38/00000000000000007735c433/30/a?primer=7fa3915bdafdf03041871920a205bef951d72bf64dd4c4460fb992e3ecc3a862&fvd=n7&v=3")
      format("opentype");
  font-display: auto;
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
}

/***************************
// Element styles
***************************/

body {
  background-color: #111316;
  color: white;

  font-family: var(--paragraph-font), sans-serif;
  font-style: normal;
  font-weight: 200;

  margin: 0;
  padding: 0;
}

input {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0px;
}

button {
  outline: none;
  border: none;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  opacity: 1;
  color: #00c3ff;
  transition: 0.3s ease-out;
  text-decoration: None;
}

a:hover,
a:active {
  transition: 0.3s ease-out;
  color: #fff;
}

/***************************
// Class styles
***************************/

.header {
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: 0;
  font-weight: 500;
  font-size: 14px;
}

.blockstream-logo {
  width: 120px;
}

.signup-prompt {
  margin-left: auto;
  margin-right: 6px;
}

@media not screen and (min-width: 480px) {
  .header {
    height: 80px;
  }
}

.header-call-out {
  margin-right: 33px;
}

.main {
  min-height: 100vh;
  min-width: 100vw;

  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.main-info-pane {
  width: 40vw;
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
  background-color: #0C0D0F;
}

.main-info-title {
  display: block;
  opacity: 1;
  color: rgba(255, 255, 255, 1);
  font-family: var(--header-font), sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 2px;
  margin-top: var(--root-element-margin-top);
}

.main-content {
  width: 100vw;
  min-height: 100vh;
  margin: 0 0 0 0;
  padding: 100px 6.25vw 0 6.25vw;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
}

@media not screen and (min-width: 480px) {
  .main-content {
    padding-top: 80px;
  }
}

.hidden {
  display: none;
  visibility: hidden;
}

.main-login-pane {
  width: 60%;
  background-color: #111316;

  box-sizing: border-box;
  padding-left: 60px;
  padding-right: 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-pane-wrapper {
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media not screen and (min-width: 480px) {
  .login-pane-wrapper {
    width: 85vw;
  }
}

.login-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  opacity: 1;
  background-color: rgba(29, 34, 39, 1);

  color: #979ea2;

  font-weight: 400;
  font-size: 14px;
}

.login-card-wrapper {
  margin: 30px;
}

.card-title {
  display: block;
  width: 100%;
  opacity: 1;
  color: rgba(255, 255, 255, 1);
  font-family: var(--header-font);
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08px;
  text-align: left;
  margin: 0px;
}

label {
  line-height: 2em;
  color: #b5bdc2;
  font-weight: 400;
  font-size: 16px;
  font-family: var(--paragraph-font);
}

.kc-form-login-group {
  display: flex;
  flex-direction: column;
  padding-top: 1em;
  font-size: 16px;
}

input {
  background-color: #111316;
  color: #b5bdc2;

  font-size: 14px;
  line-height: 24px;

  border: 1px solid #4b5966;

  box-sizing: border-box;
  height: 40px;

  padding: 0 0 0 11px;
}

input:focus {
  outline: 1.5px solid #00c3ff;
}

.input-invalid {
  outline: 1.5px solid #ff6347;
}

.kc-button {
  padding: 0;
  cursor: pointer;

  box-sizing: border-box;
  height: 40px;
  width: 100%;
  max-width: 320px;

  background-color: #00c3ff;
  color: #0c0c0f;
  font-family: var(--header-font);
  font-size: 16px;
  font-weight: bold;
  text-align: center;

  transition: 0.3s ease-out;
}

#kc-form-buttons {
  margin-top: 35px;
  margin-bottom: 10px;
}

.kc-button:hover,
.kc-button:active {
  background: #1187c1;
  transition: 0.3s ease-out;
}

.kc-button:disabled {
  opacity: .2;
  border: none;
  cursor: not-allowed;
}

.secondary-button-small {
  background-color: transparent;
  border: 1px solid #00c3ff;
  color: #00c3ff;
  transition: 0.3s ease-out;
  color: rgba(0, 195, 255, 1);
  background-color: rgba(0, 0, 0, 0);
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.07px;
  text-align: center;

  padding: 10px 20px 10px 20px;
  cursor: pointer;
}

.secondary-button-small:hover,
.secondary-button-small:active {
  color: #fff;
  border: 1px solid #00c3ff;
  background-color: #00c3ff;
  transition: 0.3s ease-out;
  cursor: pointer;
}

.password-input-group {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.password-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.password-icon-container {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: right;
}

.password-icon-container > svg {
  fill: #fff;
  margin-right: 1em;
  height: 1.2em;
}

.login-title {
  opacity: 1;
  font-family: var(--header-font);
  color: rgba(255, 255, 255, 1);
  font-size: 28px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: var(--root-element-margin-top);
}

#password {
  max-width: 320px;
}

.divider {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.line {
  flex-grow: 1;
  padding: 0;

  height: 0px;
  border-bottom: 1px solid #B5BDC2;
  opacity: 1;
}

.line-text {
  flex-grow: 0;
  margin: 0 1em 0 1em;

  opacity: 1;
  color: #B5BDC2;
  font-family: var(--paragraph-font), sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.22px;
  text-align: center;
}

#social-google {
  position: relative;
  display: flex;
  align-items: center;

  box-sizing: border-box;
  height: 40px;
  width: 100%;
  max-width: 320px;

  background: white;

  margin-top: 24px;
  margin-bottom: 28px;
}

.kc-social-icon {
  width: 1.2em;
  height: 1.2em;
  margin-left: 1em;
}

.kc-social-icon-text {
  display: flex;
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  align-items: center;
  justify-content: center;

  opacity: 1;
  color: rgba(0, 0, 0, 0.54);
  font-family: var(--paragraph-font), sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.25px;
  text-align: center;
}

.input-error {
  display: block;

  opacity: 1;
  color: rgba(255, 99, 71, 1);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.14px;
  margin-top: 6px;
}

.forgot-password-link {
  margin-top: 16px;
  font-size: 14px;
  font-family: var(--paragraph-font);
  text-align: center;
}

.input-wrapper {
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

.kc-form-group {
  margin-top: 9px;
}

.alternative-action-link {
  display: flex;
  text-align: center;
  justify-content: center;

  opacity: 1;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0px;
  text-align: left;
}

.mr-6 {
  margin-right: 6px;
}

.mt-30 {
  margin-top: 30px;
}

.instruction {
  font-size: 16px;
  opacity: 1;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.24px;
  text-align: left;
  line-height: 24px;
}

/* Media Queries */

@media only screen and (max-width: 1024px) {
  .main-info-pane {
    align-items: center;
  }
}

@media only screen and (max-width: 1024px) {
  .main-info-pane {
    display: none;
  }

  .main-login-pane {
    width: 100vw;
  }
}

@media screen and (max-width: 1024px) {
  .login-pane-wrapper {
    margin-top: -25px;
  }
}

@media not screen and (max-width: 480px) {
  #social-google {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 325px) {
  .kc-social-icon-text {
    left: 1.2em;
  }
}

@media screen and (min-width: 480px) {
  .only-mobile {
    display: none;
    visibility: hidden;
  }

  .login-card-wrapper {
    width: 320px;
  }
}

@media not screen and (min-width: 480px) {
  .only-large {
    display: none;
    visibility: hidden;
  }
}

#kc-info {
  color: white;
  opacity: 1;

  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  text-align: left;
  line-height: 24px;
}

.modal {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  box-sizing: border-box;
  background-color: RGB(17, 19, 22);
}

.alert-icon {
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  border: 3px solid RGB(0, 195, 255);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-icon > svg {
  width: 80%;
  height: auto;
}

.alert-icon > svg path {
  fill: RGB(0, 195, 255);
}

.message-pane {
  padding-top: 150px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  text-align: center;
  line-height: 24px;
}

.message-pane h1 {
  margin-block-end: 1.5em;
}

.kc-registration {
  font-weight: 500;
}

#kc-page-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 90px;
}

.kc-alert-title > h1 {
  font-size: 20px;
}

@media not screen and (min-width: 480px) {
  #kc-page-title {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 700;
  }

  .kc-alert-title {
    max-width: 264px;
    font-size: 14px;
  }
}

.alert-warning {
  margin-bottom: 23px;
  color: white;
}

.password-requirements-callout::before {
  content: "";
  width: 0px;
  height: 0px;
  border: 0.8em solid transparent;
  position: absolute;
}

div.password-requirements-callout {
  position: absolute;
  padding: 10px;

  opacity: 1;
  background-color: rgba(38, 43, 49, 1);
  border: 2px solid rgba(38, 43, 49, 1);

  color: white;

  width: 150px;
  padding: 11px;

  font-size: 12px;
}

div.password-requirements-callout > ul {
  list-style: none;
}

@media screen and (min-width: 750px) {
  div.password-requirements-callout {
    left: 370px;
    top: -5px;
  }

  div.password-requirements-callout::before {
    left: -20px;
    top: 10px;
    border-right: 10px solid rgba(38, 43, 49, 1);
  }
}

/*There is some randomness in this choice
It was picked so the callout always fits on the screen
*/
@media not screen and (min-width: 750px) {
  div.password-requirements-callout {
    right: 0px;
    top: 55px;
  }

  .password-requirements-callout::before {
    border-bottom: 10px solid rgba(38, 43, 49, 1);
    top: -20px;
    right: 10px;
  }
}

.password-indicator-ok {
  color: white;
}

.password-indicator-bad {
  color: #717d93;
}

.password-indicator-icon {
  width: 12px;
  height: 12px;
}

.password-indicator-bad > .password-indicator-icon {
  display: none;
}
