// Copyright (C) 2017-2023 Smart code 203358507

@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';

.addon-details-container {
    .title-container {
        display: flex;
        flex-direction: row;
        align-items: center;

        .logo, .icon {
            float: left;
            width: 5rem;
            height: 5rem;
            margin-right: 1.5rem;
            padding: 0.5rem;
        }

        .logo {
            object-fit: contain;
            object-position: center;
        }

        .icon {
            color: var(--primary-foreground-color);
        }

        .name-container {
            flex-grow: 1;
            flex-shrink: 1;
            flex-basis: 0;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: baseline;
    
            .name {
                flex-grow: 0;
                flex-shrink: 1;
                flex-basis: auto;
                margin-right: 0.5rem;
                font-size: 1.6rem;
                color: var(--primary-foreground-color);
            }
    
            .version {
                flex-grow: 1;
                flex-shrink: 1;
                flex-basis: auto;
                margin-top: 0.5rem;
                color: var(--primary-foreground-color);
            }
        }
    }

    .section-container {
        margin-top: 1rem;

        .section-header {
            font-size: 1.1rem;
            color: var(--primary-foreground-color);
        }

        .section-label {
            font-size: 1.1rem;
            font-weight: 300;
            color: var(--primary-foreground-color);

            &.transport-url-label {
                user-select: text;
            }

            &.disclaimer-label {
                font-style: italic;
            }
        }
    }
}