﻿/* jslee 20260709-4 로그인 페이지 전용 CSS 분리 */
:root {
      --brand-900: #003d36;
      --brand-800: #005146;
      --brand-700: #006b5d;
      --brand-600: #008574;
      --brand-100: #dff3ef;
      --brand-050: #f4fbf9;
      --ink: #0a3732;
      --muted: #697a84;
      --line: #d8e3e8;
      --panel: rgba(255, 255, 255, 0.92);
      --shadow: 0 26px 60px rgba(22, 54, 49, 0.18);
      font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      min-width: 0;
      min-height: 100%;
      margin: 0;
      overflow-x: hidden;
    }

    body {
      color: var(--ink);
      background: #f7fbfa;
      letter-spacing: 0;
    }

    button,
    input {
      font: inherit;
    }

    .login-page {
      position: relative;
      display: grid;
      grid-template-columns: minmax(420px, 0.82fr) minmax(520px, 1fr);
      min-height: 100vh;
      isolation: isolate;
      overflow: hidden;
      background:
        linear-gradient(115deg, #fbfefd 0%, #f5fbf9 48%, #edf8f5 100%);
    }

    .login-page::before,
    .login-page::after {
      display: none;
      content: "";
      position: absolute;
      z-index: -1;
      width: 920px;
      height: 340px;
      border-radius: 50%;
      border: 1px solid rgba(0, 128, 109, 0.11);
      transform: rotate(-8deg);
      pointer-events: none;
    }

    .login-page::before {
      top: -170px;
      right: -120px;
      box-shadow:
        0 10px 0 rgba(0, 128, 109, 0.035),
        0 20px 0 rgba(0, 128, 109, 0.03),
        0 30px 0 rgba(0, 128, 109, 0.025),
        0 40px 0 rgba(0, 128, 109, 0.02);
    }

    .login-page::after {
      right: -180px;
      bottom: -130px;
      box-shadow:
        0 -10px 0 rgba(0, 128, 109, 0.035),
        0 -20px 0 rgba(0, 128, 109, 0.03),
        0 -30px 0 rgba(0, 128, 109, 0.025),
        0 -40px 0 rgba(0, 128, 109, 0.02);
    }

    .brand-panel {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-width: 0;
      min-height: 100vh;
      padding: 48px 40px 62px;
      overflow: hidden;
      color: #fff;
      background:
        radial-gradient(circle at 23% 30%, rgba(255, 255, 255, 0.055) 0 10.5%, transparent 10.8%),
        radial-gradient(circle at 96% 84%, rgba(255, 255, 255, 0.07) 0 9%, transparent 9.3%),
        linear-gradient(145deg, var(--brand-900) 0%, #004a40 48%, var(--brand-700) 100%);
    }

    .brand-panel::before,
    .brand-panel::after {
      display: none;
      content: "";
      position: absolute;
      inset: auto;
      pointer-events: none;
    }

    .brand-panel::before {
      top: 132px;
      left: -140px;
      width: 700px;
      height: 180px;
      border-radius: 50%;
      border: 1px solid rgba(114, 214, 197, 0.19);
      transform: rotate(9deg);
      box-shadow:
        0 7px 0 rgba(114, 214, 197, 0.055),
        0 14px 0 rgba(114, 214, 197, 0.05),
        0 21px 0 rgba(114, 214, 197, 0.045),
        0 28px 0 rgba(114, 214, 197, 0.04),
        0 35px 0 rgba(114, 214, 197, 0.035);
    }

    .decor {
      position: absolute;
      z-index: 0;
      pointer-events: none;
    }

    .brand-wave {
      left: -54px;
      top: 92px;
      width: 760px;
      height: 210px;
      color: rgba(42, 187, 165, 0.24);
      opacity: 0.62;
    }

    .brand-circle-top {
      left: 60px;
      top: 235px;
      width: 166px;
      height: 166px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
    }

    .brand-circle-bottom {
      right: -40px;
      bottom: 86px;
      width: 185px;
      height: 185px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.055);
    }

    .brand-dots {
      left: 39px;
      bottom: 184px;
      width: 116px;
      height: 94px;
      background-image: radial-gradient(circle, rgba(26, 168, 149, 0.7) 0 3px, transparent 3.4px);
      background-size: 24px 24px;
      opacity: 0.72;
    }

    .page-wave {
      color: rgba(0, 128, 109, 0.12);
      opacity: 0.75;
    }

    .page-wave-top {
      top: -72px;
      right: 130px;
      width: 790px;
      height: 190px;
    }

    .page-wave-bottom {
      right: -80px;
      bottom: 80px;
      width: 980px;
      height: 230px;
      opacity: 0.56;
    }

    .page-circle-left {
      left: 8px;
      top: 240px;
      width: 114px;
      height: 114px;
      border-radius: 50%;
      background: rgba(0, 128, 109, 0.07);
    }

    .page-circle-right {
      right: -82px;
      top: 300px;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: rgba(0, 128, 109, 0.07);
    }

    .page-dots {
      top: 48px;
      right: 56px;
      width: 124px;
      height: 72px;
      background-image: radial-gradient(circle, rgba(0, 128, 109, 0.16) 0 3px, transparent 3.5px);
      background-size: 24px 24px;
    }

    .wordmark {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 16px;
      font-size: 18px;
      font-weight: 900;
      color: #fff;
      text-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    }

    .wordmark-mark {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border-radius: 8px;
      color: var(--brand-600);
      background: #fff;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
      font-weight: 900;
    }

    .brand-copy {
      position: relative;
      z-index: 2;
      max-width: 560px;
      padding-left: 34px;
    }

    .brand-copy h1 {
      margin: 0 0 24px;
      color: #fff;
      font-size: clamp(44px, 5vw, 68px);
      line-height: 1.1;
      font-weight: 900;
      text-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
    }

    .brand-copy p {
      max-width: 420px;
      margin: 0;
      color: rgba(255, 255, 255, 0.92);
      font-size: 20px;
      line-height: 1.65;
      font-weight: 700;
    }

    .brand-foot {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 22px;
      padding-left: 24px;
      color: #fff;
      font-size: 17px;
      line-height: 1.55;
      font-weight: 800;
    }

    .shield {
      display: grid;
      place-items: center;
      width: 72px;
      height: 72px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
    }

    .form-panel {
      position: relative;
      display: grid;
      place-items: center;
      min-width: 0;
      min-height: 100vh;
      padding: 42px;
    }

    .form-panel::before {
      display: none;
      content: "";
      position: absolute;
      top: 52px;
      right: 76px;
      width: 120px;
      height: 72px;
      background-image: radial-gradient(circle, rgba(0, 128, 109, 0.16) 0 3px, transparent 3.5px);
      background-size: 24px 24px;
      pointer-events: none;
    }

    .login-card {
      position: relative;
      z-index: 2;
      width: min(440px, 100%);
      padding: 36px 40px 40px;
      border: 1px solid rgba(211, 225, 230, 0.8);
      border-radius: 14px;
      background: var(--panel);
      box-shadow: var(--shadow);
      backdrop-filter: blur(12px);
    }

    .avatar-icon {
      display: grid;
      place-items: center;
      width: 76px;
      height: 76px;
      margin: 0 auto 22px;
      border-radius: 50%;
      color: var(--brand-600);
      background: var(--brand-100);
    }

    .login-card h2 {
      margin: 0 0 12px;
      color: var(--ink);
      text-align: center;
      font-size: 34px;
      line-height: 1;
      font-weight: 900;
    }

    .login-card .sub {
      margin: 0 0 38px;
      color: #64727b;
      text-align: center;
      font-size: 15px;
      font-weight: 700;
    }

    .field {
      margin-bottom: 22px;
    }

    .field label {
      display: block;
      margin-bottom: 10px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 900;
    }

    .input-wrap {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr) 22px;
      align-items: center;
      gap: 12px;
      height: 58px;
      padding: 0 18px;
      border: 1px solid #cfdbe2;
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.78);
      color: #83919b;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .input-wrap:focus-within {
      border-color: rgba(0, 128, 109, 0.6);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(0, 128, 109, 0.11);
    }

    .input-wrap input {
      min-width: 0;
      width: 100%;
      height: 100%;
      border: 0;
      outline: 0;
      color: #203a36;
      background: transparent;
      font-size: 16px;
      font-weight: 700;
    }

    .input-wrap input::placeholder {
      color: #9aa7b0;
      font-weight: 700;
    }

    .input-spacer {
      width: 22px;
      height: 22px;
    }

    .icon-button {
      display: grid;
      place-items: center;
      width: 28px;
      height: 28px;
      margin: 0 -3px 0 0;
      border: 0;
      padding: 0;
      color: #7b8790;
      background: transparent;
      cursor: pointer;
    }

    .login-options {
      margin: 2px 0 30px;
    }

    .check {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: #314d49;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      user-select: none;
    }

    .check input {
      appearance: none;
      -webkit-appearance: none;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      width: 18px;
      height: 18px;
      margin: 0;
      border: 1.5px solid #9aabb4;
      border-radius: 4px;
      background: #fff;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
      cursor: pointer;
    }

    .check input::after {
      content: "";
      width: 9px;
      height: 5px;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg) scale(0);
      transform-origin: center;
      transition: transform 0.12s ease;
    }

    .check input:checked {
      border-color: var(--brand-600);
      background: var(--brand-600);
    }

    .check input:checked::after {
      transform: rotate(-45deg) scale(1);
    }

    .check input:focus-visible {
      outline: 3px solid rgba(0, 133, 116, 0.18);
      outline-offset: 2px;
    }

    .login-submit {
      width: 100%;
      height: 56px;
      border: 0;
      border-radius: 7px;
      color: #fff;
      background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 30px rgba(0, 104, 88, 0.22);
      font-size: 18px;
      font-weight: 900;
      cursor: pointer;
    }

    .security-note {
      margin: 28px 0 0;
      padding-top: 24px;
      border-top: 1px solid #e2e9ed;
      color: #697781;
      font-size: 13px;
      line-height: 1.75;
      font-weight: 700;
    }

    @media (max-width: 1180px) {
      .login-page {
        grid-template-columns: minmax(360px, 0.8fr) minmax(460px, 1fr);
      }

      .brand-panel {
        padding: 42px 32px 52px;
      }

      .brand-copy {
        padding-left: 16px;
      }

      .brand-copy h1 {
        font-size: 52px;
      }

      .form-panel {
        padding: 34px;
      }
    }

    @media (max-width: 900px) {
      .login-page {
        grid-template-columns: 1fr;
        min-height: 100vh;
      }

      .brand-panel {
        min-height: auto;
        padding: 28px 24px 34px;
        gap: 58px;
      }

      .brand-copy {
        padding-left: 0;
      }

      .brand-copy h1 {
        max-width: 620px;
        font-size: 42px;
      }

      .brand-copy p {
        max-width: 560px;
        font-size: 17px;
      }

      .brand-foot {
        padding-left: 0;
      }

      .form-panel {
        min-height: auto;
        padding: 34px 24px 42px;
      }

      .form-panel::before {
        top: 22px;
        right: 24px;
      }
    }

    @media (max-width: 560px) {
      .brand-panel {
        padding: 24px 18px 28px;
        gap: 42px;
      }

      .wordmark {
        gap: 12px;
        font-size: 16px;
      }

      .wordmark-mark {
        width: 42px;
        height: 42px;
      }

      .brand-copy h1 {
        margin-bottom: 18px;
        font-size: 34px;
        line-height: 1.14;
      }

      .brand-copy p {
        font-size: 15px;
        line-height: 1.6;
      }

      .brand-foot {
        gap: 14px;
        font-size: 14px;
      }

      .shield {
        width: 56px;
        height: 56px;
      }

      .form-panel {
        padding: 26px 16px 30px;
      }

      .login-card {
        padding: 30px 22px 32px;
      }

      .avatar-icon {
        width: 66px;
        height: 66px;
        margin-bottom: 18px;
      }

      .login-card h2 {
        font-size: 30px;
      }

      .login-card .sub {
        margin-bottom: 30px;
      }

      .input-wrap {
        height: 54px;
        padding: 0 14px;
      }

      .security-note {
        font-size: 12px;
      }
    }

    @media (max-width: 380px) {
      .brand-copy h1 {
        font-size: 30px;
      }

      .login-card {
        padding: 26px 18px 28px;
      }

      .input-wrap {
        grid-template-columns: 20px minmax(0, 1fr) 20px;
        gap: 10px;
      }
    }

    @media (min-width: 901px) and (max-height: 760px) {
      .brand-panel {
        padding-top: 32px;
        padding-bottom: 38px;
      }

      .brand-copy h1 {
        font-size: 48px;
      }

      .login-card {
        padding-top: 30px;
        padding-bottom: 32px;
      }

      .avatar-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
      }

      .login-card .sub {
        margin-bottom: 26px;
      }
    }

