/*
Theme Name: BizTeam Lite Production
Theme URI: https://example.com/
Author: BizTeam Generator
Description: Lightweight business theme with team meetings, file submissions, chat, tasks, earnings and manual withdrawals.
Version: 1.2.0
License: GPLv2 or later
Text Domain: bizteam-lite
*/

:root {
  --bt-primary: #2563eb;
  --bt-secondary: #7c3aed;
  --bt-hero-from: #4f8cff;
  --bt-hero-to: #7c3aed;
  --bt-accent-1: #2563eb;
  --bt-accent-2: #16a34a;
  --bt-accent-3: #f97316;
  --bt-bg: #f7f8fc;
  --bt-card: #ffffff;
  --bt-text: #0f172a;
  --bt-muted: #64748b;
  --bt-border: #e5e7eb;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; background:var(--bt-bg); color:var(--bt-text); line-height:1.5}
a{color:var(--bt-primary); text-decoration:none}
a:hover{text-decoration:underline}
.bt-container{max-width:1100px;margin:0 auto;padding:24px}
.bt-card{background:var(--bt-card); border:1px solid var(--bt-border); border-radius:16px; padding:18px; box-shadow:0 6px 20px rgba(15,23,42,.06)}
.bt-row{display:flex; gap:18px; align-items:stretch}
.bt-col{flex:1}
.bt-nav{background:#fff;border-bottom:1px solid var(--bt-border)}
.bt-nav-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 24px; max-width:1100px; margin:0 auto}
.bt-brand{font-weight:800; font-size:20px; letter-spacing:.2px}
.bt-menu{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.bt-btn{display:inline-block; padding:10px 14px; border-radius:12px; border:1px solid var(--bt-border); background:#fff; color:var(--bt-text); font-weight:600}
.bt-btn-primary{background:linear-gradient(90deg, var(--bt-primary), var(--bt-secondary)); border:none; color:#fff}
.bt-btn-ghost{background:transparent}
.bt-btn:hover{filter:brightness(.98)}
.bt-hero{background:linear-gradient(120deg, var(--bt-hero-from), var(--bt-hero-to)); border-radius:22px; padding:28px; color:#fff; position:relative; overflow:hidden}
.bt-hero h1{margin:0 0 8px 0; font-size:38px; line-height:1.15}
.bt-hero p{margin:0 0 14px 0; color:rgba(255,255,255,.88)}
.bt-hero .bt-hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.bt-blob{position:absolute; width:260px; height:260px; border-radius:999px; filter:blur(18px); opacity:.35}
.bt-blob.one{background:#22c55e; top:-80px; right:-90px}
.bt-blob.two{background:#fb7185; bottom:-90px; left:-90px}
.bt-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:16px}
.bt-feature{border-top:6px solid var(--bt-accent-1)}
.bt-feature.files{border-top-color:var(--bt-accent-2)}
.bt-feature.chat{border-top-color:var(--bt-accent-3)}
.bt-feature h3{margin:8px 0 4px 0}
.bt-muted{color:var(--bt-muted)}
.bt-table{width:100%; border-collapse:collapse}
.bt-table th,.bt-table td{padding:10px; border-bottom:1px solid var(--bt-border); text-align:left; vertical-align:top}
.bt-pill{display:inline-block; padding:4px 10px; border-radius:999px; border:1px solid var(--bt-border); background:#fff; font-size:12px}
.bt-pill.ok{border-color:#bbf7d0; background:#f0fdf4; color:#166534}
.bt-pill.warn{border-color:#fed7aa; background:#fff7ed; color:#9a3412}
.bt-pill.bad{border-color:#fecaca; background:#fef2f2; color:#991b1b}
.bt-form input,.bt-form textarea,.bt-form select{width:100%; padding:10px 12px; border:1px solid var(--bt-border); border-radius:12px; background:#fff; outline:none}
.bt-form textarea{min-height:96px}
.bt-form label{font-weight:700; font-size:13px; display:block; margin:10px 0 6px}
.bt-form .bt-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.bt-footer{margin-top:36px; padding:22px 0; border-top:1px solid var(--bt-border); color:var(--bt-muted); background:#fff}
.bt-footer-inner{max-width:1100px;margin:0 auto;padding:0 24px; display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.bt-footer-links{display:flex; gap:14px; flex-wrap:wrap}
.bt-social{display:flex; gap:10px; align-items:center}
.bt-social a{display:inline-flex; width:34px; height:34px; border-radius:10px; border:1px solid var(--bt-border); align-items:center; justify-content:center}
/* Desktop chatbar */
.bt-chatbar{position:fixed; right:18px; top:88px; width:320px; height:72vh; background:#fff; border:1px solid var(--bt-border); border-radius:18px; box-shadow:0 10px 30px rgba(15,23,42,.12); overflow:hidden; display:none; z-index:9999}
.bt-chatbar header{padding:12px 12px 10px 12px; display:flex; justify-content:space-between; align-items:center}
.bt-chatbar h4{margin:0; font-size:18px}
.bt-chatbar .bt-chatbar-search{padding:0 12px 10px 12px}
.bt-chatbar .bt-chatbar-search input{border-radius:999px}
.bt-chatbar .bt-tabs{display:flex; gap:10px; padding:0 12px 10px 12px}
.bt-chatbar .bt-tab{font-weight:700; font-size:13px; padding:6px 10px; border-radius:999px; border:1px solid var(--bt-border); background:#fff; cursor:pointer}
.bt-chatbar .bt-tab.active{background:#eff6ff; border-color:#bfdbfe}
.bt-chatbar .bt-list{height:calc(72vh - 120px); overflow:auto; padding:8px 10px 12px 10px}
.bt-chatbar .bt-item{display:flex; gap:10px; padding:8px; border-radius:14px; align-items:center}
.bt-chatbar .bt-item:hover{background:#f8fafc}
.bt-chatbar .bt-item img{width:36px; height:36px; border-radius:999px; object-fit:cover}
.bt-chatbar .bt-item .name{font-weight:800}
.bt-chatbar .bt-item .sub{font-size:12px; color:var(--bt-muted)}

@media (max-width: 980px){
  .bt-row{flex-direction:column}
  .bt-grid{grid-template-columns:1fr}
}
@media (min-width: 1024px){
  .bt-chatbar.show{display:block}
}

/* Level badge */
.bt-level-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--bt-border);
  background:#f8fafc;
  color:#0f172a;
}
.bt-level-1{background:#ecfdf5;color:#065f46;border-color:#a7f3d0}
.bt-level-2{background:#f7fee7;color:#3f6212;border-color:#d9f99d}
.bt-level-3{background:#fffbeb;color:#92400e;border-color:#fde68a}
.bt-level-4{background:#fff7ed;color:#9a3412;border-color:#fdba74}
.bt-level-5{background:#fef2f2;color:#991b1b;border-color:#fecaca}


/* Level scale (Low -> High) */
.bt-dashboard-top{display:flex; gap:18px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap}
.bt-level-inline-scale{display:inline-flex; align-items:center}
.bt-level-scale{position:relative; width:340px; max-width:100%}
.bt-level-scale-bar{display:flex; height:44px; border-radius:999px; overflow:hidden; border:1px solid rgba(15,23,42,.10); box-shadow:0 6px 18px rgba(15,23,42,.08); background:#fff}
.bt-level-scale-seg{flex:1}
.bt-level-scale-seg.s1{background:#22c55e}
.bt-level-scale-seg.s2{background:#a3e635}
.bt-level-scale-seg.s3{background:#fbbf24}
.bt-level-scale-seg.s4{background:#fb923c}
.bt-level-scale-seg.s5{background:#ef4444}
.bt-level-scale-pointer{position:absolute; left:var(--bt-pointer-x,50%); top:48px; transform:translateX(-50%); width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-top:12px solid #94a3b8; filter:drop-shadow(0 2px 1px rgba(15,23,42,.15))}
.bt-level-scale-labels{display:flex; justify-content:space-between; margin-top:20px; font-weight:900; font-size:28px; color:#0f172a}
.bt-level-scale-labels span:last-child{justify-self:flex-end}

/* Sizes */
.bt-level-scale-sm{width:140px}
.bt-level-scale-sm .bt-level-scale-bar{height:16px; box-shadow:none}
.bt-level-scale-sm .bt-level-scale-pointer{top:18px; border-left:6px solid transparent; border-right:6px solid transparent; border-top:7px solid #94a3b8}
.bt-level-scale-sm .bt-level-scale-labels{display:none}

.bt-level-scale-md{width:220px}
.bt-level-scale-md .bt-level-scale-bar{height:26px}
.bt-level-scale-md .bt-level-scale-pointer{top:30px; border-left:8px solid transparent; border-right:8px solid transparent; border-top:9px solid #94a3b8}
.bt-level-scale-md .bt-level-scale-labels{margin-top:14px; font-size:18px}

.bt-level-scale-lg{width:380px}
.bt-level-scale-lg .bt-level-scale-bar{height:52px}
.bt-level-scale-lg .bt-level-scale-pointer{top:56px}
.bt-level-scale-lg .bt-level-scale-labels{margin-top:22px; font-size:30px}

@media (max-width: 720px){
  .bt-level-scale-lg{width:100%}
  .bt-level-scale-lg .bt-level-scale-labels{font-size:22px}
}
