@use "../../../../styles/abstracts/variables" as *;
@use "../../../../styles/abstracts/mixins" as *;

.asset__details {
    @include dashPageComponent; 
    & {
        height: 100%;
        padding: 2.5rem;
        margin-top: 2rem;
        @media only screen and (max-width: 1000px){
            padding: 1.5rem;
        }
    }

    &__top {
        display: grid;
        grid-template-columns: 400px 1fr;
        gap: 30px;
        border-bottom: 1px solid $col-border-lining;
        padding-bottom: 2rem;
        @media only screen and (max-width: 1000px){
            display: flex;
            flex-direction: column;
        }

        &--left {
            border-right: 1px solid $col-border-lining;
            padding-right: 30px;

            &--intro{
                h1{
                    font-weight: 700;
                    color: $col-white;
                    font-size: 2rem;
                    padding-top: .5rem;
                }
                h6{
                    font-weight: 500;
                    color: $col-white;
                    padding-bottom: 1.5rem;
                    font-size: .9rem;
                }

                &--header {
                    display: flex;
                    gap: 10px;
                    align-items: center;

                    h2{
                        font-weight: 500;
                        font-size: 1.1rem;
                        color: $col-white;
                    }

                    span {
                        // border: 1px solid $col-border-lining;
                        background: #FAFAFA;
                        padding: .2rem .5rem;
                        border-radius: 6px;
                        font-size: .75rem;
                        font-weight: 500;
                        color: $col-dark;
                        display: none;
                    }
                }
            }
            &--border {
                display: block;
                height: .3rem;
                width: 100%;
                background: linear-gradient(to right, rgba(239,185,11, .7), $col-secondary-new);
                border-radius: 10px;
                margin-top: .6rem;
            }

            &--details {
                padding-top: 2rem;
                line-height: 2.8;

                &--item {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-bottom: 1px solid $col-border-lining;
                    padding-bottom: .5rem;
                    color: $col-white;
                    font-weight: 400;
                    font-size: .85rem;
                }
            }
        }
        &--right {
            @media only screen and (max-width: 1000px){
                display: none;
            }
        }
    }

    &__news {
        margin-top: 2rem;
    }
}