/* FINO_P02_FIRST_LOGIN */

#fino-first-login[hidden] {
  display: none !important;
}

#fino-first-login {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(137, 207, 255, .32),
      transparent 34%
    ),
    radial-gradient(
      circle at 85% 90%,
      rgba(183, 147, 255, .20),
      transparent 35%
    ),
    #f5faff;
}

.fino-first-login-card {
  width: min(620px, 100%);
  box-sizing: border-box;
  padding: 42px;
  border: 1px solid rgba(47, 117, 181, .12);
  border-radius: 32px;
  background: rgba(255, 255, 255, .96);
  box-shadow:
    0 24px 80px rgba(38, 80, 120, .14);
}

.fino-first-login-brand {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 900;
  color: #8f35bd;
}

.fino-first-login-card h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  color: #174f8a;
}

.fino-first-login-lead {
  margin: 12px 0 32px;
  font-size: 20px;
  color: #5d6d7e;
}

.fino-first-login-field {
  margin-top: 26px;
}

.fino-first-login-label {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #33465a;
}

.fino-first-login-name {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f3f7fb;
  font-size: 21px;
  font-weight: 800;
  color: #17293b;
}

.fino-first-login-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fino-first-login-choice {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 18px;
  background: #f5f9fc;
  font: inherit;
  font-size: 30px;
  cursor: pointer;
}

.fino-first-login-choice.is-selected {
  border-color: #2f75b5;
  box-shadow:
    0 0 0 4px rgba(47, 117, 181, .12);
}

.fino-first-login-color {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
}

.fino-first-login-start {
  width: 100%;
  margin-top: 34px;
  padding: 17px 24px;
  border: 0;
  border-radius: 18px;
  background: #2f75b5;
  color: white;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.fino-first-login-start:disabled {
  opacity: .65;
  cursor: wait;
}

.fino-first-login-error {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #fff0f0;
  color: #b42318;
  font-weight: 700;
}

/*
 * P0.2B:
 * authenticated students never get the legacy
 * profile manager or its PIN/delete/create controls.
 */
html[data-fino-student-session="true"]
#screen-profile,

html[data-fino-student-session="true"]
#screen-profiles,

body.fino-student-authenticated
#screen-profile,

body.fino-student-authenticated
#screen-profiles {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
