.hmo-bbl-posts-list {
    padding: 20px;
}

/* View toggle controls */
.hmo-view-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding: 10px;
}

.hmo-view-toggle {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.hmo-view-toggle.active {
    background: #007CFF;
    color: white;
    border-color: #007CFF;
}

.hmo-kanban-view {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    min-height: 70vh;
}

@media screen and (max-width: 768px) {
    .hmo-kanban-view {
        flex-direction: column;
        align-items: center;
    }
}

.hmo-kanban-view::-webkit-scrollbar {
    height: 8px;
}

.hmo-kanban-view::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.hmo-kanban-view::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.hmo-kanban-column {
    min-width: 300px;
    width: 300px;
    background: #f5f6f7;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.hmo-kanban-column-header {
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hmo-kanban-column-content {
    flex: 1;
    min-height: 200px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* List View */
.hmo-list-view {
}

.hmo-list-view.active {
    display: block;
}

.hmo-task-list-title {
    margin-bottom: .5em !important;
}

.hmo-tasks-list {
    margin-bottom: 2em;
}

.hmo-list-view .hmo-task-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: white;
    transition: background-color 0.2s ease;
}

.hmo-list-view .hmo-task-item:hover {
    background: #f8f9fa;
}

/* Common Task Card Styles */
.hmo-task-card {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: grab;
}

.hmo-task-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hmo-task-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.hmo-task-title {
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.hmo-task-title a {
    color: #333;
    text-decoration: none;
}

.hmo-task-title a:hover {
    color: #007CFF;
}

.hmo-task-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.hmo-task-status,
.hmo-task-priority {
    padding: 0 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: capitalize;
}

.hmo-task-status-future {
    background: #FFE2E2;
    color: #FF4444;
}

.hmo-task-status-pending {
    background: #FFF4E2;
    color: #FFA500;
}

.hmo-task-status-completed {
    background: #E2FFE2;
    color: #44BB44;
}
.hmo-task-status-overdue{
    background: #FF4444;
    color: #f1f1f1;
}

.hmo-task-priority-high {
    background: #B1DF9A;
    color: #333;
}

.hmo-task-priority-normal {
    background: #A99DF0;
    color: #333;
}

.hmo-task-priority-low {
    background: #BBC7BB;
    color: #272c27;
}

.hmo-task-date, .hmo-task-budget {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #777;
}

.hmo-task-date i {
    font-size: 0.9em;
}

.hmo-task-budget i {
    font-size: 1.1em;
}

.hmo-task-date span,
.hmo-task-budget span {
    font-size: 0.85em;
}

.hmo-task-excerpt {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.hmo-task-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.hmo-task-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hmo-post-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.hmo-post-actions a {
    font-size: 0.9em;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hmo-post-actions a:hover {
    color: #007CFF;
}

/* Hide/Show Views */
.hmo-hidden {
    display: none !important;
}

/* Drag and Drop Placeholder */
.hmo-sortable-ghost {
    opacity: 0.3;
    background: #f0f0f0;
}

.hmo-sortable-drag {
    opacity: 0.9;
    transform: rotate(3deg);
}

/* Column Colors */
.hmo-kanban-column[data-status="todo"] .hmo-kanban-column-header {
    color: #FF4444;
    border-bottom-color: #FFE2E2;
}

.hmo-kanban-column[data-status="in-progress"] .hmo-kanban-column-header {
    color: #FFA500;
    border-bottom-color: #FFF4E2;
}

.hmo-kanban-column[data-status="done"] .hmo-kanban-column-header {
    color: #44BB44;
    border-bottom-color: #E2FFE2;
}

.bbl-pagination {
    margin: 2em 0;
    text-align: center;
}

.bbl-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbl-pagination .page-numbers li {
    margin: 0 2px;
}

.bbl-pagination .page-numbers a,
.bbl-pagination .page-numbers span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.bbl-pagination .page-numbers .current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.bbl-pagination .page-numbers a:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
}
