/* Frontend News Pro CSS */

.fnp-dashboard-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.fnp-tabs {
    margin-bottom: 15px;
}

.fnp-tab-btn {
    padding: 8px 16px;
    margin-right: 6px;
    cursor: pointer;
    background: #f0f0f0;
    border-radius: 4px;
}

.fnp-tab-btn.active {
    background: #0073aa;
    color: #fff;
}

.fnp-posts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.fnp-posts-table th,
.fnp-posts-table td {
    padding: 10px;
    border: 1px solid #eee;
    text-align: left;
}

#fnp-edit-modal {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
}

@media(max-width:768px){
    .fnp-posts-table, 
    .fnp-posts-table thead, 
    .fnp-posts-table tbody, 
    .fnp-posts-table tr, 
    .fnp-posts-table td, 
    .fnp-posts-table th {
        display: block;
    }
    .fnp-posts-table td { border: none; border-bottom: 1px solid #eee; padding: 8px 0; }
}
