body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fce4ec;
    color: #333;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}
h1 {
    color: #d81b60;
    text-align: center;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 28px;
}
p.subtitle {
    text-align: center;
    font-weight: bold;
    color: #880e4f;
    margin-bottom: 30px;
    font-size: 16px;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px; /* Ensures table doesn't get too squished */
}
th, td {
    padding: 14px 15px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}
th {
    background-color: #f06292;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}
th:hover {
    background-color: #ec407a;
}
th::after {
    content: ' ↕';
    font-size: 10px;
    opacity: 0.5;
}
th.sort-asc::after {
    content: ' ↑';
    opacity: 1;
}
th.sort-desc::after {
    content: ' ↓';
    opacity: 1;
}
tr:nth-child(even) {
    background-color: #fafafa;
}
tr:hover {
    background-color: #f8bbd0;
    transition: background-color 0.3s ease;
}
.activity-m-r {
    font-weight: 600;
    color: #ab47bc;
}
.activity-2shot {
    font-weight: 600;
    color: #e91e63;
}
.activity-fansign {
    font-weight: 600;
    color: #ff9800;
}
.lane-badge {
    background-color: #eeeeee;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
    color: #555;
    white-space: nowrap;
}
.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
    background-color: #fef1f6;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #f8bbd0;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-group label {
    font-size: 14px;
    font-weight: bold;
    color: #880e4f;
}
.filter-group select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #f06292;
    background-color: white;
    cursor: pointer;
    min-width: 150px;
}

.checkbox-group {
    justify-content: center;
    align-items: center;
    flex-direction: row !important;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* --- Responsive Media Queries --- */

/* Tablet (iPad) and smaller desktops */
@media screen and (max-width: 992px) {
    .container {
        max-width: 95%;
    }
}

/* Mobile Devices */
@media screen and (max-width: 600px) {
    body {
        padding: 20px 10px;
    }
    .container {
        padding: 20px 15px;
    }
    h1 {
        font-size: 22px;
    }
    p.subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .filters {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .filter-group select {
        min-width: 0;
        width: 100%;
    }
    th, td {
        padding: 10px 8px;
        font-size: 13px;
    }
    th {
        font-size: 12px;
    }
}
