

/* ===========================
   Previous Papers
=========================== */

.previous-papers-section{

    padding:80px 0;

    background:#f8fafc;

}

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    font-size:48px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:15px;

}

.section-title p{

    font-size:18px;

    color:#64748b;

}

.papers-grid{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.paper-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#fff;

    border:1px solid #e2e8f0;

    border-radius:16px;

    padding:24px 30px;

    box-shadow:0 10px 25px rgba(15,23,42,.06);

    transition:all .3s ease;

}

.paper-card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 40px rgba(15,23,42,.10);

}

.paper-content h3{

    font-size:24px;

    font-weight:700;

    color:#1e3a8a;

    margin-bottom:12px;

}



.paper-actions{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.paper-actions .btn{

    min-width:120px;

    text-align:center;

}

.paper-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#fee2e2;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

}

.paper-icon i{

    font-size:34px;

    color:#dc2626;

}

.no-paper{

    background:#fff;

    border-radius:12px;

    padding:40px;

    text-align:center;

    font-size:18px;

    color:#64748b;

    border:1px solid #e2e8f0;

}

.paper-left{

    display:flex;

    align-items:center;

    gap:22px;

    flex:1;

}

.paper-meta{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

}

.paper-meta span{

    font-size:15px;

    color:#64748b;

}

.paper-actions{

    display:flex;

    gap:12px;

    margin-left:20px;

}

.paper-actions .btn{

    min-width:120px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

}

/* ===========================
   Responsive
=========================== */

@media(max-width:768px){

    .paper-card{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

    .paper-left{

        width:100%;

        flex-direction:column;

        align-items:flex-start;

    }

    .paper-meta{

        flex-direction:column;

        gap:8px;

    }

    .paper-actions{

        width:100%;

        margin-left:0;

    }

    .paper-actions .btn{

        flex:1;

    }

    .section-title h2{

        font-size:34px;

    }

}

/*======================================
Previous Papers Filter
======================================*/

.paper-filter
{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.paper-filter form
{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    align-items:center;
}

.paper-filter input,
.paper-filter select
{
    flex:1;
    min-width:180px;
    height:50px;
    padding:0 15px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    font-size:15px;
    outline:none;
    transition:.3s;
    background:#fff;
}

.paper-filter input:focus,
.paper-filter select:focus
{
    border-color:#0d6efd;
    box-shadow:0 0 0 3px rgba(13,110,253,.15);
}

.paper-filter button
{
    height:50px;
    padding:0 30px;
    border:none;
    border-radius:8px;
    background:#0d6efd;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.paper-filter button:hover
{
    background:#0b5ed7;
}

/*==========================
Responsive
==========================*/

@media(max-width:768px){

.previous-papers-section{

    padding:60px 0;

}

.section-title{

    margin-bottom:30px;

}

.section-title h2{

    font-size:30px;
    line-height:1.3;

}

.section-title p{

    font-size:14px;
    line-height:1.6;

}

.paper-filter{

    padding:15px;

}

.paper-filter form{

    flex-direction:column;
    gap:12px;

}

.paper-filter input,
.paper-filter select,
.paper-filter button{

    width:100%;
    min-width:100%;
    height:46px;
    font-size:14px;

}

.papers-grid{

    gap:15px;

}

.paper-card{

    flex-direction:column;
    align-items:flex-start;
    gap:15px;
    padding:20px 15px;

}

.paper-left{

    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:15px;

}

.paper-icon{

    width:60px;
    height:60px;

}

.paper-icon i{

    font-size:26px;

}

.paper-content h3{

    font-size:18px;
    line-height:1.4;
    margin-bottom:10px;

}

.paper-meta{

    flex-direction:column;
    gap:8px;

}

.paper-meta span{

    font-size:13px;

}

.paper-actions{

    width:100%;
    margin-left:0;
    flex-direction:column;
    gap:10px;

}

.paper-actions .btn{

    width:100%;
    min-width:100%;
    justify-content:center;
    padding:12px;
    font-size:13px;

}

.pagination{

    gap:8px;
    margin-top:30px;

}

.pagination a{

    width:40px;
    height:40px;
    font-size:14px;

}

}

@media(max-width:320px){

.section-title h2{

    font-size:24px;

}

.section-title p{

    font-size:13px;

}

.paper-card{

    padding:15px;

}

.paper-icon{

    width:50px;
    height:50px;

}

.paper-icon i{

    font-size:22px;

}

.paper-content h3{

    font-size:16px;

}

.paper-meta span{

    font-size:12px;

}

.paper-actions .btn{

    font-size:12px;
    padding:10px;

}

.pagination a{

    width:36px;
    height:36px;
    font-size:13px;

}

}