/* PDF Metadata Viewer Tool - Custom Styles */

/* Remove input validation borders */
.toolInput:invalid,
.toolInput:valid {
    border-color: #ced4da !important;
    box-shadow: none !important;
}

.toolInput:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Metadata table styling */
.table th {
    font-weight: 600;
    background-color: var(--bs-light-bg-subtle);
}

.table td {
    word-break: break-word;
}

/* Dark theme for tables */
[data-bs-theme="dark"] .table th {
    background-color: rgba(30, 34, 42, 0.6);
    color: var(--dark-text-primary);
}

/* Additional cursor and selection styles */
.form-control {
    cursor: text;
}

.form-control[readonly] {
    cursor: default;
}

input[type="file"] {
    cursor: pointer;
}

/* Prevent text selection on labels */
.form-label {
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.form-text {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.card-header h5 {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table th {
        font-size: 0.9rem;
    }

    .table td {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .table th {
        font-size: 0.85rem;
        width: 40% !important;
    }

    .table td {
        font-size: 0.8rem;
    }
}
