/**
 * 门户认证页样式（对齐参考 UI 登录页）
 * 手机端：无卡片背景板，表单直接铺在页面底色上
 * 桌面端：左右分栏卡片 + 动效
 */

:root {
    --pa-bg: #f8fafc;
    --pa-fg: #0f172a;
    --pa-muted: #64748b;
    --pa-border: rgba(148, 163, 184, 0.35);
    --pa-input-bg: #fff;
    --pa-primary: #0f172a;
    --pa-primary-fg: #fff;
    --pa-card: rgba(255, 255, 255, 0.72);
    --pa-shell-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

html.port-auth-dark {
    --pa-bg: #0b0b0c;
    --pa-fg: #f8fafc;
    --pa-muted: rgba(248, 250, 252, 0.55);
    --pa-border: rgba(255, 255, 255, 0.1);
    --pa-input-bg: rgba(255, 255, 255, 0.05);
    --pa-primary: #f8fafc;
    --pa-primary-fg: #0f172a;
    --pa-card: #0b0b0c;
    --pa-shell-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.port-auth-body {
    margin: 0;
    min-height: 100svh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(165deg, #e0f2fe 0%, #f0f9ff 35%, #f8fafc 70%, #f1f5f9 100%);
    color: var(--pa-fg);
}

html.port-auth-dark .port-auth-body {
    background: linear-gradient(165deg, #0f172a 0%, #0b0b0c 50%, #111827 100%);
}

.port-auth {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden;
}

.port-auth__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--pa-bg);
    pointer-events: none;
}

.port-auth__bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(96, 165, 250, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(167, 139, 250, 0.16), transparent 50%);
}

html.port-auth-dark .port-auth__bg-glow {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), transparent 60%);
}

.port-auth__container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    padding:
        max(1.25rem, env(safe-area-inset-top))
        max(1rem, env(safe-area-inset-right))
        max(1.25rem, env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
}

.port-auth__frame {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    min-height: calc(100svh - max(1.25rem, env(safe-area-inset-top)) - max(1.25rem, env(safe-area-inset-bottom)));
    min-height: calc(100dvh - max(1.25rem, env(safe-area-inset-top)) - max(1.25rem, env(safe-area-inset-bottom)));
}

.port-auth__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    width: 100%;
}

.port-auth__shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    flex: 0 0 auto;
}

@media (min-width: 1024px) {
    .port-auth__frame {
        max-width: 72rem;
    }

    .port-auth__shell {
        margin: 0;
        display: grid;
        min-height: 0;
        max-height: min(44rem, calc(100dvh - 3rem));
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        overflow: hidden;
        border: 1px solid rgba(186, 230, 253, 0.65);
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    }

    html.port-auth-dark .port-auth__shell {
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(15, 23, 42, 0.72);
    }
}

.port-auth__hero {
    display: none;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

html.port-auth-dark .port-auth__hero {
    background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 1024px) {
    .port-auth__hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem 2.75rem;
    }
}

.port-auth__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.18), transparent 42%),
        radial-gradient(circle at 90% 85%, rgba(99, 102, 241, 0.16), transparent 40%);
    pointer-events: none;
}

html.port-auth-dark .port-auth__hero::before {
    background:
        radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.14), transparent 42%),
        radial-gradient(circle at 90% 85%, rgba(129, 140, 248, 0.14), transparent 40%);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__hero::before {
        animation: pa-glow-pulse 5s ease-in-out infinite;
    }
}

.port-auth__hero-inner {
    position: relative;
    max-width: 28rem;
    transform: translateY(0);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__hero-inner {
        animation: pa-fade-up 0.7s ease-out both;
    }
}

.port-auth__hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0369a1;
}

html.port-auth-dark .port-auth__hero-eyebrow {
    color: #7dd3fc;
}

.port-auth__hero-title {
    margin: 0.75rem 0 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.15;
    font-weight: 600;
}

.port-auth__hero-title span {
    color: #64748b;
}

html.port-auth-dark .port-auth__hero-title span {
    color: rgba(248, 250, 252, 0.75);
}

.port-auth__hero-desc {
    margin: 1rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--pa-muted);
}

.port-auth__hero-art {
    margin-top: 2rem;
}

.port-auth__dash-card {
    border: 1px solid var(--pa-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem 1rem 0.75rem;
    backdrop-filter: blur(8px);
}

html.port-auth-dark .port-auth__dash-card {
    background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__dash-card {
        animation: pa-float 3.2s ease-in-out infinite;
    }
}

.port-auth__dash-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pa-muted);
}

.port-auth__dash-dots {
    display: flex;
    gap: 0.25rem;
}

.port-auth__dash-dots i {
    display: block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.45);
}

.port-auth__dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.port-auth__dash-stat {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.5);
}

html.port-auth-dark .port-auth__dash-stat {
    background: rgba(255, 255, 255, 0.04);
}

.port-auth__dash-stat strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--pa-fg);
}

