/* =====================================================
   Proxy Checker – v5 – professional, feature-rich
   ===================================================== */

/* ── Hero ──────────────────────────────────────────── */
.pc-hero {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    padding: 128px 0 112px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.dark .pc-hero {
    background: linear-gradient(135deg, #1e293b 0%, #1a2340 50%, #1e293b 100%);
}

.pc-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(99 102 241 / .12) 0%, transparent 70%);
    top: -120px;
    right: -100px;
    pointer-events: none;
}

.pc-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(99 102 241 / .08) 0%, transparent 70%);
    bottom: -80px;
    left: 80px;
    pointer-events: none;
}

.pc-hero-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.pc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(99 102 241 / .1);
    border: 1px solid rgb(99 102 241 / .2);
    color: #6366f1;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.dark .pc-hero-badge {
    background: rgb(99 102 241 / .15);
    border-color: rgb(99 102 241 / .3);
}

.pc-hero-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.dark .pc-hero-desc { color: #94a3b8; }

@keyframes pc-fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pc-fade-up   { animation: pc-fadeUp 0.5s ease both; }
.pc-fade-up-1 { animation-delay: 0.05s; }

/* ── Section wrapper ───────────────────────────────── */
.pc-section {
    padding: 1pc 0 60px;
}

.dark .pc-section { background: #0f172a; }

.pc-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Card container ────────────────────────────────── */
.pc-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    background: #fff;
}

.dark .pc-card {
    border-color: #1e293b;
    background: #111827;
    box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

/* ── Main grid ─────────────────────────────────────── */
.pc-grid {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 0;
    min-height: 580px;
}

/* ── Sidebar ───────────────────────────────────────── */
.pc-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dark .pc-sidebar {
    background: #0f172a;
    border-right-color: #1e293b;
}

/* ── Section title ─────────────────────────────────── */
.pc-section-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* ── Label ─────────────────────────────────────────── */
.pc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.pc-label-hint {
    font-weight: 400;
    color: #94a3b8;
    font-size: 12px;
}

.dark .pc-label { color: #e2e8f0; }

/* ── Line counter ──────────────────────────────────── */
.pc-line-counter {
    font-size: 11px;
    font-weight: 600;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

.pc-line-over {
    color: #dc2626 !important;
    background: #fee2e2 !important;
}

.dark .pc-line-counter {
    background: #1e293b;
    color: #94a3b8;
}

/* ── Textarea ──────────────────────────────────────── */
.pc-textarea {
    width: 100%;
    height: 180px;
    resize: vertical;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    color: #334155;
    background: #fff;
    outline: none;
    line-height: 1.65;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.pc-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.dark .pc-textarea {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.dark .pc-textarea:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129,140,248,0.15);
}

/* ── Limit warning ─────────────────────────────────── */
.pc-limit-warning {
    display: none;
    align-items: center;
    gap: 7px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 7px;
    padding: 8px 11px;
    font-size: 12px;
    color: #b91c1c;
    font-weight: 500;
    margin-top: 6px;
}

.pc-limit-warning svg { flex-shrink: 0; color: #dc2626; }

.dark .pc-limit-warning {
    background: rgba(220,38,38,.1);
    border-color: rgba(220,38,38,.25);
    color: #f87171;
}

/* ── Sample buttons ────────────────────────────────── */
.pc-samples {
    display: flex;
    gap: 6px;
    margin: 8px 0 4px;
}

.pc-sample-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    text-align: center;
}

.pc-sample-btn:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.dark .pc-sample-btn {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.25);
    color: #818cf8;
}

.dark .pc-sample-btn:hover {
    background: rgba(99,102,241,0.2);
    border-color: rgba(129,140,248,0.4);
}

/* ── Start button ──────────────────────────────────── */
.pc-btn-start {
    width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, box-shadow .15s, transform .1s;
    box-shadow: 0 3px 10px rgba(79,70,229,0.4);
    letter-spacing: .01em;
}

.pc-btn-start:hover:not(:disabled) {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 5px 16px rgba(79,70,229,0.5);
    transform: translateY(-1px);
}

.pc-btn-start:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(79,70,229,0.3);
}

.pc-btn-start:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.pc-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pc-spin .7s linear infinite;
    flex-shrink: 0;
}

.pc-btn-start.is-loading .pc-spinner  { display: block; }
.pc-btn-start.is-loading .pc-run-icon { display: none; }

/* ── Stop button ───────────────────────────────────── */
.pc-btn-stop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 42px;
    border-radius: 8px;
    border: 1.5px solid #f87171;
    background: transparent;
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    margin-top: 10px;
}
.pc-btn-stop:hover { background: #f87171; color: #fff; }
.pc-btn-stop:disabled { opacity: .4; cursor: not-allowed; }

@keyframes pc-spin { to { transform: rotate(360deg); } }

/* ── Divider ───────────────────────────────────────── */
.pc-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 18px 0;
}

