.btn-success {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-blue {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* optional if you want it to wrap on smaller screens */
}
.button-group {
    display: flex;
    gap: 10px; /* spacing between buttons */
}
.card-title {
    float: none;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
}
mark {
    background-color: yellow;
    font-weight: bold;
}
.user-name-display {
    background: linear-gradient(to right, #dee2e6, #f8f9fa);
    padding: 6px 12px;
    border-radius: 5px;
    color: #343a40;
    font-weight: 500;
    font-size: 14px;
    box-shadow: inset 0 0 1px #adb5bd, 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    width:100%;
}

    .user-name-display i {
        font-size: 1rem;
        margin-right: 6px;
        color: #6c757d;
    }
/* Table header row */
.post-head th {
    color: black !important;
    font-weight: normal;
    padding: 0.75rem 1rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 2px solid #dee2e6;
}

/* Active sorted column */
th.sort-active {
    font-weight: 600;
    text-decoration: underline;
}

/* Custom column sizing */
.title-col {
    text-align: left;
    min-width: 180px;
}

.date-col, .views-col {
    min-width: 130px;
}

.category-col {
    min-width: 150px;
    text-align: left;
}

.bool-col {
    width: 60px;
}

.action-col {
    min-width: 100px;
}

/* Links in header */
.post-head th a {
    color: black;
    text-decoration: none;
}

    .post-head th a:hover {
        text-decoration: underline;
    }
/* Default header style */
.post-head th {
    color: black;
    font-weight: normal;
    padding: 0.75rem 0.75rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

    /* Anchor link inside header */
    .post-head th a {
        color: black;
        text-decoration: none;
        display: inline-block;
    }

        /* Hover */
        .post-head th a:hover {
            text-decoration: underline;
        }

/* Bold current sorted column */
.sort-active a {
    font-weight: 600;
    text-decoration: underline;
}

/* Column-specific widths */
.title-col {
    min-width: 180px;
    text-align: left;
}

.date-col, .views-col {
    min-width: 120px;
}

.category-col {
    min-width: 140px;
    text-align: left;
}

.bool-col {
    width: 90px;
}

.action-col {
    min-width: 110px;
}
