.pc-login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(233, 246, 255, 0.96) 0%, rgba(248, 252, 255, 0.96) 52%, rgba(228, 240, 252, 0.96) 100%);
}

.pc-login-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(calc(100% - 64px), 1200px);
    margin: 0 auto;
}

.pc-login-back {
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid rgba(47, 111, 174, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.76);
    color: #2f6fae;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.pc-login-back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-login-main {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 48px 32px 80px;
}

.pc-login-panel {
    width: min(100%, 920px);
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    overflow: hidden;
    border: 1px solid rgba(200, 219, 238, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(38, 75, 116, 0.12);
}

.pc-login-panel__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 56px;
    background:
        linear-gradient(150deg, rgba(232, 246, 255, 0.92) 0%, rgba(239, 248, 255, 0.72) 52%, rgba(220, 237, 252, 0.9) 100%);
}

.pc-login-panel__media img {
    width: 260px;
    height: auto;
}

.pc-login-panel__media strong {
    color: #203348;
    font-size: 28px;
    font-weight: 700;
}

.pc-login-panel__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px;
}

.login-title {
    margin-bottom: 28px;
}

.login-title h1 {
    margin: 0;
    color: #203348;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-field {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #d9e7f3;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.login-field:focus-within {
    border-color: #168bfa;
    box-shadow: 0 0 0 3px rgba(22, 139, 250, 0.12);
}

.login-field__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: #8a99a8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-field input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #203348;
    font: inherit;
    font-size: 14px;
}

.login-field input::placeholder {
    color: #8a99a8;
}

.login-password-toggle {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8a99a8;
    cursor: pointer;
}

.login-password-toggle:hover {
    background: #f1f7ff;
    color: #2f6fae;
}

.login-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 12px;
}

.login-captcha {
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d9e7f3;
    border-radius: 6px;
    background: #fff;
    color: #168bfa;
    font-size: 13px;
    cursor: pointer;
}

.login-captcha img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-status {
    min-height: 18px;
    margin-top: -4px;
    color: #d92d20;
    font-size: 13px;
}

.login-status[data-type="success"] {
    color: #12805c;
}

.login-submit {
    height: 46px;
    border: 0;
    border-radius: 6px;
    background: #168bfa;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(22, 139, 250, 0.22);
}

.login-submit:hover {
    background: #0f7ae5;
}

.login-submit:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.login-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #8a99a8;
    font-size: 13px;
}

.login-links a {
    color: #168bfa;
}

.login-forgot-modal[hidden] {
    display: none;
}

.login-forgot-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

.login-forgot-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 31, 49, 0.58);
    backdrop-filter: blur(4px);
}

.login-forgot-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 460px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 31, 49, 0.26);
    text-align: center;
}

.login-forgot-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    margin-bottom: 8px;
    text-align: left;
}

.login-forgot-modal__head strong {
    color: #203348;
    font-size: 19px;
    font-weight: 800;
}

.login-forgot-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef5fb;
    color: #476b90;
    cursor: pointer;
}

.login-forgot-modal__close:hover {
    background: #e2eef8;
}

.login-forgot-modal__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.login-forgot-modal__message {
    margin: 0 0 12px;
    color: #476b90;
    font-size: 14px;
    line-height: 1.6;
}

.login-forgot-modal__image {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

body.is-login-modal-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .pc-login-header {
        width: min(calc(100% - 32px), 1200px);
    }

    .pc-login-main {
        padding: 28px 16px 48px;
    }

    .pc-login-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pc-login-panel__media {
        padding: 32px 28px;
    }

    .pc-login-panel__media img {
        width: 210px;
    }

    .pc-login-panel__media strong {
        font-size: 22px;
    }

    .pc-login-panel__form {
        padding: 32px 28px;
    }

    .login-forgot-modal {
        padding: 12px;
    }

    .login-forgot-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 16px;
    }
}