.dark .pc-divider { border-color: #1e293b; }

/* ── Key-value list ────────────────────────────────── */
.pc-kv-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-kv {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    line-height: 1.7;
}

.pc-kv-key { color: #64748b; flex-shrink: 0; }

.pc-kv-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.dark .pc-kv-key { color: #64748b; }
.dark .pc-kv-val { color: #e2e8f0; }

.pc-mono {
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

/* ── Status colours ────────────────────────────────── */
.pc-ok-text   { color: #16a34a !important; }
.pc-fail-text { color: #dc2626 !important; }
.pc-idle-text { color: #64748b !important; }
.pc-run-text  { color: #4f46e5 !important; }
.pc-warn-text { color: #d97706 !important; }

/* ── Meta message ──────────────────────────────────── */
.pc-meta-msg {
    font-size: 11.5px;
    color: #94a3b8;
    min-height: 16px;
    margin-top: 6px;
    line-height: 1.5;
}

.pc-meta-warn { color: #ef4444 !important; }

/* ── Stats grid ────────────────────────────────────── */
.pc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pc-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    text-align: center;
    transition: box-shadow .15s;
}

.pc-stat-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.dark .pc-stat-card {
    background: #1e293b;
    border-color: #334155;
}

.pc-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.dark .pc-stat-val { color: #f1f5f9; }

.pc-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #94a3b8;
}

.pc-stat-ok .pc-stat-val   { color: #16a34a; }
.pc-stat-fail .pc-stat-val { color: #dc2626; }

/* ── Main area ─────────────────────────────────────── */
.pc-main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pc-table-wrap {
    flex: 1;
    overflow: auto;
}

/* ── Table ─────────────────────────────────────────── */
.pc-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 13px;
}

.pc-table thead th {
    background: #f8fafc;
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.dark .pc-table thead th {
    background: #1e293b;
    color: #64748b;
    border-bottom-color: #334155;
}

.pc-table tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
}

.dark .pc-table tbody td {
    border-bottom-color: #1e293b;
    color: #cbd5e1;
}

.pc-table tbody tr:hover td { background: #f8fafc; }

.dark .pc-table tbody tr:hover td { background: #1e293b; }

/* Specific column widths */
.pc-col-addr { font-family: ui-monospace, Menlo, Monaco, Consolas, monospace; font-size: 12px; }
.pc-col-ip   { font-family: ui-monospace, Menlo, Monaco, Consolas, monospace; font-size: 12px; }
.pc-col-error {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #64748b;
}

.dark .pc-col-error { color: #94a3b8; }

.pc-col-ms { font-variant-numeric: tabular-nums; }

.pc-col-pass { color: #94a3b8; letter-spacing: 2px; }

/* ── Status badges ─────────────────────────────────── */
.pc-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 100px;
    white-space: nowrap;
}

.pc-badge-ok   { background: #dcfce7; color: #16a34a; }
.pc-badge-fail { background: #fee2e2; color: #dc2626; }
.pc-badge-inv  { background: #fef3c7; color: #92400e; }

/* UDP badges */
.pc-badge-udp-ok    { background: #e0f2fe; color: #0369a1; }
.pc-badge-udp-assoc { background: #ede9fe; color: #7c3aed; }
.pc-badge-udp-no    { background: #f1f5f9; color: #475569; }
.pc-badge-na     { background: #f8fafc; color: #94a3b8; font-weight: 500; }

.dark .pc-badge-ok     { background: rgba(22,163,74,.15);  color: #4ade80; }
.dark .pc-badge-fail   { background: rgba(220,38,38,.15);  color: #f87171; }
.dark .pc-badge-inv    { background: rgba(146,64,14,.15);  color: #fbbf24; }
.dark .pc-badge-udp-ok    { background: rgba(3,105,161,.18);   color: #38bdf8; }
.dark .pc-badge-udp-assoc { background: rgba(124,58,237,.18);  color: #a78bfa; }
.dark .pc-badge-udp-no    { background: rgba(71,85,105,.2);    color: #94a3b8; }
.dark .pc-badge-na     { background: rgba(148,163,184,.08); color: #64748b; }

/* ── Filter bar ── */
.pc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.dark .pc-filter-bar {
    background: rgba(15,23,42,.5);
    border-bottom-color: #1e293b;
}
.pc-filter-select {
    appearance: none;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-size: 12px;
    padding: 5px 28px 5px 10px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    min-width: 110px;
    transition: border-color .2s;
}
.pc-filter-select:focus { outline: none; border-color: rgba(99,102,241,.5); }
.dark .pc-filter-select {
    background-color: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
.pc-filter-reset {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 11px;
    padding: 5px 10px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    margin-left: auto;
}
.pc-filter-reset:hover { color: #f87171; border-color: rgba(248,113,113,.4); }
.dark .pc-filter-reset { border-color: #334155; color: #64748b; }

/* ── Response ms colours ───────────────────────────── */
.pc-ms-fast { color: #16a34a; font-weight: 600; }
.pc-ms-mid  { color: #d97706; font-weight: 600; }
.pc-ms-slow { color: #dc2626; font-weight: 600; }

/* ── Empty cell ────────────────────────────────────── */
.pc-empty-cell {
    text-align: center;
    padding: 70px 20px !important;
    color: #94a3b8;
    font-size: 14px;
}

/* ── Result count ──────────────────────────────────── */
.pc-result-count {
    font-size: 12px;
    color: #94a3b8;
    padding: 7px 14px;
    border-top: 1px solid #f1f5f9;
    min-height: 30px;
}

.dark .pc-result-count { border-top-color: #1e293b; }

/* ── Bottom action bar ─────────────────────────────── */
.pc-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e2e8f0;
}

.dark .pc-bottom-bar { border-top-color: #1e293b; }

.pc-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #4f46e5;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .15s;
}

.pc-bottom-btn + .pc-bottom-btn {
    border-left: 1px solid rgba(255,255,255,0.15);
}

.pc-bottom-btn:hover { background: #4338ca; }

.pc-bottom-btn-export {
    background: #16a34a;
}
.pc-bottom-btn-export:hover { background: #15803d; }

/* ── Export dropdown menu ──────────────────────────── */
.pc-export-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 100;
    overflow: hidden;
    animation: pc-fadeUp .15s ease both;
}
.dark .pc-export-menu {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}
.pc-export-menu-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 10px 14px 6px;
}
.pc-export-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background .12s;
    gap: 8px;
}
.pc-export-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}
.pc-export-item:hover { background: #f1f5f9; }
.dark .pc-export-item { color: #e2e8f0; }
.dark .pc-export-item:hover { background: #334155; }

/* ── Anonymity badges ──────────────────────────────── */
.pc-badge-elite { background: #dcfce7; color: #16a34a; }
.pc-badge-anon  { background: #dbeafe; color: #1d4ed8; }
.pc-badge-trans { background: #fef3c7; color: #92400e; }

.dark .pc-badge-elite { background: rgba(22,163,74,.15);  color: #4ade80; }
.dark .pc-badge-anon  { background: rgba(29,78,216,.15);  color: #60a5fa; }
.dark .pc-badge-trans { background: rgba(146,64,14,.15);  color: #fbbf24; }

/* ── Sortable headers ──────────────────────────────── */
.pc-sortable { user-select: none; white-space: nowrap; }
.pc-sortable:hover { color: #4f46e5; }
.pc-sort-icon { font-size: 11px; opacity: .5; margin-left: 2px; }

/* ── Copyable rows ─────────────────────────────────── */
.pc-row-copyable { cursor: pointer; transition: background .12s; }
.pc-row-copyable:active td { background: #eef2ff !important; }
.dark .pc-row-copyable:active td { background: #1e3a5f !important; }

/* ── Toast ─────────────────────────────────────────── */
.pc-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    z-index: 99999;
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Progress bar ──────────────────────────────────── */
.pc-progress-wrap {
    margin-top: 10px;
}
.pc-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.dark .pc-progress-bar { background: #1e293b; }
.pc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #818cf8);
    border-radius: 999px;
    transition: width .3s ease;
}
.pc-progress-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    text-align: right;
}

/* ── Import from URL ───────────────────────────────── */
.pc-import-wrap {
    display: flex;
    gap: 6px;
    margin: 10px 0 4px;
}
.pc-import-input {
    flex: 1;
    padding: 7px 10px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: #334155;
    background: #fff;
    outline: none;
    transition: border-color .15s;
    min-width: 0;
}
.pc-import-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,.1);
}
.dark .pc-import-input {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
.pc-import-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s;
}
.pc-import-btn:hover { background: #4338ca; }
.pc-import-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Info cards ────────────────────────────────────── */
.pc-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.pc-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: box-shadow .2s, transform .2s;
}

.pc-info-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.dark .pc-info-card {
    background: #111827;
    border-color: #1e293b;
}

.pc-info-icon {
    width: 44px;
    height: 44px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    margin-bottom: 14px;
}

.dark .pc-info-icon {
    background: rgba(99,102,241,0.12);
    color: #818cf8;
}

.pc-info-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.dark .pc-info-title { color: #f1f5f9; }

.pc-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-info-list li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-info-list li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6366f1;
    flex-shrink: 0;
}

.dark .pc-info-list li { color: #94a3b8; }

.pc-info-list code {
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    font-size: 11.5px;
    background: #f1f5f9;
    color: #4f46e5;
    padding: 1px 6px;
    border-radius: 4px;
}

.dark .pc-info-list code {
    background: #1e293b;
    color: #818cf8;
}

/* ── Captcha Modal ─────────────────────────────────── */
.pc-captcha-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pc-captcha-overlay.is-open { display: flex; }

.pc-captcha-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    position: relative;
    animation: pc-fadeUp .25s ease both;
}

.dark .pc-captcha-box {
    background: #1e293b;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}

.pc-captcha-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    margin: 0 auto 18px;
}

.dark .pc-captcha-icon {
    background: rgba(99,102,241,0.18);
    color: #818cf8;
}

.pc-captcha-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0 0 6px;
}

.dark .pc-captcha-title { color: #f1f5f9; }

.pc-captcha-desc {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.6;
}

.pc-captcha-img-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pc-captcha-img {
    flex: 1;
    height: 52px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    background: #f8fafc;
}

.dark .pc-captcha-img {
    border-color: #334155;
    background: #0f172a;
}

.pc-captcha-refresh {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.pc-captcha-refresh:hover {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

.dark .pc-captcha-refresh {
    background: #0f172a;
    border-color: #334155;
    color: #64748b;
}

.dark .pc-captcha-refresh:hover {
    background: rgba(99,102,241,0.12);
    color: #818cf8;
    border-color: rgba(99,102,241,0.3);
}

.pc-captcha-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    background: #fff;
    outline: none;
    text-align: center;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}

.pc-captcha-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.dark .pc-captcha-input {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.pc-captcha-error {
    font-size: 12px;
    color: #dc2626;
    margin-top: 6px;
    min-height: 18px;
    text-align: center;
}

.pc-captcha-submit {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .1s;
    box-shadow: 0 3px 10px rgba(79,70,229,0.4);
    letter-spacing: .01em;
}

.pc-captcha-submit:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 5px 16px rgba(79,70,229,0.5);
    transform: translateY(-1px);
}

.pc-captcha-submit:active { transform: translateY(0); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .pc-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .pc-grid { grid-template-columns: 1fr; }

    .pc-sidebar {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .dark .pc-sidebar { border-bottom-color: #1e293b; }

    .pc-textarea { height: 140px; }
}

@media (max-width: 640px) {
    .pc-hero { padding: 52px 0 48px; }

    .pc-wrapper { padding: 0 16px; }

    .pc-info-grid { grid-template-columns: 1fr; }

    .pc-bottom-bar { grid-template-columns: 1fr; }

    .pc-bottom-btn + .pc-bottom-btn {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .pc-bottom-btn { padding: 12px 16px; font-size: 13px; }

    .pc-captcha-box { padding: 28px 20px 22px; }
}