.reports-container {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: auto;
    padding: 20px;
}

.sub-title {
    color: gray;
    font-size: 16px;
}

.filter-section {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section label {
    font-weight: bold;
}

.filter-section select {
    padding: 5px;
    font-size: 16px;
    width: 300px;
}

.report-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.priority-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.priority-bar {
    height: 8px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.report-table-container {
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensures proper spacing */
}

.report-table th, .report-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
}

.report-table a {
    color: blue;
    text-decoration: none;
}

/* ✅ Responsive Styling */
@media (max-width: 768px) {
    .reports-container {
        padding: 15px;
    }

    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-section select {
        width: 100%;
    }

    .priority-title {
        font-size: 16px;
    }

    .report-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on mobile */
    }

    .report-table th, .report-table td {
        font-size: 14px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .priority-title {
        font-size: 14px;
    }

    .priority-bar {
        height: 6px;
    }

    .report-table th, .report-table td {
        font-size: 12px;
        padding: 6px;
    }
}
