.header {
  background: rgba(9, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4.8rem + 6.8rem) 1.6rem 6.4rem;
  background: linear-gradient(150deg, #f0f4ff 0%, #e9effe 55%, #eef2ff 100%);
}
.auth__card {
  background: #fff;
  border-radius: 2rem;
  padding: 4.8rem;
  width: 100%;
  max-width: 48rem;
  box-shadow: 0 0.4rem 4rem rgba(11, 73, 185, 0.07), 0 0.1rem 0.4rem rgba(0, 0, 0, 0.04);
}
.auth__card--wide {
  max-width: 66rem;
}
.auth__logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.2rem;
  text-decoration: none;
  color: #05050c;
}
.auth__logo-icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #0b49b9, #06b2e3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.auth__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.auth__logo-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #05050c;
}
.auth__logo-sub {
  font-size: 1.2rem;
  color: #9ca3af;
}
.auth__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #05050c;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.auth__subtitle {
  font-size: 1.4rem;
  color: #6b7280;
  margin-bottom: 2.8rem;
  line-height: 1.5;
}
.auth__notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(11, 73, 185, 0.05);
  border: 1px solid rgba(11, 73, 185, 0.14);
  border-radius: 1.2rem;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.6rem;
  color: #374151;
  font-size: 1.35rem;
  line-height: 1.55;
}
.auth__notice svg {
  flex-shrink: 0;
  color: #0b49b9;
  margin-top: 0.1rem;
}
.auth__alert {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  font-size: 1.35rem;
  margin-bottom: 2rem;
  line-height: 1.45;
}
.auth__alert svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.auth__alert--error {
  background: rgba(181, 20, 59, 0.07);
  border: 1px solid rgba(181, 20, 59, 0.18);
  color: #b5143b;
}
.auth__alert--success {
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
}
.auth__alert--warning {
  background: rgba(217, 119, 6, 0.07);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #92400e;
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.auth__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.auth__form-grid .auth__field--full {
  grid-column: 1/-1;
}
@media only screen and (max-width: 576px) {
  .auth__form-grid {
    grid-template-columns: 1fr;
  }
  .auth__form-grid .auth__field--full {
    grid-column: auto;
  }
}
.auth__section-label {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: -0.4rem;
}
.auth__divider {
  height: 1px;
  background: #f3f4f6;
  margin: 0.2rem 0;
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.auth__field label {
  font-size: 1.35rem;
  font-weight: 500;
  color: #374151;
}
.auth__field label span[aria-hidden] {
  color: #b5143b;
}
.auth__field input {
  width: 100%;
  padding: 1.1rem 1.4rem;
  font-size: 1.45rem;
  font-family: inherit;
  color: #05050c;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth__field input::placeholder {
  color: #c4c9d4;
}
.auth__field input:focus {
  border-color: #0b49b9;
  background: #fff;
  box-shadow: 0 0 0 0.3rem rgba(11, 73, 185, 0.1);
}
.auth__field-wrap {
  position: relative;
}
.auth__field-wrap input {
  padding-right: 4.4rem;
}
.auth__eye {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  line-height: 0;
  transition: color 0.2s;
}
.auth__eye:hover, .auth__eye.is-active {
  color: #0b49b9;
}
.auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.auth__check {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1.35rem;
  color: #6b7280;
  user-select: none;
}
.auth__check input[type=checkbox] {
  width: 1.6rem;
  height: 1.6rem;
  accent-color: #0b49b9;
  flex-shrink: 0;
  cursor: pointer;
}
.auth__forgot {
  font-size: 1.35rem;
  color: #9ca3af;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.auth__forgot:hover {
  color: #0b49b9;
}
.auth__submit {
  margin-top: 0.4rem;
  width: 100%;
  padding: 1.3rem 2.4rem;
  background: linear-gradient(135deg, #0b49b9, #0a40a3);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 1.1rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0.4rem 1.6rem rgba(11, 73, 185, 0.28);
}
.auth__submit:hover {
  opacity: 0.91;
  transform: translateY(-1px);
  box-shadow: 0 0.6rem 2rem rgba(11, 73, 185, 0.34);
}
.auth__submit:active {
  transform: translateY(0);
  box-shadow: 0 0.2rem 0.8rem rgba(11, 73, 185, 0.18);
}
.auth__switch {
  margin-top: 2.4rem;
  text-align: center;
  font-size: 1.35rem;
  color: #6b7280;
}
.auth__switch a {
  color: #0b49b9;
  font-weight: 500;
  text-decoration: none;
}
.auth__switch a:hover {
  text-decoration: underline;
}
.auth__restricted {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem 0 0.4rem;
}
.auth__restricted-icon {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  background: rgba(11, 73, 185, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b49b9;
  margin-bottom: 2rem;
}
.auth__restricted-title {
  font-size: 2rem;
  font-weight: 700;
  color: #05050c;
  margin-bottom: 1rem;
}
.auth__restricted-text {
  font-size: 1.4rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 38rem;
  margin-bottom: 2.8rem;
}
.auth__restricted-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  text-align: left;
}
.auth__restricted-step {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: #f9fafb;
  border: 1px solid #f0f0f1;
  border-radius: 1.2rem;
  padding: 1.4rem 1.6rem;
}
.auth__restricted-step-num {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b49b9, #0a40a3);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.auth__restricted-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.35rem;
  line-height: 1.5;
}
.auth__restricted-step-body strong {
  color: #111827;
  font-weight: 600;
}
.auth__restricted-step-body span {
  color: #6b7280;
}
.auth__restricted-note {
  margin-top: 1.6rem;
  font-size: 1.25rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}
.auth__restricted-mailto {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.2rem;
  background: linear-gradient(135deg, #0b49b9, #0a40a3);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 1.1rem;
  box-shadow: 0 0.4rem 1.6rem rgba(11, 73, 185, 0.28);
  transition: opacity 0.2s, transform 0.15s;
}
.auth__restricted-mailto:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
@media only screen and (max-width: 768px) {
  .auth {
    padding: calc(3.2rem + 6.8rem) 1.6rem 4.8rem;
  }
  .auth__card {
    padding: 3.6rem 3.2rem;
  }
}
@media only screen and (max-width: 576px) {
  .auth {
    padding: calc(1.6rem + 6rem) 1.2rem 4rem;
    align-items: flex-start;
  }
  .auth__card {
    padding: 2.8rem 2rem;
    border-radius: 1.6rem;
  }
  .auth__title {
    font-size: 2.2rem;
  }
  .auth__row {
    flex-direction: column;
    align-items: flex-start;
  }
}