/* ==========================================================================
   online.css — ONLINE SİSTEM: giriş ekranı, kullanıcı kutusu, durum, ekip listesi
   ========================================================================== */
.oa{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, #6161ff 0%, #4b3fd6 45%, #14151f 100%); padding:20px; z-index:200; }
body.oa-on > :not(#onlineAuth){ display:none !important; }
.oa-card{ width:380px; max-width:100%; background:var(--surface); color:var(--text); border-radius:16px; padding:28px; box-shadow:0 20px 60px rgba(0,0,0,.35); }
.oa-brand{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.oa-brand b{ display:block; font-size:16px; }
.oa-brand small{ color:var(--text-soft); font-size:12px; }
.oa-card h2{ margin:0 0 14px; font-size:20px; }
.oa-card label{ display:block; font-size:12px; font-weight:700; color:var(--text-soft); margin:12px 0 5px; }
.oa-card input{ width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--text); font-size:14px; }
.oa-card input:focus{ outline:2px solid var(--purple); outline-offset:-1px; }
.oa-main{ width:100%; margin-top:18px; padding:11px; font-size:14px; }
.oa-links{ display:flex; justify-content:space-between; margin-top:14px; font-size:13px; }
.oa-links a{ color:var(--purple); text-decoration:none; }
.oa-links a:hover{ text-decoration:underline; }
.oa-err{ background:rgba(226,68,92,.12); color:var(--danger); border-radius:8px; padding:9px 11px; font-size:13px; margin-bottom:6px; }
.oa-ok{ background:rgba(0,200,117,.12); color:var(--success); border-radius:8px; padding:9px 11px; font-size:13px; margin-bottom:6px; }
.oa-hint{ font-size:13px; color:var(--text-soft); line-height:1.5; }

.ou-user{ display:flex; align-items:center; gap:8px; padding:8px 14px; border-top:1px solid var(--border); }
.ou-who{ flex:1; min-width:0; line-height:1.2; }
.ou-who b{ display:block; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ou-who small{ color:var(--text-faint); font-size:11.5px; }
.sidebar.collapsed .ou-who{ display:none; }
.ou-status{ font-size:12px; padding:4px 10px; border-radius:12px; white-space:nowrap; }
.ou-status.ok{ color:var(--success); background:rgba(0,200,117,.10); }
.ou-status.busy{ color:var(--text-soft); background:var(--bg); }
.ou-status.warn{ color:#b86e00; background:rgba(253,171,61,.18); }
.ou-status.err{ color:var(--danger); background:rgba(226,68,92,.12); }
.ou-presence{ display:inline-flex; align-items:center; gap:2px; }
.ou-presence .avatar{ border:2px solid var(--success); }
.ou-pl{ font-size:11.5px; color:var(--text-faint); margin-right:4px; }
.ou-team{ display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.ou-row{ display:flex; align-items:center; gap:8px; padding:6px 8px; border:1px solid var(--border); border-radius:8px; }
.ou-row.pend{ border-color:var(--warning); background:rgba(253,171,61,.08); }
.role-pill{ font-size:11.5px; font-weight:700; padding:2px 9px; border-radius:10px; }
.r-admin{ background:var(--purple-light); color:var(--purple); }
.r-member{ background:rgba(0,200,117,.12); color:var(--success); }
.r-viewer{ background:var(--bg); color:var(--text-soft); }
.r-pending{ background:rgba(253,171,61,.18); color:#b86e00; }

.ou-pass{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.ou-pass input:not([hidden]){ flex:1 1 130px; min-width:0; padding:8px 10px; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--text); }
.settings-card{ min-width:0; overflow-wrap:anywhere; }
.ou-row{ flex-wrap:wrap; }

/* Yönetici olmayan hesaplar: metin seçimi ve yazdırma kapalı (yazı kutuları hariç) */
.ou-protect body{ user-select:none; -webkit-user-select:none; }
.ou-protect input,.ou-protect textarea,.ou-protect [contenteditable="true"],.ou-protect [contenteditable=""]{ user-select:text; -webkit-user-select:text; }
@media print{ .ou-protect body{ display:none !important; } }
#themeToggleBtn{ color:#4b4a6b; } #themeToggleBtn.is-dark{ color:#ffc83d; } #themeToggleBtn{ width:34px; height:34px; padding:0; display:flex; align-items:center; justify-content:center; flex:0 0 34px; border:1px solid var(--border); border-radius:10px; }
#themeToggleBtn svg{ display:block; width:20px; height:20px; flex:0 0 20px; }
/* dar pencerede ad/e-posta sıkışmasın */
.ou-row{ flex-wrap:wrap; } .ou-row .ou-who{ min-width:130px; }

/* v3.3 pano yetkisi + etkinlik */
.ba-list{ max-height:46vh; overflow:auto; margin:10px 0; padding:8px 10px; border:1px solid var(--border); border-radius:10px; }
.ba-list.off{ opacity:.45; }
.ba-folder{ margin-bottom:6px; } .ba-folder .bpop-check:not(:first-child){ margin-left:22px; }
.ip-upd-act{ margin-left:auto; display:flex; gap:2px; }
.ip-reply{ display:flex; gap:8px; margin:8px 0 0 34px; padding:8px 10px; border-left:2px solid var(--border); font-size:13px; }
.ip-reply small{ color:var(--text-faint); }
.ip-auto{ font-size:10.5px; padding:1px 6px; border-radius:8px; background:var(--purple-light); color:var(--purple); }
.act-modal{ max-height:60vh; overflow:auto; }
.dil{ display:inline-flex; border:1px solid var(--border); border-radius:8px; overflow:hidden; } .dil button{ border:none; background:none; color:var(--text-faint); font-size:11.5px; font-weight:700; padding:5px 9px; cursor:pointer; } .dil button.on{ background:var(--purple); color:#fff; } #dilYeri{ margin-left:auto; } .oa-brand .dil{ margin-left:auto; } .sidebar.collapsed #dilYeri{ display:none; } .sidebar-footer{ flex-wrap:wrap; }

/* v5.1 yönetim geçmişi */
.dn-row{ display:flex; gap:10px; padding:8px 2px; border-bottom:1px solid var(--border); font-size:13px; }
.dn-row:last-child{ border-bottom:0; } .dn-ic{ flex:0 0 22px; text-align:center; } .dn-t{ flex:1; min-width:0; overflow-wrap:anywhere; } .dn-t small{ display:block; color:var(--text-faint); font-size:11.5px; margin-top:2px; }
.dn-bar{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; } .dn-bar > *{ flex:1 1 200px; min-width:0; } .dn-list{ max-height:56vh; overflow:auto; } .bmodal [data-m][hidden]{ display:none; }
