/* Touch-optimized styles */

/* iOS input zoom fix */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="password"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Viewport meta handled by HTML */

/* Larger fingerprint-friendly tap targets */
.touch-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* File input enhancements for mobile */
input[type="file"] {
    font-size: 16px;
    padding: 8px 12px;
}

/* Checkbox and radio sizes for touch */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.3em;
}

.form-check-label {
    padding-left: 4px;
    line-height: 1.8;
}

/* Scroll optimization */
@media (pointer: coarse) {
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .card-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Disable text selection on interactive elements */
.btn, .nav-link, .navbar-brand, .pagination .page-link {
    -webkit-user-select: none;
    user-select: none;
}

/* Active state feedback */
.btn:active, .nav-link:active {
    opacity: 0.8;
}
