/*
 * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

.asset-links-details-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeded;
    border-radius: 4px;
}

.asset-links-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eaeded;
    margin-bottom: 10px;
}

.asset-links-details-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.asset-links-info-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-divider-default);
}

.asset-links-details-footer {
    padding: 12px;
    border-top: 1px solid var(--color-border-divider-default);
    background-color: var(--color-background-container-header);
}

/* Add styles for file info items similar to FileDetailsPanel */
.asset-links-info-item {
    display: flex;
    margin-bottom: 12px;
}

.asset-links-info-label {
    font-weight: bold;
    width: 180px;
    color: var(--color-text-body-secondary);
}

.asset-links-info-value {
    flex: 1;
    word-break: break-word;
}

.asset-links-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .asset-links-details-panel {
        min-height: 300px;
    }

    .asset-links-details-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .asset-links-info-label {
        width: 130px;
    }
}
