* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family:
    Arial,
    "Segoe UI",
    sans-serif;

  color: #eef6ff;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(23, 94, 135, .30),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 100%,
      rgba(177, 124, 13, .13),
      transparent 34%
    ),
    #03111c;
}

.sarab-login {
  min-height: 100vh;

  display: grid;
  place-items: center;

  padding: 24px;
}

.login-card {
  width: min(430px, 100%);

  padding: 34px 32px 28px;

  text-align: center;

  border:
    1px solid
    rgba(219, 167, 48, .62);

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(10, 30, 45, .98),
      rgba(4, 18, 30, .98)
    );

  box-shadow:
    0 30px 90px
      rgba(0, 0, 0, .46),
    inset 0 1px 0
      rgba(255, 255, 255, .035);
}

.login-crown {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 13px;
}

.login-kicker {
  margin: 0 0 7px;

  color: #e8b83e;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 2.3px;
}

.login-card h1 {
  margin: 0;

  color: #fff;

  font-size: 29px;
  font-weight: 900;
}

.login-subtitle {
  margin: 8px 0 20px;

  color: #8fa7b9;

  font-size: 13px;
}

.role-strip {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 5px;

  margin-bottom: 25px;
}

.role-option {
  min-width: 0;

  padding: 7px 4px;

  border:
    1px solid
    #214761;

  border-radius: 7px;

  background: #081b29;

  color: #aac2d3;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: .35px;
}


.role-option {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color .15s ease,
    background .15s ease,
    color .15s ease,
    transform .15s ease;
}

.role-option:hover {
  border-color: #4d7893;
  color: #ffffff;
}

.role-option:active {
  transform: translateY(1px);
}

.role-option.selected {
  color: #ffd45d;
  border-color: #b78a1e;
  background: #2a2009;
  box-shadow:
    inset 0 0 0 1px
    rgba(255, 208, 78, .08);
}

form {
  text-align: right;
}

label {
  display: block;

  margin:
    0 2px 8px;

  color: #d6e3ed;

  font-size: 12px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 48px;

  padding: 0 14px;

  outline: none;

  border:
    1px solid
    #244d68;

  border-radius: 10px;

  background: #061824;

  color: #fff;

  font-size: 14px;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

input:focus {
  border-color: #c89b31;

  box-shadow:
    0 0 0 3px
    rgba(200, 155, 49, .12);
}

#sarabEmail {
  direction: ltr;
  text-align: left;

  margin-bottom: 17px;
}

.password-wrap {
  position: relative;

  margin-bottom: 20px;
}

.password-wrap input {
  direction: ltr;
  text-align: left;

  padding-right: 48px;
}

.password-toggle {
  position: absolute;

  top: 5px;
  right: 5px;

  width: 38px;
  height: 38px;

  border: 0;

  border-radius: 8px;

  background: transparent;

  color: #a9bdcc;

  cursor: pointer;

  font-size: 16px;
}

.login-submit {
  width: 100%;
  height: 49px;

  border:
    1px solid
    #c7982c;

  border-radius: 10px;

  background:
    linear-gradient(
      180deg,
      #b48724,
      #7c5b12
    );

  color: #fff;

  cursor: pointer;

  font-size: 14px;
  font-weight: 900;

  transition:
    filter .15s ease,
    transform .15s ease;
}

.login-submit:hover {
  filter: brightness(1.08);
}

.login-submit:active {
  transform: translateY(1px);
}

.login-submit:disabled {
  opacity: .58;
  cursor: wait;
}

.login-message {
  min-height: 20px;

  margin: 13px 0 0;

  text-align: center;

  color: #ff8e8e;

  font-size: 12px;
  font-weight: 700;
}

.login-message.ok {
  color: #66df91;
}

.security-note {
  margin-top: 18px;

  padding-top: 17px;

  border-top:
    1px solid
    rgba(112, 151, 177, .17);

  color: #718c9f;

  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 520px) {

  .sarab-login {
    padding: 15px;
  }

  .login-card {
    padding:
      28px 19px 23px;

    border-radius: 15px;
  }

  .login-card h1 {
    font-size: 25px;
  }

  .role-option {
    font-size: 7px;
    padding: 7px 2px;
  }
}
