/* Dashboard Container */
.dashboard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
}

/* Card Styling */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: scale(1.02);
    }

.card-header {
    background-color: #dc2b19;
    color: white;
    padding: 0.75rem;
    font-weight: bold;
    text-align: center;
}

.card-body {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.card-footer {
    background-color: #f8f9fa;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

/* Pagination Controls */
.pagination-controls {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

    .pagination-controls button {
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 4px;
        background-color: #dc2b19;
        color: white;
        cursor: pointer;
    }

        .pagination-controls button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

    .pagination-controls span {
        font-size: 1rem;
        color: #333;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
