/* General Styles */
.fum-profile-form,
.fum-post-form,
.fum-posts-list {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fum-form-group {
    margin-bottom: 20px;
}

.fum-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.fum-form-group input[type="text"],
.fum-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.fum-submit-button {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fum-submit-button:hover {
    background: #45a049;
}

/* Posts Table */
.fum-posts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.fum-posts-table th,
.fum-posts-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.fum-posts-table th {
    background-color: #f2f2f2;
}

/* Post Form Styles */
.fum-post-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 20px auto;
}

.fum-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fum-category-label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
}

.fum-category-label:hover {
    background: #e9e9e9;
}

.fum-upload-button {
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fum-upload-button:hover {
    background: #005177;
}

/* Response Messages */
.fum-success {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
}

.fum-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.fum-loading {
    padding: 15px;
    background: #fff3cd;
    color: #856404;
    border-radius: 4px;
}

.fum-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.fum-status-publish {
    background-color: #d4edda;
    color: #155724;
}

.fum-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.fum-status-draft {
    background-color: #e2e3e5;
    color: #383d41;
}

.fum-edit-button {
    display: inline-block;
    padding: 5px 10px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
}

.fum-edit-button:hover {
    background: #138496;
}

.fum-pagination {
    margin-top: 20px;
    text-align: center;
}

.fum-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.fum-pagination .page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.fum-pagination .page-numbers:hover:not(.current) {
    background: #f8f9fa;
}

.fum-no-posts {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.fum-post-form h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Profile Form Styles */
.fum-profile-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fum-avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.fum-avatar-preview img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.fum-form-group input[type="text"],
.fum-form-group input[type="email"],
.fum-form-group input[type="password"],
.fum-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* User Stats Styles */
.fum-user-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 20px auto;
}

.fum-user-stats .fum-user-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.fum-user-info h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.fum-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fum-stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fum-stat-label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.fum-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #343a40;
}