body{
    margin:0;
    font-family:Segoe UI,sans-serif;
    background:#f4f8ff;
}

.dsa-hero{
    background:linear-gradient(135deg,#0b3558,#114f7a);
    color:white;
    text-align:center;
    padding:70px 20px 120px;
}

.dsa-hero h1{
    font-size:52px;
    font-weight:900;
}

.dsa-hero span{
    color:#60a5fa;
}

.hero-top-tag{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background:rgba(255,255,255,.15);
    margin-bottom:20px;
    font-size:12px;
    font-weight:700;
}

.dsa-container{
    max-width:1200px;
    margin:-70px auto 60px;
    display:grid;
    grid-template-columns:420px 1fr;
    gap:40px;
    padding:0 20px;
}

.dsa-form-card{
    background:white;
    padding:30px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.dsa-form-card input{
    width:100%;
    padding:14px;
    margin-bottom:14px;
    border:1px solid #ddd;
    border-radius:12px;
}

.dsa-form-card button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#0d6efd;
    color:white;
    font-weight:700;
    cursor:pointer;
}

.agree-box{
    display:flex;
    gap:10px;
    font-size:14px;
    margin-bottom:16px;
}

.why-dsa h2{
    margin-bottom:25px;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.benefit-card{
    background:white;
    padding:20px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s;
}

.benefit-card:hover{
    transform:translateY(-6px);
}

.login-box{
    display:block;
    margin-top:25px;
    padding:20px;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    color:white;
    text-decoration:none;
    font-weight:700;
    text-align:center;
}

@media(max-width:900px){
    .dsa-container{
        grid-template-columns:1fr;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }
}

.single-card{
    grid-template-columns:1fr;
    max-width:500px;
    margin:-70px auto 60px;
}

.login-card{
    width:100%;
}

.switch-auth{
    margin-top:18px;
    text-align:center;
    font-size:14px;
    color:#64748b;
}

.switch-auth a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}


.dashboard{
    display:flex;
    min-height:100vh;
    background:#f4f8ff;
}

.sidebar{
    width:260px;
    background:#0f172a;
    color:#fff;
    padding:30px;
}

.sidebar ul{
    list-style:none;
    padding:0;
}

.sidebar li{
    padding:14px 0;
    cursor:pointer;
}

.main-content{
    flex:1;
    padding:40px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:30px 0;
}

.stat-card{
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    font-weight:700;
}

.lead-form-card{
    background:#fff;
    padding:20px;
    border-radius:20px;
    margin-bottom:30px;
}

.lead-form-card input,
.lead-form-card select{
    width:100%;
    padding:14px;
    margin-bottom:14px;
    border-radius:12px;
    border:1px solid #ddd;
}

.lead-form-card button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-weight:700;
}

.leads-table{
    background:#fff;
    padding:30px;
    border-radius:20px;
}

table{
    width:100%;
    border-collapse:collapse;
}

th,td{
    padding:14px;
    border-bottom:1px solid #eee;
}



.table-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

#addLeadBtn{
    background:#2563eb;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

.status-badge{
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.status-badge.pending{
    background:#fef3c7;
    color:#92400e;
}

.status-badge.approved{
    background:#dcfce7;
    color:#166534;
}

.status-badge.rejected{
    background:#fee2e2;
    color:#991b1b;
}




.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.modal-overlay.active{
    display:flex;
}

.modal-box{
    background:#fff;
    padding:30px;
    border-radius:20px;
    width:500px;
    max-width:90%;
}

.modal-box input{
    width:100%;
    margin-bottom:12px;
    padding:12px;
}

.close-btn{
    float:right;
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --sidebar-width: 260px;
    --primary-blue: #2563eb;
    --bg-light: #f8fafc;
    --glass-white: rgba(255, 255, 255, 0.9);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

.dashboard {
    display: flex;
    min-height: 100vh;
}

/* --- SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background: #0f172a; /* Dark Navy */
    color: white;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    transition: 0.3s ease;
}

.sidebar h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: #38bdf8;
    text-align: center;
}

.sidebar ul { list-style: none; }

.sidebar li {
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.sidebar li:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

/* --- MAIN CONTENT --- */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 40px;
    animation: fadeIn 0.8s ease;
}

h1 { font-size: 1.8rem; margin-bottom: 30px; font-weight: 700; }
h1 span { color: var(--primary-blue); }

/* --- STATS GRID --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card span {
    font-size: 2rem;
    color: var(--text-main);
    font-weight: 800;
}

/* --- CARDS & FORMS --- */
section {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}

h2 { margin-bottom: 20px; font-size: 1.3rem; }

input, select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 15px;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

button:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* --- TABLE STYLING --- */
.leads-table { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    text-align: left;
    padding: 15px;
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f1f5f9;
}

