@import '../../../utils/colors.less';
@import '../../../utils/fonts.less';
@import '../../../utils/mixin.less';

.application.sheet.daggerheart.actor.dh-style.environment {
    .environment-header-sheet {
        display: flex;
        flex-direction: column;
        justify-content: start;
        text-align: center;

        .profile {
            height: 235px;
            cursor: pointer;
            .smooth-gradient-ease-in-out(mask-image, to top, black, 3.5rem);
        }

        .item-container {
            display: grid;
            grid-auto-flow: row;
            grid-template-columns: 1fr min-content;

            align-items: center;
            position: relative;
            top: -36px;
            gap: 0 var(--spacer-12);
            padding: 0 20px;
            margin-bottom: -26px;

            .item-name input[type='text'] {
                backdrop-filter: none;
                border: none;
                font-family: @font-title;
                font-size: var(--font-size-32);
                text-align: start;
                transition: all 0.3s ease;
                outline: 2px solid transparent;
                box-shadow: none;
                text-shadow: 0 0 4px light-dark(white, @dark-80), 0 0 8px light-dark(white, @dark-80), 0 0 14px light-dark(white, @dark-80);

                padding-left: 0;
                height: 2.625rem;

                &:hover[type='text'],
                &:focus[type='text'] {
                    box-shadow: none;
                    outline: 2px solid light-dark(@dark-blue, @golden);
                }
            }
            
            .flexrow {
                align-items: baseline;
                grid-column: span 2;
            }

            .tags {
                display: flex;
                gap: 10px;
                padding-bottom: 0;
                flex: 0;

                .tag {
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    padding: 3px 5px;
                    font-size: var(--font-size-12);
                    font: @font-body;
                    white-space: nowrap;

                    background: light-dark(@dark-15, @beige-15);
                    border: 1px solid light-dark(@dark, @beige);
                    border-radius: 3px;
                }

                .label {
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    font-size: var(--font-size-12);
                }
            }

            .attribution-header-label {
                text-align: right;
                position: relative;
            }

            .status-number {
                display: flex;
                align-items: center;
                flex-direction: column;

                .status-value {
                    position: relative;
                    display: flex;
                    width: 50px;
                    height: 30px;
                    border: 1px solid light-dark(@dark-blue, @golden);
                    border-bottom: none;
                    border-radius: 6px 6px 0 0;
                    padding: 0 6px;
                    font-size: 1.2rem;
                    align-items: center;
                    justify-content: center;
                    background: light-dark(#e8e6e3, @dark-blue);
                    z-index: 2;

                    &.armor-slots {
                        width: 80px;
                        height: 30px;
                    }
                }

                .status-label {
                    padding: 2px 10px;
                    width: 100%;
                    border-radius: 0 0 3px 3px;
                    background: light-dark(@dark-blue, @golden);

                    h4 {
                        font-weight: bold;
                        text-align: center;
                        line-height: 18px;
                        font-size: var(--font-size-12);
                        color: light-dark(@beige, @dark-blue);
                    }
                }
            }
        }

        .environment-info {
            display: flex;
            flex-direction: column;
            gap: var(--spacer-8);
            padding: 10px 20px;
        }

        .environment-navigation {
            display: flex;
            gap: 20px;
            align-items: baseline;
            padding: 0 20px;
            .tab-navigation {
                margin-top: 0;
            }
        }
    }
}
