/* ==========================================
   e-Library24x7 OPAC Premium Theme v2.0
========================================== */

:root{
    --primary:#2563eb;
    --secondary:#0ea5e9;
    --dark:#0f172a;
    --light:#f8fafc;
    --text:#334155;
    --radius:18px;
}

body.opac-theme{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:var(--text);
    overflow-x:hidden;
}

a{
    transition:.3s;
}

.section-title{
    font-size:30px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:30px;
}

.container{
    max-width:1280px;
}

.btn-search{

    height:48px;

    width:100%;

    border-radius:12px;

    font-weight:600;

    background:#2563eb;

    border:none;

}

.hero-search{

    position:relative;

    padding:90px 0;

    background:url('../images/library-banner.jpg');

    background-size:cover;

    background-position:center;

    border-radius:18px;

    overflow:hidden;

    margin-bottom:35px;

}

.hero-search:before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    135deg,
    rgba(9,18,43,.85),
    rgba(37,99,235,.45));

}

.hero-content{

    position:relative;

    z-index:10;

    color:#fff;

    text-align:center;

}

.hero-content h1{

    font-size:48px;

    font-weight:700;

}

.hero-content p{

    font-size:18px;

    margin-bottom:35px;

}

.hero-search .form-control{

    height:50px;

    border-radius:12px;

    border:none;

}

.hero-search-form{
    margin-top:40px;
}

.hero-search-form .form-control{
    height:52px;
    border-radius:12px;
    border:none;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.btn-search{
    width:100%;
    height:52px;
    border-radius:12px;
    font-weight:600;
    font-size:16px;
}

/*==========================
Statistics
===========================*/

.stats-section{
    margin-top:-55px;
    position:relative;
    z-index:50;
    margin-bottom:50px;
}

.stat-card{

    background:#fff;

    border-radius:18px;

    padding:28px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    margin-bottom:20px;
}

.stat-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 50px rgba(37,99,235,.15);

}

.stat-card i{

    font-size:34px;

    color:#2563eb;

    margin-bottom:15px;

}

.stat-card h2{

    font-size:34px;

    margin:0;

    font-weight:700;

    color:#0f172a;

}

.stat-card span{

    color:#64748b;

    font-size:15px;

}
.section-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:25px;
    border-bottom:2px solid #eef2f7;
    padding-bottom:12px;
}

.section-header h2{
    margin:0;
    font-size:30px;
    font-weight:700;
    color:#0f172a;
}

.section-header p{
    margin:8px 0 0;
    color:#64748b;
}

/* ==========================
   Quick Actions
========================== */

.quick-actions{
    margin:35px 0;
}

.action-card{
    display:block;
    background:#fff;
    padding:22px;
    border-radius:16px;
    text-align:center;
    text-decoration:none;
    color:#334155;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s;
    height:100%;
}

.action-card:hover{
    transform:translateY(-6px);
    text-decoration:none;
    color:#2563eb;
    box-shadow:0 18px 40px rgba(37,99,235,.18);
}

.action-card i{
    font-size:32px;
    margin-bottom:12px;
    color:#2563eb;
}

.action-card span{
    display:block;
    font-size:16px;
    font-weight:600;
}

.book-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

    margin-bottom:30px;

}

.book-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.book-cover{

    position:relative;

    height:300px;

    overflow:hidden;

    background:#f4f7fb;

}

.book-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.4s;

}

.book-card:hover img{

    transform:scale(1.05);

}

.book-status{

    position:absolute;

    top:15px;

    right:15px;

    background:#16a34a;

    color:#fff;

    padding:5px 12px;

    border-radius:30px;

    font-size:12px;

}

.book-body{

    padding:18px;

}

.book-title{

    font-size:18px;

    font-weight:700;

    min-height:52px;

    margin-bottom:12px;

    color:#0f172a;

}

.book-author,
.book-category{

    color:#64748b;

    margin-bottom:10px;

}

.book-body .btn{

    margin-top:15px;

    border-radius:10px;

}

.book-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.book-body{
    flex:1;
    display:flex;
    flex-direction:column;
}

.book-body .btn{
    margin-top:auto;
}

.book-cover{
    height:340px;
}

.book-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ==========================
   Sidebar
========================== */

.sidebar-card{

    background:#fff;

    border-radius:18px;

    padding:22px;

    margin-bottom:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.sidebar-card h3{

    margin:0 0 18px;

    font-size:20px;

    font-weight:700;

    color:#0f172a;

}

.sidebar-card h3 i{

    color:#2563eb;

    margin-right:8px;

}

.sidebar-list{

    list-style:none;

    padding:0;

    margin:0;

}

.sidebar-list li{

    border-bottom:1px solid #edf2f7;

}

.sidebar-list li:last-child{

    border-bottom:none;

}

.sidebar-list li a{

    display:block;

    padding:12px 0;

    color:#475569;

    text-decoration:none;

    transition:.3s;

}

.sidebar-list li a:hover{

    color:#2563eb;

    padding-left:8px;

}

.sidebar-card .form-control{

    height:48px;

    border-radius:10px;

}