/* Browser compatibility CSS */
/* Firefox specific fixes */
@-moz-document url-prefix() {
    .form-control {
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }
    
    /* Fix Firefox table display issues */
    table {
        border-collapse: separate;
        border-spacing: 0;
    }
}

/* Edge specific fixes */
@supports (-ms-ime-align:auto) {
    .card {
        display: block;
    }
    
    /* Fix Edge Flexbox issues */
    .d-flex {
        display: -ms-flexbox;
        display: flex;
    }
}

/* Generic fixes */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Add CSS prefixes for better compatibility */
.transition {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* Fix form elements display differences across browsers */
input, button, select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Fix border-radius issues in Safari and iOS */
.rounded {
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}