/**
 * Theme Name:     JNews Child
 * Author:         Taher
 * Template:       jnews
 * Text Domain:	   jnews-child
 * Description:    JNews
 */
.user-post-links-nav h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.user-post-links-nav a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    padding: 0 6px;
}

.user-post-links-nav a:hover {
    color: #005177;
    text-decoration: underline;
}
/* -------------------------------- */
/* User Post Links Navigation Shortcode */
.user-post-nav {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 10px;
    align-items: center;
    font-weight: 400;
}

.user-post-nav a {
    background: #f1f1f1;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    color: #0073aa;
    transition: background 0.2s;
}

.user-post-nav a:hover {
    background: #0073aa;
    color: #fff;
}

.user-post-nav strong {
    margin-right: 10px;
}

/* -------------------------------- */
/* User Post List */
.user-posts-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.user-posts-container h2 {
    margin-bottom: 25px;
    text-align: left;
    font-size: 1.4rem;
}

.user-posts-list {
    list-style: none;
    padding: 0;
}

.user-posts-list li {
    border: 1px solid #e1e1e1;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.user-posts-list li a {
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

.user-posts-list li a:hover {
    text-decoration: underline;
}

.user-posts-list small {
    color: #777;
}

.user-posts-list .post-actions {
    margin-top: 10px;
    font-size: 0.925rem;
}

.user-posts-list .post-actions a {
    color: #0073aa;
    padding-right: 10px;
    text-decoration: none;
}

.user-posts-list .post-actions a:hover {
    color: #005077;
    text-decoration: underline;
}

/* -------------------------------- */
/* Pagination */
.user-posts-pagination {
    margin-top: 20px;
    text-align: center;
}

.user-posts-pagination .page-numbers {
    background: #f2f2f2;
    color: #333;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.user-posts-pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    font-weight: 600;
}

.user-posts-pagination .page-numbers:hover {
    background-color: #0073aa;
    color: #fff;
}

/* -------------------------------- */
/* Responsive Layout */
@media (max-width: 600px) {
    .user-post-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-posts-list li {
        padding: 12px;
    }

    .user-posts-pagination .page-numbers {
        padding: 6px 10px;
    }
}
.fps-user-post-buttons {
    margin-bottom: 30px;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fps-user-post-buttons strong {
    margin-right: 10px;
}

.fps-btn-link {
    padding: 8px 14px;
    background: #f1f1f1;
    color: #0073aa;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fps-btn-link:hover {
    background-color: #0073aa;
    color: white;
}

.fps-btn-link.add-new {
    background-color: #28a745;
    color: white;
    font-weight: 600;
}

.fps-btn-link.add-new:hover {
    background-color: #218838;
}
/* history */
.cashcred-table-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cashcred-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.cashcred-styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 16px;
}

.cashcred-styled-table thead {
    background-color: #2271b1;
    color: white;
}

.cashcred-styled-table th,
.cashcred-styled-table td {
    padding: 12px 14px;
    border: 1px solid #ddd;
    text-align: center;
}

.cashcred-styled-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cashcred-pagination {
    text-align: center;
    margin-top: 10px;
}

.cashcred-pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 3px;
    background: #eee;
}

.cashcred-pagination .current {
    background: #2271b1;
    color: white;
    font-weight: bold;
}