/* Content Manager Button */
.content-manager-header-button:hover {
    background: #5a6268 !important;
}
.content-manager-header-button a:hover {
    color: white !important;
}
@media (max-width: 768px) {
    .content-manager-header-button {
        top: 10px;
        padding: 8px 12px;
    }
    .content-manager-header-button a {
        font-size: 12px;
    }
}

/* Content Manager Dashboard */
.content-manager-dashboard {
    max-width: 100%;
}
.content-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0px;
}
.content-manager-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
}
.content-manager-filter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.content-manager-status-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}
.content-manager-status-filter label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}
.content-manager-status-filter select {
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 0px;
    background: white;
    font-size: 14px;
}
.content-manager-active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-badge {
    background: #E02826;
    color: white;
    padding: 4px 12px;
    border-radius: 0px;
    font-size: 12px;
}
.clear-filters-btn {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 0px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.clear-filters-btn:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}
.content-manager-posts-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}
.content-manager-post-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 0px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}
.content-manager-post-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.content-manager-post-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 0px;
    overflow: hidden;
    background: #f8f9fa;
}
.content-manager-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content-manager-post-content {
    flex: 1;
    min-width: 0;
}
.content-manager-post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.content-manager-post-title a {
    color: #2c3e50;
    text-decoration: none;
}
.content-manager-post-title a:hover {
    color: #E02826;
}
.content-manager-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}
.content-manager-post-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 0px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.status-draft { background: #ffeaa7; color: #2d3436; }
.status-pending { background: #fab1a0; color: #2d3436; }
.status-private { background: #a29bfe; color: white; }
.status-pitch { background: #74b9ff; color: white; }
.status-assigned { background: #fd79a8; color: white; }
.status-in-progress { background: #fdcb6e; color: #2d3436; }
.status-pending-review { background: #fab1a0; color: #2d3436; }
.status-reject { background: #e84393; color: white; }
.status-revise { background: #e17055; color: white; }
.status-approved { background: #00b894; color: white; }

.content-manager-feedback-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e17055;
}
.content-manager-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #E02826;
}
.content-manager-author a {
    color: #E02826;
    text-decoration: none;
    font-weight: 500;
}
.content-manager-author a:hover {
    text-decoration: underline;
}
.content-manager-post-excerpt {
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
    margin-bottom: 8px;
}
.content-manager-pagination {
    text-align: center;
    margin-top: 30px;
}
.content-manager-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 0px;
    border: 1px solid #dee2e6;
}
.content-manager-pagination .page-numbers:hover,
.content-manager-pagination .page-numbers.current {
    background: #E02826;
    color: white;
    border-color: #E02826;
}
@media (max-width: 768px) {
    .content-manager-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .content-manager-filter-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .content-manager-post-item {
        flex-direction: column;
    }
    .content-manager-post-thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* Pending Users List Styling */
.pending-users-container {
    margin: 20px 0;
}

.pending-users-title {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.pending-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.pending-user-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.pending-user-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pending-user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pending-user-name {
    color: #2c3e50;
    font-size: 1.1em;
    margin: 0;
    font-weight: 600;
}

.pending-user-status {
    background: #FAB1A0;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 0px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.pending-user-details p {
    margin: 8px 0;
    color: #5a6c7d;
    font-size: 0.95em;
}

.pending-user-details strong {
    color: #2c3e50;
}

.pending-user-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.pending-user-edit-btn {
    display: inline-block;
    background: #E02826;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.pending-user-edit-btn:hover {
    color: #1c1c1c;
    background: #ffffff;
    border-top: 1px solid #E02826;
    border-right: 1px solid #E02826;
    border-bottom: 1px solid #E02826;
    border-left: 1px solid #E02826;
    text-decoration: none;
}

.no-pending-users {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pending-users-grid {
        grid-template-columns: 1fr;
    }
    
    .pending-user-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
