/* ===== Base ===== */
.pf-wrap { display:flex; min-height:100vh; font-family:"Segoe UI", Roboto, Arial, sans-serif; background:#f5f7fa; color:#1f2937; }

/* ===== Sidebar ===== */
.pf-sidebar { width:240px; background:#23502a; color:#fff; padding:20px 0; flex-shrink:0; }
.pf-sidebar-inner ul { list-style:none; margin:0; padding:0; }
.pf-sidebar .menu-item { padding:12px 20px; cursor:pointer; transition:background .2s; }
.pf-sidebar .menu-item:hover, .pf-sidebar .menu-item.active { background:#2f6a36; }
.pf-sidebar .menu-item a { color:#fff; text-decoration:none; display:block; }

/* ===== Main ===== */
.pf-main { flex:1; padding:25px; }
.pf-header-section { background:#fff; border-bottom:1px solid #e5e7eb; border-radius:10px; padding:20px; margin-bottom:25px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,.05); }
.pf-header-title { font-size:18px; font-weight:700; color:#164a2c; }
.pf-header-separator { width:100%; height:1px; background:#e5e7eb; margin:20px 0; }
.pf-bank-title { text-align:center; font-size:22px; font-weight:800; color:#164a2c; margin:10px 0 20px; }

/* ===== Partner card ===== */
.pf-bank-logo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px; }
.pf-bank-card { background:#fff; border:1px solid #e0e0e0; border-radius:12px; padding:18px; text-align:center; box-shadow:0 4px 12px rgba(0,0,0,.05); transition:.2s; }
.pf-bank-card:hover { transform:scale(1.02); box-shadow:0 6px 18px rgba(0,0,0,.08); border-color:#2f6a36; }
.pf-bank-logo-item img { max-width:140px; height:70px; margin:0 auto 12px; display:block; }
.pf-btn.login { background:#23502a; color:#fff; border:none; border-radius:8px; padding:10px 16px; font-weight:700; cursor:pointer; width:100%; }
.pf-btn.login:hover { background:#1d4e24; }

/* ===== Popup ===== */
.service-popup { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); justify-content:center; align-items:center; z-index:9999; }
.service-popup.show { display:flex; }
.popup-content { background:#fff; border-radius:12px; padding:28px 32px; max-width:480px; width:90%; text-align:center; box-shadow:0 10px 25px rgba(0,0,0,0.3); position:relative; }
.popup-close { position:absolute; top:10px; right:14px; font-size:22px; cursor:pointer; color:#374151; }
.popup-close:hover { color:#111827; }
.popup-content h3 { color:#164a2c; font-size:20px; font-weight:700; margin-bottom:10px; }
.popup-content p { font-size:15px; color:#374151; margin-bottom:14px; line-height:1.5; }
.popup-ok { background:#23502a; color:#fff; border:none; border-radius:8px; padding:10px 18px; font-weight:600; cursor:pointer; }
.popup-ok:hover { background:#1d4e24; }

/* ===== Mobile Footer ===== */
.pf-mobile-footer { display:none; }

/* ===== Hamburger ===== */
.pf-hamburger { display:none; }

/* ===== Responsive (Mobile only) ===== */
@media (max-width:900px){
  .pf-wrap { flex-direction:column; }
  .pf-sidebar { position:fixed; left:-240px; top:0; bottom:0; width:240px; transition:left .3s; z-index:9999; }
  .pf-sidebar.open { left:0; }
  .pf-hamburger { display:block; position:fixed; top:15px; left:15px; background:#23502a; color:#fff; border:none; border-radius:6px; padding:8px 12px; z-index:10000; }
  .pf-main { padding:70px 15px 80px; }
  .pf-mobile-footer { display:flex; justify-content:space-around; align-items:center; background:#fff; border-top:1px solid #ddd; padding:10px 0; position:fixed; bottom:0; left:0; width:100%; z-index:9999; }
  .pf-mobile-footer .footer-item { text-align:center; flex:1; font-size:13px; color:#374151; }
  .pf-mobile-footer .footer-item.active { color:#2f6a36; font-weight:700; }
}
