.pc-register-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(230, 244, 255, 0.96) 0%, rgba(248, 252, 255, 0.96) 54%, rgba(225, 239, 252, 0.96) 100%);
}

.pc-register-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 42px 32px 72px;
}

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

.pc-register-panel__media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 64px;
    background:
        linear-gradient(150deg, rgba(194, 226, 255, 0.96) 0%, rgba(232, 246, 255, 0.82) 52%, rgba(217, 237, 253, 0.96) 100%);
}

.pc-register-panel__media img {
    width: 278px;
    height: auto;
}

.pc-register-panel__media p {
    margin: 0;
    color: #2c75e8;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0;
}

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

.register-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.register-title h1 {
    margin: 0;
    color: #1f4ed8;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.register-title a {
    color: #168bfa;
    font-size: 13px;
}

.register-form {
    display: grid;
    gap: 14px;
}

.register-field {
    height: 44px;
    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;
}

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

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

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

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

.register-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;
}

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

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

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

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

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

.register-agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5f7082;
    font-size: 13px;
}

.register-agreement input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #168bfa;
}

.register-agreement__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #168bfa;
    font: inherit;
    cursor: pointer;
}

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

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

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

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

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

.register-login-link {
    width: fit-content;
    margin: 18px auto 0;
    color: #168bfa;
    font-size: 13px;
}

.agreement-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

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

.agreement-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.38);
    cursor: pointer;
}

.agreement-modal__dialog {
    position: relative;
    width: min(640px, calc(100vw - 48px));
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 14px 88px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
}

.agreement-modal__dialog p {
    margin: 0;
    color: #344054;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .pc-register-main {
        padding: 28px 16px 48px;
    }

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

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

    .pc-register-panel__media img {
        width: 220px;
    }

    .pc-register-panel__media p {
        font-size: 17px;
    }

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

    .agreement-modal__dialog {
        padding: 16px 20px;
    }
}
