/* ===========================
   HOMEPAGE LAYOUT
=========================== */

.dashboard-home{

    width:100%;

    max-width:100%;

}

body[data-md-page="index"] .md-main__inner{

    max-width:none;

}

body[data-md-page="index"] .md-content{

    flex:1;

    max-width:100%;

}

body[data-md-page="index"] .md-content__inner{

    margin:0;

    padding:0;

    max-width:none;

}

body[data-md-page="index"] article{

    max-width:none;

}

#app{

    width:min(1800px,96vw);

    margin:auto;

    padding:40px;

} /*HomePage*/

body[data-md-page="index"] .md-sidebar--secondary{

    display:none !important;

}

body[data-md-page="index"] .md-main__inner{

    grid-template-columns:1fr !important;

} /*Sidebar Hide*/

.stats-section{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

    margin:50px 0;

}

.stat-card{
    background:#fff;
    border-radius:14px;
    padding:28px;
    text-align:center;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    transition:.25s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h2{
    font-size:42px;
    color:#d32f2f;
    margin:0;
}

.stat-card span{
    color:#666;
    font-size:15px;
}

.department-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.department-card{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 8px 25px rgba(0,0,0,.08);

transition:.3s;

}

.department-card:hover{

transform:translateY(-5px);

}

.content-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:40px;

    margin-top:60px;

}

.quick-links{

display:flex;

flex-direction:column;

gap:15px;

}

.quick-links a{

background:white;

padding:18px;

border-radius:10px;

text-decoration:none;

box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.portal-footer{

margin-top:80px;

padding:40px;

text-align:center;

border-top:1px solid #e5e7eb;

color:#6b7280;

}

#search-results{

background:white;

border-radius:12px;

margin-top:15px;

overflow:hidden;

box-shadow:0 12px 35px rgba(0,0,0,.15);

}

.search-item{

padding:14px 18px;

border-bottom:1px solid #eee;

}

.search-item:hover{

background:#f8fafc;

}

.recent-card{
    background:white;
    padding:18px;
    margin-bottom:12px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.recent-card a{
    text-decoration:none;
    color:#222;
    font-weight:600;
}

.recent-card small{
    display:block;
    color:#777;
    margin-top:6px;
}

.department-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.department-link h3{
    margin-bottom:10px;
    color:#1e3a8a;
}

.department-link p{
    color:#666;
    font-size:14px;
}

#app{
    width:100%;
    margin:auto;
    padding: 40px;
}

.hero{

    width:100%;

    background:linear-gradient(135deg,#0f172a,#1e3a8a);

    color:#fff;

    min-height:460px;

    display:flex;

    align-items:center;

    padding:0 80px;

    margin:0;
}

.hero h1{

    font-size:56px;

    margin:20px 0;

    color:white;

}

.hero p{

    color:#dbeafe;

    font-size:18px;

    max-width:700px;

    line-height:1.7;

}

.hero-search{

    margin-top:35px;

    display:flex;

    gap:15px;

}

.hero-search input{

    flex:1;

    padding:18px;

    border:none;

    border-radius:10px;

    font-size:16px;

}

.hero-search button{

    padding:18px 35px;

    border:none;

    border-radius:10px;

    background:#2563eb;

    color:white;

    cursor:pointer;

}

body[data-md-page="index"] .md-path,
body[data-md-page="index"] .md-breadcrumbs{

    display:none !important;

}

/* ==========================================
   RECENT DOCUMENTS
========================================== */

.recent-section{

    margin:70px auto;

}

.recent-section h2{

    font-size:30px;

    margin-bottom:25px;

}

.recent-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

}

.recent-card{

    background:white;

    border-radius:15px;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.recent-card:hover{

    transform:translateY(-6px);

}

.recent-card a{

    text-decoration:none;

    font-weight:600;

    font-size:18px;

    color:#1e3a8a;

}

.recent-card small{

    display:block;

    margin-top:12px;

    color:#666;

}

/* ==========================================
   QUICK ACCESS
========================================== */

.quick-access{

    margin:70px 0;

}

.quick-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:24px;

}

.quick-card{

    display:block;

    background:#fff;

    padding:24px;

    border-radius:14px;

    text-decoration:none;

    color:inherit;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    transition:.25s;

}

.quick-card:hover{

    transform:translateY(-4px);

    box-shadow:0 14px 32px rgba(0,0,0,.12);

}

.quick-card h3{

    margin-bottom:12px;

    color:#1e3a8a;

}

.quick-card p{

    margin:0;

    color:#666;

}