@use '../../../../styles';

.nft-details {

    .nft-details__header {
        @include styles.ellipsis;
        padding-right: 24px;
    }

    .nft-details__content {
        padding-top: 0;
    }

    .nft-details__hint {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.1px;
        color: #000;
        background: styles.$primary-light;
        padding: 8px 16px;
        margin: 0 -16px 12px;
    }

    .nft-details__img {
        position: relative;
        background-color: styles.$light-grey;
        margin: 12px 0 20px;

        > img {
            display: block;
            width: 100%;
            max-height: 328px;
            object-fit: contain;
        }

        > .nft-details__img-label {
            @include styles.ellipsis;
            position: absolute;
            top: calc(50% - 16px);
            left: 0;
            width: 100%;
            padding: 0 16px;
            font-weight: 600;
            font-size: 28px;
            line-height: 32px;
            color: #000;
            text-align: center;
            pointer-events: none;
            z-index: 1;
        }
    }

    .nft-details__info {
        .nft-details__info-row {
            display: flex;
            align-items: center;
            margin-top: 8px;

            &:first-child {
                margin-top: 0;
            }
        }

        .nft-details__info-label {
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.1px;
            color: styles.$neutral-400;
        }

        .nft-details__info-value {
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            text-align: right;
            letter-spacing: 0.1px;
            color: styles.$primary;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: auto;

            > .nft-details__info-value-icon {
                color: styles.$neutral-600;
            }
        }
    }
}
