.login-page,
.login-page * {
    box-sizing: border-box;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #172033;
    background:
        linear-gradient(90deg, rgba(203, 213, 225, 0.18) 1px, transparent 1px),
        linear-gradient(180deg, rgba(203, 213, 225, 0.18) 1px, transparent 1px),
        linear-gradient(145deg, #f8fafc 0%, #eef3f7 48%, #f7f9fb 100%);
    background-size: 48px 48px, 48px 48px, auto;
}

.login-shell {
    width: min(1040px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1fr);
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 640px;
    padding: 42px;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9)),
        url("/static/style/2_1/login.jpg") center / cover no-repeat;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.68)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 96px);
    pointer-events: none;
}

.login-brand-top,
.login-brand-copy,
.login-status-grid {
    position: relative;
    z-index: 1;
}

.login-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-logo-box {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.26);
}

.login-logo-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.login-site-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.login-brand-copy {
    max-width: 360px;
}

.login-kicker {
    display: block;
    margin-bottom: 18px;
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.login-brand-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.login-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.login-status-grid div {
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.38);
}

.login-status-grid strong,
.login-status-grid span {
    display: block;
}

.login-status-grid strong {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.login-status-grid span {
    color: rgba(226, 232, 240, 0.82);
    font-size: 12px;
    font-weight: 700;
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.login-content {
    width: min(100%, 390px);
}

.login-heading {
    margin-bottom: 34px;
}

.login-eyebrow {
    margin: 0 0 10px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.login-title {
    margin: 0 0 10px;
    color: #172033;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.login-desc {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.field-label {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.field-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.field-input-wrap:focus-within {
    border-color: #0f766e;
    background: #fbfefd;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.field-input-wrap input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #172033;
    font-size: 15px;
    font-weight: 600;
}

.field-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.field-input-password {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.toggle-password:hover {
    background: #f1f5f9;
    color: #172033;
}

.eye-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eye-hide,
.toggle-password.is-visible .eye-show {
    display: none;
}

.toggle-password.is-visible .eye-hide {
    display: block;
}

.login-submit {
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.22);
    transition: background-color 0.16s ease, transform 0.06s ease, box-shadow 0.16s ease;
}

.login-submit:hover {
    background: #115e59;
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.26);
}

.login-submit:active {
    transform: translateY(1px);
}

@media (max-width: 920px) {
    .login-page {
        padding: 22px;
        align-items: stretch;
    }

    .login-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 250px;
        padding: 28px;
    }

    .login-brand-copy {
        margin: 42px 0;
    }

    .login-brand-copy h1 {
        font-size: 30px;
    }

    .login-status-grid {
        display: none;
    }

    .login-panel {
        padding: 34px 24px 38px;
    }
}

@media (max-width: 520px) {
    .login-page {
        padding: 0;
        background: #ffffff;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-brand-panel {
        min-height: 210px;
        border-radius: 0;
    }

    .login-panel {
        align-items: flex-start;
        padding: 30px 20px 36px;
    }

    .login-title {
        font-size: 26px;
    }
}
