/* ============================================================
   PyreDrop — Theme Tempyre "Collaboration" (cyan)
   ============================================================ */
:root {
    --pd-primary: #06b6d4;
    --pd-primary-dark: #0891b2;
    --pd-accent: #6366f1;
    --pd-surface: #ffffff;
    --pd-background: #f8fafc;
    --pd-text: #1e293b;
    --pd-muted: #64748b;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--pd-background);
    color: var(--pd-text);
    margin: 0;
}

/* -------- Navbar ------------------------------------------- */
.pd-navbar {
    background: var(--pd-surface);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .02);
    padding: .75rem 0;
}
.pd-navbar-transparent {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}
.pd-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: white;
    font-size: 1.1rem;
}
.pd-brand-text {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--pd-text);
}
.navbar-brand:hover .pd-brand-text { color: var(--pd-primary-dark); }

/* -------- Buttons ------------------------------------------ */
.pd-btn-primary {
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-dark));
    color: white;
    border: none;
    font-weight: 500;
    padding: .5rem 1.25rem;
    border-radius: 8px;
    transition: transform .15s, box-shadow .15s;
}
.pd-btn-primary:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, .3);
}
.pd-btn-ghost {
    background: transparent;
    color: var(--pd-text);
    border: 1px solid rgba(0, 0, 0, .1);
    padding: .5rem 1.25rem;
    border-radius: 8px;
}
.pd-btn-ghost:hover {
    background: rgba(0, 0, 0, .02);
    border-color: var(--pd-primary);
    color: var(--pd-primary-dark);
}

.pd-link { color: var(--pd-primary-dark); text-decoration: none; }
.pd-link:hover { text-decoration: underline; }

