/* Add to existing style.css */
.action-buttons {
    display: flex;
    gap: 5px;
}

.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.message-box.show {
    opacity: 1;
    visibility: visible;
}

.message-box.success {
    background-color: #4caf50;
}

.message-box.error {
    background-color: #f44336;
}

.message-box.info {
    background-color: #2196f3;
}

/* Admin pending section */
.pending-badge {
    background-color: #ff9800;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 10px;
}

/* Table header with actions */
.table-header {
    grid-template-columns: 1fr 1fr 1fr 1.2fr 0.8fr 1fr 0.8fr !important;
}

.table-row {
    grid-template-columns: 1fr 1fr 1fr 1.2fr 0.8fr 1fr 0.8fr !important;
}

@media (max-width: 1200px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr 1fr 0.8fr !important;
    }
    
    .table-header div:nth-child(6),
    .table-row div:nth-child(6),
    .table-header div:nth-child(7),
    .table-row div:nth-child(7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr !important;
    }
}