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

.theme-light .daggerheart.dh-style.views.downtime {
    .downtime-container .activity-container .activity-selected-marker {
        background-image: url(../assets/parchments/dh-parchment-light.png);
    }

    .refreshables-container {
        .refreshable-container {
            background-image: url(../assets/parchments/dh-parchment-light.png);
        }
    }
}

.daggerheart.dh-style.views.downtime {
    .downtime-container {
        .activities-grouping {
            width: 280px;
        }

        .activities-container {
            width: 100%;

            .activity-container {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 8px;

                .activity-inner-container {
                    display: flex;
                    align-items: center;
                    gap: 4px;

                    .activity-marker {
                        font-size: 0.5rem;
                        flex: none;
                        color: light-dark(@dark-blue, @golden);
                        margin-right: 4px;
                    }

                    .activity-select-section {
                        display: flex;
                        align-items: center;
                        gap: 4px;

                        .activity-icon {
                            min-width: 24px;
                            text-align: center;
                        }
                    }
                }

                .activity-selected-marker {
                    font-size: var(--font-size-14);
                    border: 1px solid light-dark(@dark-blue, @golden);
                    border-radius: 6px;
                    color: light-dark(@dark, @beige);
                    background-image: url(../assets/parchments/dh-parchment-dark.png);
                    padding: 0 8px;
                    line-height: 1;
                    font-weight: bold;
                }
            }
        }
    }

    .refreshables-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        font-size: var(--font-size-12);

        &.wide {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }

        .refreshable-container {
            border: 1px solid light-dark(@dark-blue, @golden);
            border-radius: 6px;
            color: light-dark(@dark, @beige);
            background-image: url('../assets/parchments/dh-parchment-dark.png');
            padding: 0 2px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 2px;

            .refreshable-title {
                font-weight: bold;
            }
        }
    }

    footer {
        margin-top: 8px;
        display: flex;
        gap: 8px;

        button {
            flex: 1;
            height: 40px;
            font-weight: 600;
        }
    }
}
