/* ===== Base / Theme ===== */
.el-wrap { display:flex; min-height:100vh; font-family:"Segoe UI", Roboto, Arial, sans-serif; background:#f5f7fa; color:#1f2937; }
.req { color:#e11d48; font-weight:700; }

/* Sidebar */
.el-sidebar { width:240px; background:#23502a; color:#fff; padding:20px 0; flex-shrink:0; }
.el-sidebar-inner ul { list-style:none; margin:0; padding:0; }
.el-sidebar .menu-item { padding:12px 20px; cursor:pointer; transition:background .2s; }
.el-sidebar .menu-item:hover, .el-sidebar .menu-item.active { background:#2f6a36; }
.el-sidebar .menu-item a { color:#fff; text-decoration:none; display:block; }

/* Mobile hamburger */
.el-hamburger { display:none; }

/* Main */
.el-main { flex:1; padding:25px; }
.el-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); }
.el-header-sub { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.el-header-title { font-size:18px; font-weight:700; color:#164a2c; margin:0; }
.el-btn.add { background:#23502a; color:#fff; border:none; border-radius:8px; padding:10px 18px; font-weight:600; cursor:pointer; }
.el-btn.add:hover { background:#1d4e24; transform:scale(1.05); }
.el-header-separator { width:100%; height:1px; background:#e5e7eb; margin:20px 0; }

/* Partners grid */
.el-bank-title { text-align:center; font-size:22px; font-weight:800; color:#164a2c; margin:10px 0 20px; }
.el-bank-logo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:20px; }
.el-bank-logo-item { background:#fff; border:1px solid #e0e0e0; border-radius:12px; padding:18px; text-align:center; box-shadow:0 4px 12px rgba(0,0,0,.05); cursor:pointer; transition:transform .2s, box-shadow .2s, border-color .2s; }
.el-bank-logo-item:hover { transform:scale(1.03); box-shadow:0 6px 18px rgba(0,0,0,.1); border-color:#2f6a36; }
.el-bank-logo-item img { max-width:120px; height:60px; object-fit:contain; margin:0 auto; display:block; }

/* Popup */
.el-popup { display:none; position:fixed !important; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.55); justify-content:center !important; align-items:center !important; z-index:9999; }
.el-popup.show { display:flex !important; }
.el-popup-content { background:#fff; border-radius:12px; width:95%; max-width:900px; max-height:90vh; overflow-y:auto; padding:22px 24px; position:relative; box-shadow:0 10px 30px rgba(0,0,0,.25); }
.el-popup-close { position:absolute; right:16px; top:12px; font-size:22px; line-height:1; cursor:pointer; color:#374151; }
.el-popup-close:hover { color:#111827; }

/* Form grid */
.el-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.el-field { display:flex; flex-direction:column; gap:6px; }
.el-field label { font-weight:600; color:#203247; }
.el-field input, .el-field textarea { padding:10px; border:1px solid #d1d5db; border-radius:8px; background:#fff; }
.el-radio { display:inline-block; margin-right:16px; margin-top:6px; }

.el-step { display:none; }
.el-step.active { display:block; }

.el-form-nav { display:flex; justify-content:space-between; gap:10px; margin-top:14px; }
.el-prev, .el-next, .el-submit { background:#23502a; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; }
.el-prev[disabled]{ opacity:.6; cursor:not-allowed; }

.el-note { font-size:12px; color:#6b7280; margin-top:6px; }

/* Leads table */
.el-leads-table {
  width:100%; border-collapse:collapse; background:#fff;
  border-radius:10px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.el-leads-table th, .el-leads-table td {
  border:1px solid #e5e7eb; padding:10px 12px; text-align:center; font-size:14px;
}
.el-leads-table th { background:#23502a; color:#fff; font-weight:700; }
.el-leads-table tr:hover td { background:#f3f6f4; }
.el-status { padding:4px 10px; border-radius:20px; color:#fff; font-size:12px; font-weight:600; }
.status-process  { background:#facc15; color:#000; }
.status-login    { background:#3b82f6; }
.status-approved { background:#16a34a; }
.status-complete { background:#8b5cf6; }
.status-rejected { background:#dc2626; }

/* Mobile */
.el-mobile-footer { display:none; }
@media (max-width:900px){
  .el-wrap { flex-direction:column; }
  .el-sidebar { position:fixed; left:-240px; top:0; bottom:0; width:240px; transition:left .3s; z-index:9999; }
  .el-sidebar.open { left:0; }
  .el-hamburger { display:block; position:fixed; top:15px; left:15px; background:#23502a; color:#fff; border:none; border-radius:6px; padding:8px 12px; z-index:10000; }
  .el-main { padding:70px 15px 80px; }
  .el-grid { grid-template-columns:1fr; }
  .el-header-sub { flex-direction:column; gap:10px; align-items:center; }
  .el-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; }
  .el-mobile-footer .footer-item { text-align:center; flex:1; font-size:13px; color:#374151; }
  .el-mobile-footer .footer-item.active { color:#2f6a36; font-weight:700; }
}
