@reference "tailwindcss";


.table-container {
    background: black;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.2);*/
    overflow: hidden;
    position: relative;
    color:white;
}

.table-wrapper {
    position: relative;
    overflow-x: auto;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

th, td {
    padding: 12px 5px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    white-space: normal;
}

th {
    /*background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);*/
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    background: black;
    transition: background-color 0.3s ease;
}

tr:hover td {
    background-color: #2a2a2a;
}

/* Fixed first column styles */
.fixed-column {
    background-color: black;
    text-align: left;
    white-space: normal;
    position: sticky;
    left: 0;
    z-index: 10;
    box-shadow: 2px 0 4px rgba(0,0,0,0.1);
    width: 200px;
    padding: 15px 5px 15px 0;
    font-weight: 400;
    font-family: Camber, serif;
}

.fixed-column th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fixed-column td {
    background: #f8f9ff;
    font-weight: 600;
    color: #333;
}

tr:hover .fixed-column td {
    background: #e8f2ff;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .table-container {
        margin: 10px;
        border-radius: 8px;
    }

    th, td {
        padding: 8px 10px;
        font-size: 14px;
        text-align: center;
        width: 30%;
    }

    table {
        min-width: 100%;
    }

    .fixed-column {
        width: 30%;
    }

    .table-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    /* Enhanced scrollbar for mobile */
    .table-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .table-wrapper::-webkit-scrollbar-thumb {
        background: #667eea;
        border-radius: 3px;
    }

    th:not(.fixed-column),
    td:not(.fixed-column) {
        width: 100px;
        padding: 15px 0;
    }
}
th:not(.fixed-column),
td:not(.fixed-column) {
    background-color: black;
    text-align: center;
    white-space: normal;
    left: 0;
    box-shadow: 2px 0 4px rgba(0,0,0,0.1);
    width: 130px;
    padding: 15px 0px 15px 0px;
}
th img {
    display: block;
    margin: 8px auto 0 auto;
}
.scroll-indicator {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 12px;
    background: #f8f9ff;
    border-top: 1px solid #e0e0e0;
}

@media (min-width: 769px) {
    .scroll-indicator {
        display: none;
    }
}
