/* browser-fixes.css - Addresses browser compatibility issues */

/* 
 * Fix for text-size-adjust warning in Bootstrap
 * Only using -webkit prefix which has the broadest support across browsers
 */
html body {
    /* Chrome, Safari iOS, Android, and modern browsers */
    -webkit-text-size-adjust: 100%;
}

/* Ensure this rule has higher specificity than Bootstrap's rule */
body.bootstrap-body {
    -webkit-text-size-adjust: 100%;
}

/* Media query to ensure this applies to all devices */
@media screen and (min-width: 0px) {
    body {
        -webkit-text-size-adjust: 100%;
    }
}

/* 
 * Fix for text-align: -webkit-match-parent in table headers 
 * Adding standard match-parent property for Safari 15.4+ support
 */
th {
    text-align: -webkit-match-parent;
    text-align: match-parent; /* Safari 15.4+ support */
}

/* Higher specificity selector for table headers */
table th, .table th, body.bootstrap-body th {
    text-align: -webkit-match-parent;
    text-align: match-parent; /* Safari 15.4+ support */
}