.port-auth__dash-stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    color: var(--pa-muted);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__dash-stat:nth-child(1) {
        animation: pa-cell-pulse 2.4s ease-in-out infinite;
    }

    .port-auth__dash-stat:nth-child(2) {
        animation: pa-cell-pulse 2.4s ease-in-out 0.3s infinite;
    }

    .port-auth__dash-stat:nth-child(3) {
        animation: pa-cell-pulse 2.4s ease-in-out 0.6s infinite;
    }

    .port-auth__dash-stat:nth-child(4) {
        animation: pa-cell-pulse 2.4s ease-in-out 0.9s infinite;
    }
}

.port-auth__dash-chart {
    margin-top: 0.75rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent);
    overflow: hidden;
}

.port-auth__dash-chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.port-auth__dash-chart-line {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__dash-chart-line {
        stroke-dasharray: 280;
        stroke-dashoffset: 280;
        animation: pa-chart-draw 2.8s ease-in-out infinite;
    }
}

.port-auth__dash-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.port-auth__dash-bars span {
    display: block;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
}

.port-auth__dash-bars span:nth-child(1) { width: 88%; }
.port-auth__dash-bars span:nth-child(2) { width: 72%; }
.port-auth__dash-bars span:nth-child(3) { width: 56%; }
.port-auth__dash-bars span:nth-child(4) { width: 64%; }

.port-auth__steps-card {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
}

html.port-auth-dark .port-auth__steps-card {
    background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__steps-card {
        animation: pa-float 3.2s ease-in-out infinite;
    }
}

.port-auth__step {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
    font-size: 0.6875rem;
    color: var(--pa-muted);
}

.port-auth__step span {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
}

.port-auth__step.is-active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--pa-fg);
}

.port-auth__step.is-active span {
    background: #3b82f6;
    color: #fff;
}

.port-auth__step em {
    display: block;
    font-style: normal;
    line-height: 1.3;
}

.port-auth__recover-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
    padding: 1.25rem 2.5rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
}

html.port-auth-dark .port-auth__recover-card {
    background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__recover-card {
        animation: pa-float 3.2s ease-in-out infinite;
    }
}

.port-auth__recover-line {
    position: absolute;
    top: 28%;
    bottom: 32%;
    width: 1px;
    border-left: 2px dashed rgba(148, 163, 184, 0.45);
}

.port-auth__recover-line--l {
    left: 1.25rem;
}

.port-auth__recover-line--r {
    right: 1.25rem;
}

.port-auth__recover-line::before,
.port-auth__recover-line::after {
    content: "";
    position: absolute;
    left: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.8);
}

.port-auth__recover-line::before {
    top: 0;
}

.port-auth__recover-line::after {
    bottom: 0;
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.port-auth__recover-line--r::after {
    border-color: #8b5cf6;
    background: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .port-auth__recover-line::before {
        animation: pa-dot-pulse 2s ease-in-out infinite;
    }

    .port-auth__recover-line::after {
        animation: pa-dot-pulse 2s ease-in-out 0.5s infinite;
    }
}

.port-auth__recover-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    color: #3b82f6;
}

html.port-auth-dark .port-auth__recover-lock {
    background: rgba(255, 255, 255, 0.08);
    color: #7dd3fc;
}

.port-auth__recover-lock svg {
    width: 1.75rem;
    height: 1.75rem;
}

.port-auth__recover-tip {
    position: absolute;
    bottom: 0.875rem;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--pa-muted);
}

.port-auth__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

@media (min-width: 1024px) {
    .port-auth__panel {
        overflow-y: auto;
    }
}

.port-auth__panel-tools {
    z-index: 20;
}

/* 手机端：昼夜按钮固定于屏幕右上角（非卡片内） */
@media (max-width: 1023px) {
    .port-auth__panel-tools {
        position: fixed;
        top: max(0.75rem, env(safe-area-inset-top));
        right: max(0.75rem, env(safe-area-inset-right));
        left: auto;
    }

    .port-auth__theme-btn {
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    }

    html.port-auth-dark .port-auth__theme-btn {
        background: rgba(15, 23, 42, 0.88);
    }
}

/* 电脑端：昼夜按钮在登录卡片内部右上角 */
@media (min-width: 1024px) {
    .port-auth__panel-tools {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
}

.port-auth__theme-btn {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--pa-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.port-auth__theme-btn:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--pa-fg);
}

.port-auth__theme-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.port-auth__theme-icon--moon {
    display: none;
}

html.port-auth-dark .port-auth__theme-icon--sun {
    display: none;
}

html.port-auth-dark .port-auth__theme-icon--moon {
    display: block;
}

.port-auth__form-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    padding: 2.5rem 0.25rem 2rem;
}