td {
    padding: 18px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

tr:hover { background: #fbfcfe; }

/* Status Badges */
.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dcfce7; color: #166534; }

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MODAL --- */
.modal-overlay {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.modal-box {
    background: white;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


.blue { border-left:5px solid #2563eb; }
.green { border-left:5px solid #10b981; }
.yellow { border-left:5px solid #f59e0b; }
.red { border-left:5px solid #ef4444; }
.purple { border-left:5px solid #7c3aed; }

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}



/* =========================================
   GLOBAL RESPONSIVE IMPROVEMENTS
========================================= */

html {
    scroll-behavior: smooth;
}

/* =========================================
   FORM GRID RESPONSIVE
========================================= */
.form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
}

/* =========================================
   ENHANCED INPUT / SELECT / TEXTAREA
========================================= */
textarea{
    width:100%;
    padding:14px 18px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#f8fafc;
    resize:vertical;
    min-height:100px;
    font-size:15px;
    transition:.3s;
}

textarea:focus,
select:focus{
    outline:none;
    border-color:#2563eb;
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.1);
}

/* =========================================
   BUTTON VARIANTS
========================================= */
.btn-green{
    background:#10b981 !important;
}

.btn-red{
    background:#ef4444 !important;
}

.btn-yellow{
    background:#f59e0b !important;
}

.btn-purple{
    background:#7c3aed !important;
}

.btn-secondary{
    background:#64748b !important;
}

/* =========================================
   BETTER TABLE STYLING
========================================= */
table tr{
    transition:.25s;
}

table tr:hover{
    background:#f8fbff;
    transform:scale(1.002);
}

/* =========================================
   STATUS BADGES EXPANDED
========================================= */
.status-badge.on-hold{
    background:#fef3c7;
    color:#92400e;
}

.status-badge.documents-required{
    background:#dbeafe;
    color:#1d4ed8;
}

.status-badge.disbursed{
    background:#dcfce7;
    color:#166534;
}

.status-badge.converted-to-application{
    background:#ede9fe;
    color:#5b21b6;
}

.status-badge.pending-admin-approval{
    background:#fff7ed;
    color:#c2410c;
}

/* =========================================
   MODAL IMPROVEMENTS
========================================= */
.modal-box{
    max-height:90vh;
    overflow-y:auto;
    scrollbar-width:thin;
}

.modal-box::-webkit-scrollbar{
    width:6px;
}

.modal-box::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:10px;
}

/* =========================================
   CARD HOVER ANIMATION
========================================= */
section:hover,
.leads-table:hover,
.lead-form-card:hover,
.profile-card:hover{
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.3s;
}

/* =========================================
   SIDEBAR ACTIVE / HOVER EFFECT
========================================= */
.sidebar li.active{
    background:linear-gradient(90deg,#2563eb,#3b82f6);
    color:#fff;
    font-weight:700;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media(max-width:992px){

    .sidebar{
        width:220px;
    }

    .main-content{
        margin-left:220px;
        padding:25px;
    }
}

@media(max-width:768px){

    .dashboard{
        flex-direction:column;
    }

    .sidebar{
        position:relative;
        width:100%;
        height:auto;
        padding:20px;
    }

    .main-content{
        margin-left:0;
        padding:20px;
    }

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .modal-box{
        width:95%;
        padding:25px;
    }
}

@media(max-width:500px){

    .stats-grid{
        grid-template-columns:1fr;
    }

    h1{
        font-size:1.4rem;
    }

    h2{
        font-size:1.1rem;
    }

    button{
        padding:12px 18px;
        font-size:14px;
    }
}

/* =========================================
   LOADING SPINNER (OPTIONAL)
========================================= */
.loader{
    width:18px;
    height:18px;
    border:3px solid #fff;
    border-top:3px solid transparent;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* =========================================
   FADE-IN UTILITY
========================================= */
.fade-in{
    animation:fadeIn .5s ease;
}

/* =========================================
   SHAKE ERROR ANIMATION
========================================= */
.shake{
    animation:shake .4s ease;
}

@keyframes shake{
    0%,100%{transform:translateX(0);}
    25%{transform:translateX(-5px);}
    75%{transform:translateX(5px);}
}











@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================
   ROOT VARIABLES
========================= */
:root{
    --sidebar-width:260px;

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --bg:#f4f8ff;
    --white:#ffffff;

    --text:#1e293b;
    --muted:#64748b;

    --border:#e2e8f0;

    --shadow-sm:0 4px 10px rgba(0,0,0,.05);
    --shadow-md:0 12px 30px rgba(0,0,0,.08);
    --shadow-lg:0 18px 40px rgba(0,0,0,.12);
}

/* =========================
   GLOBAL
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

/* =========================
   DASHBOARD LAYOUT
========================= */
.dashboard{
    display:flex;
    min-height:100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar{
    width:var(--sidebar-width);
    background:linear-gradient(180deg,#0f172a,#1e293b);
    color:#fff;
    padding:30px 20px;
    position:fixed;
    height:100vh;
    box-shadow:var(--shadow-lg);
    z-index:100;
}

.sidebar h2{
    text-align:center;
    margin-bottom:35px;
    font-size:22px;
    font-weight:800;
    color:#38bdf8;
}

.sidebar ul{
    list-style:none;
}

.sidebar li{
    padding:14px 18px;
    margin-bottom:10px;
    border-radius:14px;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
    color:#cbd5e1;
}

.sidebar li:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
    transform:translateX(6px);
}

/* =========================
   MAIN CONTENT
========================= */
.main-content{
    margin-left:var(--sidebar-width);
    flex:1;
    padding:35px;
    animation:fadeIn .7s ease;
}

.main-content h1{
    font-size:32px;
    font-weight:800;
    margin-bottom:25px;
}

.main-content h1 span{
    color:var(--primary);
}

/* =========================
   STATS GRID
========================= */
.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:35px;
}

.stat-card{
    background:var(--white);
    border-radius:22px;
    padding:24px;
    box-shadow:var(--shadow-sm);
    transition:.35s;
    position:relative;
    overflow:hidden;
    font-weight:700;
    color:var(--muted);
    border:1px solid #eef2f7;
}

.stat-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-md);
}

.stat-card span{
    display:block;
    margin-top:12px;
    font-size:34px;
    font-weight:900;
    color:var(--text);
}

.blue{border-left:6px solid #2563eb;}
.green{border-left:6px solid #10b981;}
.yellow{border-left:6px solid #f59e0b;}
.red{border-left:6px solid #ef4444;}
.purple{border-left:6px solid #7c3aed;}

/* =========================
   SECTION CARDS
========================= */
section{
    background:var(--white);
    border-radius:24px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:var(--shadow-sm);
    border:1px solid #eef2f7;
    animation:fadeIn .7s ease;
}

section h2{
    margin-bottom:22px;
    font-size:22px;
    font-weight:800;
}

/* =========================
   FORM GRID
========================= */
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

/* =========================
   INPUTS
========================= */
input,
select,
textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#f8fafc;
    font-size:14px;
    transition:.3s;
    margin-bottom:15px;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:var(--primary);
    background:#fff;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

/* =========================
   BUTTONS
========================= */
button{
    border:none;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    color:#fff;
    padding:14px 24px;
    border-radius:14px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    width:100%;
    box-shadow:0 8px 18px rgba(37,99,235,.25);
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(37,99,235,.35);
}

/* =========================
   TABLE
========================= */
.leads-table{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

th{
    padding:16px;
    text-align:left;
    font-size:13px;
    color:var(--muted);
    text-transform:uppercase;
    border-bottom:2px solid #eef2f7;
}

td{
    padding:18px 16px;
    border-bottom:1px solid #f1f5f9;
    font-size:14px;
}

tr{
    transition:.25s;
}

tr:hover{
    background:#f8fbff;
}

/* =========================
   STATUS BADGES
========================= */
.status-badge{
    padding:7px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:800;
    display:inline-block;
}

.status-badge.pending-admin-approval{
    background:#fef3c7;
    color:#92400e;
}

.status-badge.approved{
    background:#dcfce7;
    color:#166534;
}

.status-badge.rejected{
    background:#fee2e2;
    color:#991b1b;
}

.status-badge.converted-to-application{
    background:#dbeafe;
    color:#1d4ed8;
}

/* =========================
   MODAL
========================= */
.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.65);
    backdrop-filter:blur(8px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.modal-overlay.active{
    display:flex;
}

.modal-box{
    background:#fff;
    width:90%;
    max-width:750px;
    padding:35px;
    border-radius:26px;
    box-shadow:var(--shadow-lg);
    animation:modalPop .35s ease;
    max-height:90vh;
    overflow-y:auto;
}

.close-btn{
    float:right;
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
    color:#64748b;
    width:auto;
    box-shadow:none;
}

.close-btn:hover{
    transform:none;
    color:#ef4444;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(12px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes modalPop{
    from{
        opacity:0;
        transform:scale(.92);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:992px){

    .sidebar{
        width:220px;
    }

    .main-content{
        margin-left:220px;
        padding:25px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .dashboard{
        flex-direction:column;
    }

    .main-content{
        margin-left:0;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .form-grid{
        grid-template-columns:1fr;
    }
}


.partner-heading{
    display:flex;
    align-items:center;
    justify-content:center;   /* centers full heading */
    gap:8px;
    flex-wrap:wrap;           /* wraps nicely on mobile */

    font-size:46px;
    font-weight:800;
    color:#f7f8fa;
    line-height:1.1;
    text-align:center;
}

.partner-heading span{
    display:flex;
    align-items:center;
}

.bmap-logo{
    height:100px;
    width:auto;
    object-fit:contain;
    display:block;
}











