.vll-library-modern {
    width: 100%;
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.vll-search-field input[type=text]{
    border-radius: 10px;
    box-shadow: none;
    height: 38px;
}
.vll-toolbar {
    background: #f3f7fa;
    border: 1px solid #e4edf3;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 28px;
}

.vll-filter-form {
    margin-bottom: 14px;
}

.vll-filter-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 14px;
    align-items: center;
}

.vll-field input,
.vll-field select {
    width: 100%;
    height: 38px;
    border: 1px solid #d8e4eb;
    border-radius: 10px;
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    margin: 0;
}

.vll-field input:focus,
.vll-field select:focus {
    border-color: #1780a6;
}

.vll-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap;
    flex-direction: row;
    
}
.vll-filter-actions button{
    margin-bottom: 0;
}
.vll-btn-filter,
.vll-btn-reset {
    height: 38px;
    padding: 0 20px;
    border-radius: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    text-transform: none;
    white-space: nowrap;
}

.vll-btn-filter {
    background: #147b8f;
    color: #fff;
}

.vll-btn-filter:hover {
    background: #0f6678;
    color: #fff;
}

.vll-btn-reset {
    background: #fff;
    color: #1a4f67;
    border: 1px solid #d7e1e8;
}

.vll-btn-reset:hover {
    background: #f6fbfd;
    color: #1a4f67;
}

.vll-count {
    font-size: 15px;
    color: #5d7280;
}

.vll-heading {
    margin-bottom: 22px;
}

.vll-heading h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.1;
    color: #0c5475;
    font-weight: 800;
}

.vll-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vll-item {
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(19, 64, 88, 0.05);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.vll-item-icon {
    width: 100px;
    min-width: 66px;
    background: #eef5f8;
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
    color: #0f7aa0;
}

.vll-item-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
}

.vll-item-icon-label {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f7aa0;
}

.vll-item-content {
    flex: 1;
    min-width: 0;
}

.vll-title {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.vll-title a {
    text-decoration: none;
    color: #13202a;
}

.vll-title a:hover {
    color: #1183aa;
}

.vll-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #5d7180;
    margin-bottom: 12px;
    font-size: 14px;
}

.vll-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #495f6a;
    margin-bottom: 16px;
}

.vll-readmore {
    min-width: 80px;
    height: 30px;
    padding: 0 16px;
    border-radius: 999px;
    background: #1996d3;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.vll-readmore:hover {
    background: #0e7cae;
    color: #fff;
}

.vll-empty-state {
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    color: #6e7d87;
    font-size: 14px;
}

.vll-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.vll-page-number,
.vll-page-arrow {
    min-width: 26px;
    height: 26px;
    border-radius: 10px;
    border: 1px solid #d8e4eb;
    background: #fff;
    color: #244f63;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.2s ease;
    font-size: 12px;
}

.vll-page-number:hover,
.vll-page-arrow:hover {
    background: #f2f9fc;
    color: #0d6f90;
}

.vll-page-number.is-active {
    background: #147b8f;
    border-color: #147b8f;
    color: #fff;
}

@media (max-width: 991px) {
    .vll-filter-grid {
        grid-template-columns: 1fr;
    }

    .vll-filter-actions {
        flex-wrap: wrap;
    }

    .vll-heading h3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .vll-library-modern {
        padding: 0 12px;
        margin: 20px auto;
    }

    .vll-item {
        flex-direction: column;
    }
}

.vll-single-doc{
    max-width: 1280px;
    margin: 30px auto 50px;
    padding: 0 24px;
    box-sizing: border-box;
}

.vll-single-layout{
    align-items: flex-start;
}

.vll-single-main,
.vll-single-sidebar{
    margin-bottom: 30px;
}

.vll-single-title{
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: #3a3f45;
}

.vll-info-table{
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 26px;
    border: 1px solid #e3e9ee;
}

.vll-info-table td{
    border-bottom: 1px solid #e8edf1;
    padding: 12px 14px;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.6;
}

.vll-info-table tr:last-child td{
    border-bottom: none;
}

.vll-info-table td:first-child{
    width: 220px;
    font-weight: 700;
    color: #43525d;
    background: #fafcfd;
    padding-left: 14px;
}

.vll-viewer-wrap{
    margin-top: 26px;
}

.vll-viewer-wrap h4{
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #233745;
}

.vll-file-viewer{
    display: block;
    width: 100%;
    border: 1px solid #dbe4ea;
    background: #fff;
}

.vll-note{
    margin-top: 10px;
    font-size: 14px;
    color: #657786;
}

.vll-related-box{
    background: #fff;
    border: 1px solid #e7edf2;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(19, 64, 88, 0.05);
    position: sticky;
    top: 30px;
}

.vll-related-title{
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: #0c5475;
}

.vll-related-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vll-related-item{
    border-bottom: 1px solid #ecf1f4;
    padding-bottom: 14px;
}

.vll-related-item:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.vll-related-badge{
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef5f8;
    color: #0f7aa0;
    font-size: 12px;
    font-weight: 700;
}

.vll-related-item-title{
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.vll-related-item-title a{
    color: #13202a;
    text-decoration: none;
}

.vll-related-item-title a:hover{
    color: #1183aa;
}

.vll-related-meta{
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #5d7180;
}

.vll-related-empty{
    font-size: 14px;
    color: #6e7d87;
}

@media (max-width: 849px){
    .vll-single-doc{
        padding: 0 12px;
        margin: 20px auto 35px;
    }

    .vll-single-title{
        font-size: 24px;
    }

    .vll-info-table td{
        font-size: 14px;
        padding: 10px 12px;
    }

    .vll-info-table td:first-child{
        width: 140px;
    }

    .vll-file-viewer{
        height: 700px !important;
    }

    .vll-related-box{
        position: static;
    }
}