/* General Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.input-container {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
input {
    width: 250px; /* Medium-Small Size */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}
input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}
thead {
    background: #dd698d;
    color: white;
}

thead th {
    padding: 12px;
    text-align: left;
}

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

/* Actions Column */
td a, td button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

td a {
    background: #007bff;
    color: white;
    text-decoration: none;
    margin-right: 5px;
}

td a:hover {
    background: #0056b3;
}

td button {
    background: #dc3545;
    color: white;
}

td button:hover {
    background: #c82333;
}

/* Unpublish Button */
.unpublish-btn {
    background: #ff9800;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.unpublish-btn:hover {
    background: #e68900;
}

/* Add New Post Button */
.new-post-btn {
    display: inline-block;
    background: #d54371;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
}

.new-post-btn:hover {
    background: #b0325c;
}

/* Responsive Design */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
