/* Group Loan Listing — same theme UI */
.group-wrap { display:flex; min-height:100vh; font-family:"Segoe UI", Roboto, Arial, sans-serif; background:#f5f7fa; color:#1f2937; }

/* Sidebar */
.group-sidebar { width:240px; background:#23502a; color:#fff; padding:20px 0; flex-shrink:0; }
.group-sidebar-inner ul { list-style:none; margin:0; padding:0; }
.group-sidebar .menu-item { padding:12px 20px; cursor:pointer; transition:background .2s; }
.group-sidebar .menu-item:hover, .group-sidebar .menu-item.active { background:#2f6a36; }
.group-sidebar .menu-item a { color:#fff; text-decoration:none; display:block; }

/* Mobile hamburger */
.group-hamburger { display:none; }

/* Main */
.group-main { flex:1; padding:25px; }
.group-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); }
.group-header-sub { display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; }
.group-header-title { font-size:18px; font-weight:700; color:#164a2c; margin:0; }
.group-header-separator { width:100%; height:1px; background:#e5e7eb; margin:20px 0; }

.group-bank-title { text-align:center; font-size:22px; font-weight:800; color:#164a2c; margin:10px 0 20px; }

/* Cards */
.group-bank-logo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:20px; }
.group-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:transform .2s, box-shadow .2s, border-color .2s; }
.group-bank-card:hover { transform:scale(1.02); box-shadow:0 6px 18px rgba(0,0,0,.08); border-color:#2f6a36; }
.group-bank-logo-item img { max-width:140px; height:70px; object-fit:contain; margin:0 auto 12px; display:block; }

.group-btn.login { display:inline-block; background:#23502a; color:#fff; text-decoration:none; border:none; border-radius:8px; padding:10px 16px; font-weight:700; }
.group-btn.login:hover { background:#1d4e24; }

/* Mobile footer */
.group-mobile-footer { display:none; }
@media (max-width:900px){
  .group-wrap { flex-direction:column; }
  .group-sidebar { position:fixed; left:-240px; top:0; bottom:0; width:240px; transition:left .3s; z-index:9999; }
  .group-sidebar.open { left:0; }
  .group-hamburger { display:block; position:fixed; top:15px; left:15px; background:#23502a; color:#fff; border:none; border-radius:6px; padding:8px 12px; z-index:10000; }
  .group-main { padding:70px 15px 80px; }
  .group-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; }
  .group-mobile-footer .footer-item { text-align:center; flex:1; font-size:13px; color:#374151; }
  .group-mobile-footer .footer-item.active { color:#2f6a36; font-weight:700; }
}

/* Popup modal — centered overlay */
.service-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}
.service-popup.show {
  display: flex;
}

.service-popup .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;
  color: #1f2937;
  animation: popupFadeIn 0.25s ease-in-out;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.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;
}

