/* TABS */
.pff-tabs {
    display:flex;
    gap:25px;
    padding-bottom:20px;
    border-bottom:1px solid #eee;
}

.pff-tabs button {
    background:none;
    border:none;
    padding:10px 0;
    cursor:pointer;
    position:relative;
}

/*.pff-tabs button.active::after {*/
/*    content:"";*/
/*    position:absolute;*/
/*    bottom:-1px;*/
/*    left:0;*/
/*    width:100%;*/
/*    height:2px;*/
/*    background:#002041;*/
/*}*/

/* LAYOUT */
.pff-body { display:flex; }

.pff-sidebar {
    width:260px;
    border-right:1px solid #eee;
    padding-top: 20px;
}

.pff-content {
    flex:1;
    padding-left:20px;
    padding-top: 20px;
}

/* MENU */
.menu { display:none; }
.menu.active { display:block; }

.item,.sub-item {
    padding:10px;
    cursor:pointer;
}

.item.active,.sub-item.active {
    background: #daf1ff;
    color:#002041;
    border-radius: 6px;
}

/* SUBMENU */
.sub-menu { display:none; padding-left:15px; }

.has-sub { display:flex; justify-content:space-between; }

.arrow { transition:0.3s; }
.has-sub.active .arrow { transform:rotate(180deg); }

/* TOOLBAR */
.pff-toolbar {
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
}

.year-btn {
    padding:5px 10px;
    margin-right:5px;
    cursor:pointer;
}

.year-btn.active {
    background:var(--wp--preset--color--primary,#0073aa);
    color:#fff;
}

/* FILE */
.pff-file {
    display:flex;
    justify-content:space-between;
    padding:10px;
    border:1px solid #eee;
    margin-bottom:10px;
}

/* MODAL */
#pff-modal {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    z-index:2147483647;
    display:none;
}

#pff-modal.active {
    display:flex;
    align-items:center;
    justify-content:center;
}

.pff-modal-box {
    width:85%;
    height:85%;
    background:#fff;
    position:relative;
}

#pff-frame {
    width:100%;
    height:100%;
}

.pff-close {
    position:absolute;
    top:10px;
    right:15px;
    background:#000;
    color:#fff;
    padding: 0px 10px;
    cursor: pointer;
    font-size: 30px;
    line-height: 30px;
}
.pff-file-left{
    display:flex;
    gap:10px;
    align-items:center;
}

.pff-view{
    background:#0073aa;
    color:#fff;
    border:none;
    padding:5px 15px;
    cursor:pointer;
    border-radius:4px;
}

.pff-view:hover{
    background:#005177;
}

/* ========================================
TOOLBAR
======================================== */

.pff-toolbar{
    display:flex;
    justify-content:right;
    align-items:center;
    margin-bottom:20px;
    gap:15px;
    flex-wrap:wrap;
}

/* ========================================
SORT + YEAR DROPDOWN
======================================== */

.pff-sort select,
.pff-year-dropdown select{

    min-width:auto;
    padding:6px 12px;

    border:1px solid #dcdcdc;
    border-radius:6px;

    background:#fff;

    font-size:14px;

    outline:none;
    box-shadow:none;
}

/* ========================================
EMPTY
======================================== */

.pff-empty{
    padding:20px;
    background:#fafafa;
    border:1px solid #eee;
    border-radius:6px;
}
.pff-file-left h4{
    font-size:16px;
    margin-bottom:0;
}
/* ========================================
CLEAR FILTER
======================================== */

#pff-clear-filter{

    height:auto;

    padding:7px 18px;

    border:none;

    background:#f3f3f3;

    border-radius:6px;

    cursor:pointer;

    font-size:14px;

    transition:0.3s;
}

#pff-clear-filter:hover{

    background:#0073aa;
    color:#fff;
}
.pff-toolbar-left{
    display:flex;
    gap:8px
}

/* ========================================
LISTING HEADING
======================================== */

.pff-main-heading{

    margin-bottom:25px;
}

.pff-main-heading h2 span{
    margin:0;
    font-size:28px;
    font-weight:600;
    position:relative;
    color:#111;
}

.pff-main-heading h2 span::after{
content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:2px;
    background:#dcdcdc;
}




.pff-tabs button{
    padding: 20px 8px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 2px 3px 5px #d1d1d1;
}
.pff-tabs button.active{
     background: #daf0ff;
    padding: 20px 16px;
    border-radius: 6px;
}

/* ========================================
STATIC CONTENT
======================================== */

.pff-static-content{

    line-height:1.8;
}

/* ========================================
STATIC CONTENT TABLE
======================================== */

.pff-static-content table{

    width:100%;
    border-collapse:collapse;
}

/* ========================================
STATIC CONTENT IMAGE
======================================== */

.pff-static-content img{

    max-width:100%;
    height:auto;
}