@media (min-width: 640px) {
    .port-auth__form-wrap {
        padding: 2.75rem 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .port-auth__form-wrap {
        max-width: none;
        margin: 0;
        padding: 3rem 2.75rem;
        animation: pa-fade-up 0.65s ease-out 0.08s both;
    }
}

.port-auth__heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .port-auth__heading {
        margin-bottom: 2rem;
    }
}

.port-auth__heading h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .port-auth__heading h1 {
        font-size: 1.75rem;
    }
}

.port-auth__heading p {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--pa-muted);
}

.port-auth__message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.port-auth__message--error {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

html.port-auth-dark .port-auth__message--error {
    color: #fca5a5;
}

.port-auth__message--success {
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    color: #15803d;
}

.port-auth__form {
    display: grid;
    gap: 1rem;
}

.port-auth__input-wrap {
    position: relative;
}

.port-auth__input,
.port-auth__field input[type="text"],
.port-auth__field input[type="email"],
.port-auth__field input[type="password"] {
    width: 100%;
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.5rem;
    background: var(--pa-input-bg);
    color: var(--pa-fg);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.port-auth__input-wrap .port-auth__input {
    padding-right: 2.75rem;
}

.port-auth__input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.port-auth__pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--pa-muted);
    cursor: pointer;
}

.port-auth__pw-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.port-auth__pw-icon--hide {
    display: none;
}

.port-auth__pw-toggle.is-visible .port-auth__pw-icon--show {
    display: none;
}

.port-auth__pw-toggle.is-visible .port-auth__pw-icon--hide {
    display: block;
}

.port-auth__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.port-auth__row a,
.port-auth__link {
    color: var(--pa-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.port-auth__row a:hover,
.port-auth__link:hover {
    color: var(--pa-fg);
}

.port-auth__submit {
    display: inline-flex;
    width: 100%;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--pa-primary);
    color: var(--pa-primary-fg);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.port-auth__submit:hover:not(:disabled) {
    opacity: 0.92;
}

.port-auth__submit:active:not(:disabled) {
    transform: scale(0.98);
}

.port-auth__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.port-auth__divider {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--pa-muted);
}

.port-auth__code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.port-auth__code-btn {
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.5rem;
    background: var(--pa-input-bg);
    color: var(--pa-fg);
    font-size: 0.8125rem;
    white-space: nowrap;
    cursor: pointer;
}

.port-auth__code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.port-auth__legal {
    flex-shrink: 0;
    margin-top: 0;
    padding:
        1rem 0.25rem
        max(0.25rem, env(safe-area-inset-bottom));
    border-top: none;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--pa-muted);
}

@media (min-width: 1024px) {
    .port-auth__legal {
        padding-top: 1.25rem;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
}

.port-auth__legal a {
    color: inherit;
    text-decoration: none;
}

.port-auth__legal a:hover {
    color: var(--pa-fg);
}

.port-auth__gongan {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.port-auth__gongan img {
    display: block;
}

@keyframes pa-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pa-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pa-glow-pulse {
    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}

@keyframes pa-cell-pulse {
    0%,
    100% {
        background: rgba(148, 163, 184, 0.12);
    }

    50% {
        background: rgba(59, 130, 246, 0.14);
    }
}

@keyframes pa-chart-draw {
    0% {
        stroke-dashoffset: 280;
        opacity: 0.6;
    }

    45% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.85;
    }
}

@keyframes pa-dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .port-auth__hero::before,
    .port-auth__hero-inner,
    .port-auth__dash-card,
    .port-auth__steps-card,
    .port-auth__recover-card,
    .port-auth__dash-stat,
    .port-auth__dash-chart-line,
    .port-auth__recover-line::before,
    .port-auth__recover-line::after,
    .port-auth__form-wrap {
        animation: none !important;
    }
}

.port-auth__mode {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.port-auth__mode-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--pa-border);
    border-radius: 0.5rem;
    background: var(--pa-input-bg);
    color: var(--pa-muted);
    font-size: 0.8125rem;
    cursor: pointer;
}

.port-auth__mode-btn.is-active {
    border-color: #3b82f6;
    color: #2563eb;
    background: rgba(59, 130, 246, 0.08);
}

.port-auth__captcha {
    margin-top: 0.25rem;
}

.port-auth__captcha-local {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.port-auth__captcha-input {
    flex: 1;
}

.port-auth__captcha-imgbtn {
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--pa-border);
    border-radius: 0.5rem;
    background: var(--pa-input-bg);
    cursor: pointer;
    line-height: 0;
}

.port-auth__captcha-imgbtn img {
    display: block;
    cursor: pointer;
}

.port-auth__captcha-box {
    min-height: 2.75rem;
    width: 100%;
}

.port-auth__captcha-box .geetest_holder,
.port-auth__captcha-box .geetest_wind {
    width: 100% !important;
    max-width: 100%;
}

.port-auth__captcha-box .geetest_btn,
.port-auth__captcha-box .geetest_radar_btn,
.port-auth__captcha-box .geetest_commit_btn {
    width: 100% !important;
    max-width: 100%;
}
