/* Laser Inspection Reports - Front-end Styles */

.laser-reports-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.laser-reports-table th {
    text-align: left;
    padding: 12px 10px;
    font-weight: bold;
}

.laser-reports-table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
}

.laser-reports-table td img {
    width: 27px !important;
    margin-top: 0;
}

.laser-reports-table td a img {
    transition: opacity 0.2s;
}

.laser-reports-table td a:hover img {
    opacity: 0.7;
}

.laser-reports-category-heading {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 10px 0;
    padding-bottom: 5px;
}

.laser-reports-category-heading:first-child {
    margin-top: 0;
}

.laser-report-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #bb2281;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    transition: background 0.2s;
}

.laser-report-download-btn:hover {
    background: #9a1c6b;
    color: #fff;
}

.laser-report-download-btn img {
    width: 20px !important;
    filter: brightness(0) invert(1);
}

.laser-reports-no-results {
    padding: 20px 10px;
    color: #666;
    font-style: italic;
}

/* Responsive: stack on mobile */
@media (max-width: 767px) {
    .laser-reports-table,
    .laser-reports-table thead,
    .laser-reports-table tbody,
    .laser-reports-table th,
    .laser-reports-table td,
    .laser-reports-table tr {
        display: block;
    }

    .laser-reports-table thead tr {
        display: none;
    }

    .laser-reports-table td {
        padding: 6px 10px;
        border-bottom: none;
        position: relative;
        padding-left: 45%;
    }

    .laser-reports-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 40%;
        font-weight: bold;
        color: #333;
    }

    .laser-reports-table tr {
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
}
