#authScreen {
  min-height: 100vh;
  padding: 28px;

  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(37, 99, 235, 0.10),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 88%,
      rgba(20, 184, 166, 0.11),
      transparent 30%
    ),
    #f4f7fb;
}

.auth-shell {
  width: min(1180px, 100%);
  min-height: 700px;
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, 0.95fr);

  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 30px;

  box-shadow:
    0 28px 80px rgba(15, 35, 65, 0.14);
}


/* 왼쪽 브랜드 영역 */

.auth-visual {
  position: relative;
  min-height: 700px;
  padding: 58px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;
  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      #071b33 0%,
      #0b3158 55%,
      #0d5670 100%
    );
}

.auth-visual::before {
  content: '';

  position: absolute;
  top: -110px;
  right: -90px;

  width: 360px;
  height: 360px;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(96, 165, 250, 0.42),
      rgba(45, 212, 191, 0.12)
    );

  filter: blur(2px);
}

.auth-visual::after {
  content: '';

  position: absolute;
  left: -100px;
  bottom: -150px;

  width: 390px;
  height: 390px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.018);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.auth-brand-lockup {
  position: relative;
  margin-bottom: 36px;

  display: flex;
  align-items: center;
  gap: 13px;
}

.auth-brand-mark {
  width: 48px;
  height: 48px;

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

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.21),
      rgba(255, 255, 255, 0.08)
    );

  color: #ffffff;
  font-size: 21px;
  font-weight: 900;

  backdrop-filter: blur(10px);
}

.auth-brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.auth-brand-type {
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.auth-eyebrow {
  margin-bottom: 18px;

  color: #76d9d1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.auth-visual-title {
  max-width: 480px;
  margin: 0;

  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.auth-visual-description {
  max-width: 470px;
  margin: 22px 0 32px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.auth-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  min-height: 38px;
  padding: 0 14px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 750;

  backdrop-filter: blur(8px);
}

.auth-feature::before {
  content: '';

  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #55d8c9;

  box-shadow:
    0 0 0 4px rgba(85, 216, 201, 0.12);
}


/* 오른쪽 로그인 영역 */

.auth-panel {
  padding: 56px;

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

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 100%
    );
}

#authScreen .auth-card {
  width: 100%;
  max-width: 430px;
  padding: 0;

  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

#authScreen .brand {
  color: #0b2341;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.035em;
}

#authScreen .brand-small {
  margin-top: 6px;

  color: #16819a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

#authScreen .auth-title {
  margin: 38px 0 8px;

  color: #0b2341;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.auth-subtitle {
  margin: 0 0 30px;

  color: #758195;
  font-size: 14px;
  line-height: 1.65;
}

#authScreen .form-group {
  margin-bottom: 18px;
}

#authScreen .form-group label {
  margin-bottom: 8px;

  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

#authScreen .input {
  height: 54px;
  padding: 0 16px;

  border: 1px solid #dbe4ee;
  border-radius: 14px;

  background: #ffffff;

  color: #172033;
  font-size: 15px;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

#authScreen .input::placeholder {
  color: #a5afbd;
}

#authScreen .input:focus {
  border-color: #2785dd;
  background: #ffffff;

  box-shadow:
    0 0 0 4px rgba(39, 133, 221, 0.11);
}

#authScreen .primary-btn {
  height: 54px;
  margin-top: 6px;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #0d6bc8 0%,
      #1686a0 100%
    );

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

  box-shadow:
    0 12px 24px rgba(13, 107, 200, 0.20);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

#authScreen .primary-btn:hover {
  background:
    linear-gradient(
      135deg,
      #0b60b6 0%,
      #12768d 100%
    );

  transform: translateY(-1px);

  box-shadow:
    0 16px 28px rgba(13, 107, 200, 0.24);
}

#authScreen .auth-switch {
  margin-top: 22px;

  color: #7b8798;
  font-size: 13px;
}

#authScreen .link-btn {
  margin-left: 4px;

  color: #0d6bc8;
  font-weight: 900;
}

#authScreen .notice-box {
  margin: 22px 0;

  padding: 15px 16px;

  border: 1px solid #cfe0f3;
  border-radius: 14px;

  background: #f1f7fd;

  color: #47627e;
  font-size: 12px;
  line-height: 1.65;
}


/* 로그인 화면 반응형 */

@media(max-width: 900px) {

  #authScreen {
    padding: 18px;
  }

  .auth-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 280px;
    padding: 36px;
    align-items: flex-end;
  }

  .auth-brand-lockup {
    top: 0;
  }

  .auth-visual-title {
    max-width: 620px;
    font-size: 38px;
  }

  .auth-visual-description {
    margin-bottom: 20px;
  }

  .auth-panel {
    padding: 46px 34px;
  }
}


@media(max-width: 560px) {

  #authScreen {
    padding: 0;
  }

  .auth-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-visual {
    min-height: 225px;
    padding: 28px 24px;
  }

  .auth-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .auth-brand-name {
    font-size: 16px;
  }

  .auth-eyebrow,
  .auth-feature-list {
    display: none;
  }

  .auth-visual-title {
    font-size: 29px;
    line-height: 1.2;
  }

  .auth-visual-description {
    margin: 13px 0 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .auth-panel {
    padding: 38px 24px 44px;
    align-items: flex-start;
  }

  #authScreen .auth-title {
    margin-top: 30px;
    font-size: 28px;
  }
}


body:has(#unlock:not([hidden]))>header{display:none}
#authScreen[hidden]{display:none!important}
#authScreen{display:flex;align-items:center;justify-content:center;box-sizing:border-box}
#authScreen .auth-shell{margin:0 auto}
#authScreen .auth-panel{position:relative;min-width:0}
#authScreen #unlock{margin:0;padding:0;border:0;box-shadow:none;max-width:430px;width:100%;background:none}
#authScreen .brand{display:block}
#authScreen .auth-title{line-height:1.3}
#authScreen input{width:100%;min-width:0;height:54px;border-radius:14px;padding:0 16px}
#authScreen #loginSubmit{width:100%;height:54px;border:0;border-radius:14px;color:white;background:linear-gradient(135deg,#0d6bc8,#1686a0);font-weight:900;margin-top:6px}
#authScreen #adminFields label{display:block;margin:18px 0;color:#334155;font-weight:800}
#authScreen #adminFields input{display:block;margin-top:8px}
#authScreen .auth-visual-title{font-size:58px;letter-spacing:0}
#authScreen [class*="auth-"]{letter-spacing:0}
#authScreen .giu-language-picker{position:absolute;right:26px;top:20px}
#authScreen .parity-login-mode{font-size:12px;color:#758195;margin:18px 0}
@media(max-width:900px){#authScreen .auth-visual-title{font-size:38px}}
@media(max-width:560px){#authScreen .auth-visual-title{font-size:29px}#authScreen .auth-panel{padding-top:70px}}
