/* Verified partners page and partner review */
.pt-head { padding: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 8px 0 26px; }
.pt-head h1 { margin: 0 0 6px; }
.pt-head .lede { margin: 0; max-width: 560px; }
.pt-muted { color: var(--muted, #9d9db0); }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.pt-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line2, rgba(255,255,255,.12)); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.pt-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pt-icon, .pt-letter { flex: none; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.pt-letter { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; background: rgba(139, 124, 255, .18); color: #b4aaff; }
.pt-name { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.pt-members { margin: 2px 0 0; font-size: 13px; color: var(--muted, #9d9db0); }
.pt-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 600; color: #4ade80; }
.pt-desc { margin: 0; flex: 1; line-height: 1.5; color: var(--muted, #b9b9c8); overflow-wrap: anywhere; }
.pt-join { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 600; background: #8b7cff; color: #0b0a1f; text-decoration: none; }
.pt-join:hover { filter: brightness(1.1); text-decoration: none; }
.pt-empty { grid-column: 1 / -1; padding: 28px; text-align: center; border: 1px dashed var(--line2, rgba(255,255,255,.18)); border-radius: 12px; color: var(--muted, #9d9db0); }
.pt-mine { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line2, rgba(255,255,255,.12)); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.pt-mine h3 { margin: 0 0 8px; font-size: 15px; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.pt-pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .08); }
.pt-pill.approved { background: rgba(74, 222, 128, .14); color: #4ade80; }
.pt-pill.denied { background: rgba(248, 113, 113, .14); color: #f87171; }
.pt-pill.pending { background: rgba(245, 184, 75, .14); color: #f5b84b; }

.pt-backdrop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 4, 10, .72); }
.pt-backdrop[hidden] { display: none; }
.pt-modal { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-sizing: border-box; padding: 26px 24px 22px; border-radius: 12px; background: #12121c; color: #f2f2f7; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.pt-modal h2 { margin: 0 34px 8px 0; font-size: 22px; }
.pt-modal label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.pt-modal input[type="text"], .pt-modal textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; }
.pt-modal textarea { resize: vertical; min-height: 96px; }
.pt-modal input:focus, .pt-modal textarea:focus { outline: none; border-color: #8b7cff; box-shadow: 0 0 0 3px rgba(139, 124, 255, .25); }
.pt-hint { margin: 6px 0 0; font-size: 12.5px; color: #9d9db0; }
.pt-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.4; }
.pt-check input { margin-top: 3px; }
.pt-error { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: #fecaca; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .3); }
.pt-error[hidden] { display: none; }
.pt-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pt-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #9d9db0; font-size: 22px; line-height: 1; cursor: pointer; }
.pt-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* review page */
.pd-card { margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--line2, rgba(255,255,255,.12)); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.pd-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-top h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.pd-meta { margin: 8px 0; font-size: 13.5px; color: var(--muted, #9d9db0); overflow-wrap: anywhere; }
.pd-desc { margin: 8px 0 12px; line-height: 1.5; overflow-wrap: anywhere; }
.pd-reason { width: 100%; box-sizing: border-box; padding: 8px 10px; font: inherit; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; }
.pd-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pd-btn { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #f2f2f7; }
.pd-btn.ok { background: #3ba55d; border-color: transparent; color: #04140a; }
.pd-btn.no { border-color: rgba(248, 113, 113, .5); color: #fca5a5; }
.pd-btn:disabled { opacity: .5; cursor: default; }
@media (max-width: 560px) { .pt-head { align-items: stretch; } .pt-head .btn-big { width: 100%; } }

/* Shared big buttons (these were only styled on the home page, so the delete page and partners page used plain ones) */
body.space .btn-big { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 44px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
body.space .btn-big.bot { background: var(--accent, #8b7cff); color: var(--accent-ink, #0b0a1f); }
body.space .btn-big.bot:hover { filter: brightness(1.1); text-decoration: none; }
body.space .btn-big.bot:disabled { opacity: .55; cursor: default; }