/* -------- Landing hero ------------------------------------- */
.pd-landing { background: radial-gradient(ellipse at top right, rgba(6, 182, 212, .08), transparent 60%), var(--pd-background); }
.pd-hero { padding: 3rem 0 5rem; }
.min-vh-75 { min-height: 75vh; }
.pd-hero-badge {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, .1);
    color: var(--pd-primary-dark);
    font-size: .875rem;
    font-weight: 500;
}
.pd-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.pd-gradient-text {
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pd-hero-sub { color: var(--pd-muted); max-width: 560px; }

/* -------- Radar animation ---------------------------------- */
.pd-radar {
    position: relative;
    width: 320px; height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-radar-wave {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--pd-primary);
    opacity: 0;
    animation: pd-radar-pulse 3s ease-out infinite;
}
.pd-radar-core {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 10px 40px rgba(6, 182, 212, .4);
    z-index: 1;
}
@keyframes pd-radar-pulse {
    0% { transform: scale(.3); opacity: .8; }
    100% { transform: scale(1); opacity: 0; }
}

/* -------- Features cards ----------------------------------- */
.pd-features { background: var(--pd-surface); }
.pd-feature-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: var(--pd-surface);
    border: 1px solid rgba(0, 0, 0, .06);
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.pd-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    border-color: rgba(6, 182, 212, .3);
}
.pd-feature-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(6, 182, 212, .15), rgba(99, 102, 241, .15));
    color: var(--pd-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* -------- App shell ---------------------------------------- */
.pd-app { background: var(--pd-background); }
.pd-welcome-card {
    background: var(--pd-surface);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.pd-welcome-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, .15), rgba(99, 102, 241, .15));
    color: var(--pd-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pd-room-tabs .nav-link {
    color: var(--pd-muted);
    font-weight: 500;
    border-radius: 8px;
    padding: .5rem 1rem;
}
.pd-room-tabs .nav-link.active {
    background: var(--pd-primary);
    color: white;
}

.pd-room-content {
    background: var(--pd-surface);
    border-radius: 12px;
    padding: 2rem;
    min-height: 320px;
    border: 1px solid rgba(0, 0, 0, .05);
}

.pd-empty-state { text-align: center; padding: 2rem 1rem; }
.pd-empty-icon {
    font-size: 3rem;
    color: rgba(6, 182, 212, .35);
    margin-bottom: 1rem;
}

/* -------- Avatars ------------------------------------------ */
.pd-avatar, .pd-avatar-lg {
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}
.pd-avatar { width: 32px; height: 32px; font-size: .85rem; }
.pd-avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.pd-avatar-initials {
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
}

/* -------- Cards -------------------------------------------- */
.pd-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.pd-card-tempyre {
    border-left: 4px solid #4285f4 !important;
}
.pd-badge {
    background: rgba(6, 182, 212, .15);
    color: var(--pd-primary-dark);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .05em;
}
.pd-badge-light {
    background: rgba(0, 0, 0, .05);
    color: var(--pd-text);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: .75rem;
}

/* -------- History list ------------------------------------- */
.pd-history-list {
    background: var(--pd-surface);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 12px;
    overflow: hidden;
}
.pd-history-row {
    display: grid;
    grid-template-columns: 48px minmax(180px, 2fr) 90px 90px 100px 130px 44px;
    gap: .75rem;
    align-items: center;
    padding: .85rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, .04);
    transition: background .15s;
}
.pd-history-action { text-align: right; }
.pd-vault-download[disabled] { opacity: .4; cursor: not-allowed; }
.pd-vault-missing { filter: grayscale(1); }
.pd-history-row:first-child { border-top: none; }
.pd-history-row:hover { background: rgba(6, 182, 212, .04); }
.pd-history-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, .1);
    color: var(--pd-primary-dark);
    font-size: 1rem;
}
.pd-dir-send .pd-history-icon {
    background: rgba(99, 102, 241, .1);
    color: var(--pd-accent);
}
.pd-dir-recv .pd-history-icon {
    background: rgba(16, 185, 129, .1);
    color: #059669;
}
.pd-history-file {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--pd-text);
}
.pd-history-meta {
    margin-top: .15rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.pd-history-size { font-weight: 500; color: var(--pd-text); }
.pd-history-date { font-size: .8rem; }

@media (max-width: 768px) {
    .pd-history-row {
        grid-template-columns: 38px 1fr auto;
        grid-template-areas:
            "icon main status"
            "icon meta meta"
            "icon size room date";
    }
    .pd-history-icon { grid-area: icon; }
    .pd-history-main { grid-area: main; }
    .pd-history-meta { grid-area: meta; }
    .pd-history-size { grid-area: size; }
    .pd-history-room { grid-area: room; }
    .pd-history-date { grid-area: date; }
    .pd-history-status { grid-area: status; justify-self: end; }
}

/* -------- Footer ------------------------------------------- */
.pd-footer {
    background: var(--pd-surface);
    border-top: 1px solid rgba(0, 0, 0, .05);
}

/* -------- Me card (identite en haut du home) --------------- */
.pd-me-card {
    background: var(--pd-surface);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.pd-me-avatar {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 18px rgba(6, 182, 212, .3);
}

/* -------- Peers grid --------------------------------------- */
.pd-peer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    padding: .5rem 0;
}
.pd-peer {
    position: relative;
    padding: 1.25rem .75rem;
    background: var(--pd-surface);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .05);
    text-align: center;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, border-color .15s;
    user-select: none;
}
.pd-peer:hover {
    transform: translateY(-3px);
    border-color: var(--pd-primary);
    box-shadow: 0 10px 25px rgba(6, 182, 212, .18);
}
.pd-peer-avatar {
    position: relative;
    width: 72px; height: 72px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.pd-peer-progress-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    pointer-events: none;
    transition: background .2s;
    -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
    mask: radial-gradient(circle, transparent 58%, #000 60%);
}
.pd-peer-icon { transition: opacity .2s; }
.pd-peer-icon.hide { opacity: 0; }
.pd-peer-percent {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    letter-spacing: .02em;
}
.pd-peer-percent.show { display: flex; }
.pd-peer-transfer {
    display: none;
    margin-top: .25rem;
    font-size: .72rem;
    color: var(--pd-primary-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.pd-peer-transfer.show { display: block; }
.pd-peer-name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--pd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-peer-username {
    font-size: .7rem;
    color: var(--pd-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-peer-device {
    font-size: .75rem;
    color: var(--pd-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-peer-drop {
    transform: scale(1.05);
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .2);
}
.pd-peer-done {
    animation: pd-peer-pulse .8s ease-out;
}
@keyframes pd-peer-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
    100% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
}

/* -------- Code cards (creer / rejoindre salon) ------------- */
.pd-code-card {
    background: var(--pd-surface);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .05);
    padding: 1.25rem;
    height: 100%;
}
.pd-room-code-display {
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: .5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(6, 182, 212, .08);
    color: var(--pd-primary-dark);
    display: none;
}
.pd-room-code-display.show { display: block; }
.pd-room-code-display.show:hover {
    background: rgba(6,182,212,.14);
    transition: background .15s;
}

/* -------- Hint --------------------------------------------- */
.pd-hint {
    background: rgba(6, 182, 212, .06);
    border: 1px solid rgba(6, 182, 212, .15);
    border-radius: 10px;
    padding: .75rem 1rem;
    color: var(--pd-text);
    font-size: .875rem;
}

/* -------- Modales receive file / text ---------------------- */
.pd-recv-preview {
    margin-top: 1rem;
    max-height: 320px;
    display: none;
    justify-content: center;
    align-items: center;
}
.pd-recv-preview.show { display: flex; }
.pd-recv-preview img,
.pd-recv-preview video {
    max-width: 100%;
    max-height: 320px;
    border-radius: 8px;
}
.pd-recv-preview audio { width: 100%; }
.pd-recv-text-body {
    background: var(--pd-background);
    border-radius: 8px;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    line-height: 1.5;
}

/* -------- Toast -------------------------------------------- */
.pd-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 120px);
    background: #0f172a;
    color: white;
    padding: .75rem 1.25rem;
    border-radius: 10px;
    font-size: .9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
}
.pd-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.pd-toast-error { background: #dc2626; }

/* -------- WS status badge ---------------------------------- */
.pd-ws-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 500;
    padding: .2rem .6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.pd-ws-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pd-ws-online  { background: rgba(16,185,129,.1); color: #059669; }
.pd-ws-online::before  { background: #10b981; }
.pd-ws-offline { background: rgba(245,158,11,.1); color: #d97706; animation: pd-ws-blink 1.2s ease-in-out infinite; }
.pd-ws-offline::before { background: #f59e0b; }
@keyframes pd-ws-blink { 0%,100% { opacity:1; } 50% { opacity:.35; } }

/* -------- Room invite link + QR code ---------------------- */
.pd-room-link {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    font-size: .8rem;
    color: var(--pd-muted);
    padding: .6rem .75rem;
    background: rgba(6,182,212,.04);
    border-radius: 8px;
    border: 1px solid rgba(6,182,212,.12);
}
.pd-room-link-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    width: 100%;
}
.pd-room-link-url {
    font-size: .75rem;
    color: var(--pd-primary-dark);
    word-break: break-all;
    flex: 1;
}
.pd-room-qr img,
.pd-room-qr canvas {
    border-radius: 8px;
    border: 2px solid rgba(6,182,212,.15);
    display: block;
}

/* -------- Error pages -------------------------------------- */
.pd-center-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--pd-background);
    font-family: 'Poppins', sans-serif;
}
.pd-error-code {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ─── Mini-menu peer (popup au clic) ─────────────────────────────────── */
.pd-peer-menu {
    position: absolute;
    z-index: 1080;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: pd-menu-fade .12s ease-out;
}
.pd-peer-menu[hidden] { display: none; }
.pd-peer-menu button {
    appearance: none;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .92rem;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .12s;
}
.pd-peer-menu button:hover { background: #f1f5f9; }
.pd-peer-menu button i { width: 18px; text-align: center; color: #64748b; }
@keyframes pd-menu-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Drawer de discussion ───────────────────────────────────────────── */
.pd-chat-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 100vw;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 32px rgba(15, 23, 42, 0.12);
    z-index: 1070;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .22s ease-out;
}
.pd-chat-drawer[hidden] { display: none; }
.pd-chat-drawer.pd-chat-open { transform: translateX(0); }

.pd-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: #fff;
}
.pd-chat-peer { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-chat-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pd-chat-peer-info { min-width: 0; }
.pd-chat-name {
    font-weight: 600; font-size: 1rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-chat-sub {
    font-size: .78rem; opacity: 0.92;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-chat-close {
    background: rgba(255,255,255,0.18);
    border: none; color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s;
}
.pd-chat-close:hover { background: rgba(255,255,255,0.32); }

.pd-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 4px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-chat-empty {
    margin: auto;
    color: #94a3b8;
    text-align: center;
    font-size: .9rem;
    padding: 30px 20px;
}
.pd-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}
.pd-chat-msg-out { align-self: flex-end; align-items: flex-end; }
.pd-chat-msg-in  { align-self: flex-start; align-items: flex-start; }
.pd-chat-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: .92rem;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.pd-chat-msg-out .pd-chat-bubble {
    background: var(--pd-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.pd-chat-msg-in .pd-chat-bubble {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}
.pd-chat-bubble a { color: inherit; text-decoration: underline; }
.pd-chat-bubble-file {
    display: flex; align-items: center; gap: 8px;
}
.pd-chat-filesize {
    font-size: .75rem; opacity: .75; margin-left: 6px;
}
.pd-chat-time {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 2px;
    padding: 0 6px;
}

.pd-chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.pd-chat-input input[type="text"] {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 9px 14px;
    font-size: .9rem;
    outline: none;
    transition: border-color .15s;
}
.pd-chat-input input[type="text"]:focus { border-color: var(--pd-primary); }
.pd-chat-attach, .pd-chat-send {
    appearance: none;
    border: none;
    background: transparent;
    color: #64748b;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-size: 1rem;
    flex-shrink: 0;
}
.pd-chat-attach:hover { background: #f1f5f9; color: #1f2937; }
.pd-chat-send {
    background: var(--pd-primary);
    color: #fff;
}
.pd-chat-send:hover { filter: brightness(1.05); }

@media (max-width: 480px) {
    .pd-chat-drawer { width: 100vw; }
}

/* Statut d'un message fichier dans le drawer chat */
.pd-chat-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}
.pd-chat-status.pd-status-sent       { color: #94a3b8; }
.pd-chat-status.pd-status-downloaded { color: #16a34a; }

/* Bouton Visible / Invisible (bloc "Vous") */
.pd-visibility-btn {
    appearance: none;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all .15s ease;
}
.pd-visibility-btn:hover { background: #f1f5f9; border-color: #94a3b8; }
.pd-visibility-btn.pd-visibility-off {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.pd-visibility-btn.pd-visibility-off:hover { background: #fee2e2; }
