/* DF Project Panel 2.0.0 - modern PHP-Fusion 7 theme layer */
:root {
    --dfp-green: #00b140;
    --dfp-green-2: #18d65d;
    --dfp-dark: #313335;
    --dfp-card: rgba(255,255,255,.96);
    --dfp-text: #1f2529;
    --dfp-muted: #737b82;
    --dfp-border: rgba(0,0,0,.09);
    --dfp-radius: 18px;
    --dfp-shadow: 0 12px 35px rgba(0,0,0,.10);
}
.dfp-app { width:100%; max-width:1140px; margin:0 auto; color:var(--dfp-text); }
.dfp-hero { position:relative; overflow:hidden; margin:0 0 20px; padding:28px 30px; border-radius:var(--dfp-radius); background:linear-gradient(135deg,#313335,#1f2224); color:#fff; box-shadow:var(--dfp-shadow); }
.dfp-hero:after { content:""; position:absolute; width:260px; height:260px; right:-90px; top:-110px; border-radius:50%; border:35px solid rgba(0,177,64,.12); }
.dfp-hero h1 { margin:0 0 6px; font-size:clamp(24px,3vw,36px); line-height:1.1; font-weight:800; }
.dfp-hero p { margin:0; color:rgba(255,255,255,.72); }
.dfp-eyebrow { display:inline-flex; gap:7px; align-items:center; margin-bottom:10px; color:var(--dfp-green-2); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.dfp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.dfp-card { background:var(--dfp-card); border:1px solid var(--dfp-border); border-radius:var(--dfp-radius); box-shadow:var(--dfp-shadow); overflow:hidden; }
.dfp-card-pad { padding:20px; }
.dfp-card h2,.dfp-card h3 { margin:0 0 8px; }
.dfp-muted { color:var(--dfp-muted); }
.dfp-project-card { position:relative; display:flex; flex-direction:column; min-height:190px; transition:transform .18s ease,box-shadow .18s ease; }
.dfp-project-card:hover { transform:translateY(-3px); box-shadow:0 18px 42px rgba(0,0,0,.14); }
.dfp-project-thumb { width:100%; height:150px; object-fit:cover; display:block; background:#eef0f2; }
.dfp-project-body { padding:17px; }
.dfp-project-title { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.dfp-project-title a { color:inherit; font-size:18px; font-weight:800; text-decoration:none; }
.dfp-project-title a:hover { color:var(--dfp-green); }
.dfp-badges { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.dfp-badge { display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; padding:0 7px; border-radius:999px; background:var(--dfp-green); color:#fff; font-size:11px; font-weight:800; }
.dfp-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; color:var(--dfp-muted); font-size:12px; }
.dfp-progress { height:8px; margin-top:14px; overflow:hidden; border-radius:99px; background:#e8ecef; }
.dfp-progress span { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,var(--dfp-green),var(--dfp-green-2)); }
.dfp-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.dfp-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:0 14px; border-radius:10px; border:1px solid var(--dfp-border); background:#fff; color:var(--dfp-text); text-decoration:none; font-weight:700; cursor:pointer; }
.dfp-btn:hover { border-color:var(--dfp-green); color:var(--dfp-green); text-decoration:none; }
.dfp-btn-primary { border-color:var(--dfp-green); background:var(--dfp-green); color:#fff; }
.dfp-btn-primary:hover { background:#009f3a; color:#fff; }
.dfp-category-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:15px; }
.dfp-category { display:flex; align-items:center; gap:14px; padding:17px; border-radius:15px; background:#fff; border:1px solid var(--dfp-border); box-shadow:0 8px 24px rgba(0,0,0,.07); text-decoration:none; color:inherit; transition:.18s ease; }
.dfp-category:hover { transform:translateY(-2px); border-color:rgba(0,177,64,.35); text-decoration:none; }
.dfp-category img { width:56px; height:56px; object-fit:cover; border-radius:14px; background:#f0f2f4; }
.dfp-category strong { display:block; font-size:16px; }
.dfp-category small { color:var(--dfp-muted); }
.dfp-table-wrap { width:100%; overflow-x:auto; border-radius:var(--dfp-radius); box-shadow:var(--dfp-shadow); }
.dfp-table-wrap table { width:100% !important; margin:0 !important; border:0 !important; }
.dfp-table-wrap td,.dfp-table-wrap th { border:0 !important; padding:12px 14px !important; }
.dfp-table-wrap tr:nth-child(even) td { background:rgba(0,0,0,.025); }
.dfp-search { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 18px; }
.dfp-search input,.dfp-search select { min-height:42px; box-sizing:border-box; border:1px solid var(--dfp-border); border-radius:10px; padding:0 12px; }
.dfp-admin-nav { max-width:1140px; margin:0 auto 18px; padding:14px; border-radius:18px; background:linear-gradient(135deg,#313335,#252729); box-shadow:var(--dfp-shadow); color:#fff; }
.dfp-admin-nav-head { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:2px 4px 12px; border-bottom:1px solid rgba(255,255,255,.10); }
.dfp-admin-nav-head strong { display:block; font-size:18px; }
.dfp-admin-nav-head span { display:block; color:rgba(255,255,255,.55); font-size:12px; }
.dfp-admin-nav-head small { color:var(--dfp-green-2); font-weight:800; }
.dfp-admin-nav-inner { display:flex; flex-wrap:wrap; gap:7px; padding-top:12px; }
.dfp-admin-link { display:flex; align-items:center; gap:7px; padding:10px 12px; border-radius:10px; color:rgba(255,255,255,.78) !important; text-decoration:none !important; font-size:13px; font-weight:700; }
.dfp-admin-link:hover,.dfp-admin-link.is-active { background:rgba(0,177,64,.18); color:#fff !important; }
.dfp-admin-icon { color:var(--dfp-green-2); font-size:14px; }
.dfp-admin-link .dfp-badge { margin-left:2px; height:19px; min-width:19px; font-size:10px; }
#project-anavi + .tbl-border { border-radius:16px; }
.dfp-status { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; background:rgba(0,177,64,.10); color:#087b35; font-weight:800; font-size:11px; }
.dfp-empty { padding:30px; text-align:center; color:var(--dfp-muted); background:#fff; border:1px dashed rgba(0,0,0,.14); border-radius:16px; }
@media (max-width:700px){
    .dfp-hero { padding:22px; }
    .dfp-grid,.dfp-category-grid { grid-template-columns:1fr; }
    .dfp-admin-link { flex:1 1 calc(50% - 7px); }
}
@media (max-width:460px){ .dfp-admin-link { flex-basis:100%; } }

/* BPR Project list / project.php */
.bpr-project-list { margin: 6px 0 4px; display: grid; grid-template-columns: repeat(var(--bpr-cols,2), minmax(0,1fr)); gap: 18px; }
.bpr-project-list[data-columns="1"] { --bpr-cols:1; }
.bpr-project-list[data-columns="2"] { --bpr-cols:2; }
.bpr-project-list[data-columns="3"] { --bpr-cols:3; }
.bpr-project-list[data-columns="4"] { --bpr-cols:4; }
.bpr-project-list-head { grid-column: 1 / -1; display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 0 0; padding:18px 20px; border:1px solid rgba(0,177,64,.18); border-radius:18px; background:linear-gradient(135deg,#242628,#303335); box-shadow:0 12px 30px rgba(0,0,0,.18); color:#fff; }
.bpr-project-list-head h2 { margin:3px 0 4px; font-size:25px; line-height:1.15; color:#fff; }
.bpr-project-list-head p { margin:0; color:rgba(255,255,255,.62); font-size:12px; }
.bpr-project-kicker { color:#18d65d; font-size:10px; font-weight:900; letter-spacing:.16em; }
.bpr-project-count { min-width:72px; padding:10px 14px; text-align:center; border:1px solid rgba(0,177,64,.35); border-radius:14px; background:rgba(0,177,64,.08); }
.bpr-project-count strong { display:block; color:#18d65d; font-size:23px; line-height:1; }
.bpr-project-count span { display:block; margin-top:4px; color:rgba(255,255,255,.55); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.bpr-project-card { min-width:0; overflow:hidden; border:1px solid rgba(255,255,255,.07); border-radius:20px; background:linear-gradient(145deg,#343638,#292b2d); box-shadow:0 12px 30px rgba(0,0,0,.18); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.bpr-project-card:hover { transform:translateY(-4px); border-color:rgba(0,177,64,.48); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.bpr-project-image { position:relative; display:block; height:175px; overflow:hidden; background:#202224; }
.bpr-project-image:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(0,0,0,.42)); pointer-events:none; }
.bpr-project-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.bpr-project-card:hover .bpr-project-image img { transform:scale(1.045); }
.bpr-project-ribbon { position:absolute; z-index:2; top:12px; left:12px; padding:5px 9px; border-radius:999px; font-size:9px; font-weight:900; letter-spacing:.06em; color:#fff; background:#00b140; box-shadow:0 5px 14px rgba(0,0,0,.25); }
.bpr-project-ribbon.is-updated { background:#313335; border:1px solid rgba(24,214,93,.55); color:#18d65d; }
.bpr-project-body { padding:16px 17px 17px; color:#fff; }
.bpr-project-topline { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:22px; }
.bpr-project-version { color:#18d65d; font-size:11px; font-weight:800; }
.bpr-project-access { color:rgba(255,255,255,.5); font-size:10px; }
.bpr-project-body h3 { margin:7px 0 9px; font-size:19px; line-height:1.2; }
.bpr-project-body h3 a { color:#fff; text-decoration:none; }
.bpr-project-body h3 a:hover { color:#18d65d; }
.bpr-project-status { min-height:20px; color:#18d65d; font-size:11px; font-weight:700; }
.bpr-project-meta { display:flex; flex-wrap:wrap; gap:9px; margin-top:13px; padding-top:12px; border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.55); font-size:10px; }
.bpr-project-meta > span { display:inline-flex; align-items:center; gap:4px; }
.bpr-project-meta a { color:rgba(255,255,255,.78); text-decoration:none; }
.bpr-project-meta a:hover { color:#18d65d; }
.bpr-project-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:12px; }
.bpr-project-tags a { padding:4px 7px; border-radius:7px; background:rgba(0,177,64,.10); border:1px solid rgba(0,177,64,.17); color:#18d65d; font-size:9px; text-decoration:none; }
.bpr-project-tags a:hover { background:rgba(0,177,64,.2); }
.bpr-project-actions { margin-top:15px; }
.bpr-project-open { display:flex; align-items:center; justify-content:center; gap:7px; min-height:38px; border-radius:11px; background:#00b140; color:#fff !important; font-size:12px; font-weight:900; text-decoration:none !important; box-shadow:0 7px 18px rgba(0,177,64,.16); }
.bpr-project-open:hover { background:#18d65d; color:#152017 !important; }
@media (max-width:900px) { .bpr-project-list[data-columns="3"], .bpr-project-list[data-columns="4"] { --bpr-cols:2; } }
@media (max-width:650px) { .bpr-project-list { --bpr-cols:1 !important; } .bpr-project-list-head { align-items:flex-start; flex-direction:column; } .bpr-project-count { align-self:flex-start; } .bpr-project-image { height:155px; } }
