﻿.table-container {
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Minimum width for the table */
}

th, td {
    padding: 12px 15px;
    text-align: center;
}

th {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

td {
    border-bottom: 1px solid #ddd;
}

tr:last-child td {
    border-bottom: none;
}

.highlight {
    color: #2575fc;
    font-weight: bold;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .table-container {
        border-radius: 0;
        box-shadow: none;
    }

    table {
        min-width: 100%;
    }

    th, td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 8px;
        font-size: 12px;
    }
}
