﻿.business-table-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffffcc;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 128, 0, 0.2);
    padding: 30px;
    font-family: 'Segoe UI', sans-serif;
}

    .business-table-container h2 {
        text-align: center;
        color: #2e7d32;
        margin-bottom: 30px;
        font-size: 28px;
    }

.business-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

    .business-table thead {
        background-color: #a5d6a7;
    }

    .business-table th,
    .business-table td {
        border: 1px solid #c8e6c9;
        padding: 12px;
        text-align: left;
    }

    .business-table th {
        color: #1b5e20;
        font-weight: bold;
    }

    .business-table tr:nth-child(even) {
        background-color: #f1f8e9;
    }

    .business-table tr:hover {
        background-color: #dcedc8;
    }

    .business-table small {
        color: #555;
        font-style: italic;
    }

@media (max-width: 768px) {
    .business-table,
    .business-table thead,
    .business-table tbody,
    .business-table th,
    .business-table td,
    .business-table tr {
        display: block;
    }

        .business-table td {
            position: relative;
            padding-left: 50%;
            border: none;
            border-bottom: 1px solid #ccc;
        }

            .business-table td::before {
                position: absolute;
                left: 10px;
                top: 10px;
                white-space: nowrap;
                font-weight: bold;
                color: #388e3c;
            }

            .business-table td:nth-of-type(1)::before {
                content: "STT";
            }

            .business-table td:nth-of-type(2)::before {
                content: "Tên ngành";
            }

            .business-table td:nth-of-type(3)::before {
                content: "Mã ngành";
            }
}
