/* Custom styles for packages page - minimal overrides to Bootstrap 5.3 */

/* Custom hover effect for cards */
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: box-shadow 0.15s ease-in-out;
}

/* Ensure links in list items don't break layout */
.list-group-item a {
    flex-grow: 1;
}

.release-detail {
    margin-inline: auto;
    max-width: 72rem;
}

.release-heading {
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1rem;
    text-align: center;
}

.release-detail .table-responsive {
    margin-inline: auto;
    max-width: 100%;
    width: max-content;
}

.release-assets-table {
    width: auto;
}

.release-assets-table th,
.release-assets-table td {
    vertical-align: middle;
}

.asset-name {
    min-width: 16rem;
    word-break: break-word;
}

.asset-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

/* Custom focus styles for search input to match theme */
#searchInput:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
