/* Used Car Loan Plugin UI (v1.1.0) */

.ucl-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 */
.ucl-sidebar { width:240px; background:#23502a; color:#fff; padding:20px 0; flex-shrink:0; }
.ucl-sidebar-inner ul { list-style:none; margin:0; padding:0; }
.ucl-sidebar .menu-item { padding:12px 20px; cursor:pointer; transition:background .2s; }
.ucl-sidebar .menu-item:hover, .ucl-sidebar .menu-item.active { background:#2f6a36; }
.ucl-sidebar .menu-item a { color:#fff; text-decoration:none; display:block; }

/* Mobile hamburger (hidden on desktop) */
.ucl-hamburger { display:none; }

/* Main */
.ucl-main { flex:1; padding:25px; }
.ucl-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); }
.ucl-header-sub { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.ucl-header-title { font-size:18px; font-weight:700; color:#164a2c; margin:0; }
.ucl-btn.add { background:#23502a; color:#fff; border:none; border-radius:8px; padding:10px 18px; font-weight:600; cursor:pointer; }
.ucl-btn.add:hover { background:#1d4e24; transform:scale(1.05); }
.ucl-header-separator { height:1px; background:#e5e7eb; margin:20px 0; }

.ucl-bank-title { text-align:center; font-size:22px; font-weight:800; color:#164a2c; margin:10px 0 20px; }
.ucl-bank-logo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:20px; }
.ucl-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:.2s; }
.ucl-bank-logo-item:hover { transform:scale(1.03); box-shadow:0 6px 18px rgba(0,0,0,.1); border-color:#2f6a36; }
.ucl-bank-logo-item img { max-width:120px; height:60px; object-fit:contain; margin:auto; display:block; }

/* Popup */
.ucl-popup { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.55); justify-content:center; align-items:center; z-index:9999; }
.ucl-popup.show { display:flex; }
.ucl-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); }
.ucl-popup-close { position:absolute; right:16px; top:12px; font-size:22px; cursor:pointer; color:#374151; }
.ucl-popup-close:hover { color:#111827; }

/* Form grid */
.ucl-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.ucl-field { display:flex; flex-direction:column; gap:6px; }
.ucl-field label { font-weight:600; color:#203247; }
.ucl-field input { padding:10px; border:1px solid #d1d5db; border-radius:8px; background:#fff; }
.ucl-radio { display:inline-block; margin-right:16px; margin-top:6px; }

.ucl-step { display:none; }
.ucl-step.active { display:block; }

.ucl-form-nav { display:flex; justify-content:space-between; margin-top:14px; gap:10px; }
.ucl-prev, .ucl-next, .ucl-submit { background:#23502a; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; }
.ucl-prev[disabled] { opacity:.6; cursor:not-allowed; }

.ucl-note { font-size:12px; color:#6b7280; margin-top:6px; }

/* Leads table */
.ucl-leads-table {
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}
.ucl-leads-table th, .ucl-leads-table td {
  border:1px solid #e5e7eb;
  padding:10px 12px;
  text-align:center;
  font-size:14px;
}
.ucl-leads-table th { background:#23502a; color:#fff; font-weight:700; }
.ucl-leads-table tr:hover td { background:#f3f6f4; }

.ucl-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 footer + responsiveness */
.ucl-mobile-footer { display:none; }
@media (max-width:900px){
  .ucl-wrap { flex-direction:column; }
  .ucl-sidebar { position:fixed; left:-240px; top:0; bottom:0; width:240px; transition:left .3s; z-index:9999; }
  .ucl-sidebar.open { left:0; }
  .ucl-hamburger { display:block; position:fixed; top:15px; left:15px; background:#23502a; color:#fff; border:none; border-radius:6px; padding:8px 12px; z-index:10000; }

  .ucl-main { padding:70px 15px 80px; }
  .ucl-grid { grid-template-columns:1fr; }
  .ucl-header-sub { flex-direction:column; gap:10px; align-items:center; }

  .ucl-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;
  }
  .ucl-mobile-footer .footer-item { text-align:center; flex:1; font-size:13px; color:#374151; }
  .ucl-mobile-footer .footer-item.active { color:#2f6a36; font-weight:700; }
}
