@layer components {
    .progress-block {
        position: relative;
        padding: 10px 0 10px 40px;
    }

    .progress-block:before {
        width: 9px;
        height: 100%;
        position: absolute;
        background: var(--ui-200);
        content: '';
        left: 16px;
        top: 0;
        border-radius: 10000px;
    }

    .status-circle {
        flex-shrink: 0;
        --status-color: var(--blue-500);
        width: 42px;
        height: 42px;
        border-radius: 10000px;
        position: relative;
        margin-right: 10px;

        .status-icon {
            width: 18px;
            height: 18px;
            position: absolute;
            top: -2px;
            right: -6px;
            z-index: 1;
            background: var(--status-color);
            border-radius: 100px;
            display: flex;
            align-items: center;
            justify-content: center;

            i {
                font-size: 12px;
                color: white;
            }
        }

        .status-avatar {
            width: 100%;
            border-radius: 10000px;
        }
    }

    .word-cloud {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        max-width: 500px;
        gap: 10px;
        margin: auto;

        .word {
            font-size: calc(23px * var(--size, 1));
            font-family: var(--font-serif), serif;
        }
    }

    .key-value-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 20px
    }

    @media screen and (min-width: 576px) {
        .key-value-list {
            grid-template-columns: 1fr 1fr;
        }

    }


    .key-value {
        display: flex;
        min-height: 46px;
        align-items: center;
        background-color: var(--bg-color);

        .key {
            font-family: var(--font-mono), serif;
            color: var(--ui-600);
            margin-left: var(--document-indent);
            font-size: var(--font-size-sm);
        }

        .value {
            margin-left: auto;
            padding-right: 10px;
            font-size: 12px;
            letter-spacing: 0.05em;
            flex-shrink: 0;
        }

        &.wide {
            grid-column: 1 / -1; /* span all grid columns */
            width: 100%;
        }

        &.transparent {
            background-color: transparent;
        }

    }

    kbd {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 1px;

        padding: 3px 6px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
    / background-color: var(--bg-color);

        font-family: monospace;
        font-size: 0.9em;
        color: var(--text-600);
        line-height: 1em;
        transition: all 0.1s ease-in-out;

        .key {
            font-size: 15px;
            font-weight: bold;
        }
    }

    kbd:hover {
        transform: translateY(-1px); /* Slight lift effect on hover */
        box-shadow: 0 2px 0 1px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    }

    .sticky-notes {
        position: fixed;
        bottom: -60px;
        right: 20px;
        width: 20vw;
        height: 50px;
        display: flex;
        align-items: flex-end;
        transition: all 0.15s ease-in-out;
        gap: 10px;

        &:hover {
            bottom: 55px;

            .sticky-note {
                margin: 0;
                --angle: 0;
            }
        }
    }

    .sticky-note {
        aspect-ratio: 1;
        width: 150px;
        background-color: var(--amber-400);
        color: rgba(0, 0, 0, 0.8);
        font-family: monospace;
        font-size: 11px;
        padding: 10px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        z-index: 0;
        rotate: var(--angle, 0deg);
        transition: all 0.15s ease-in-out;

        &:first-child {
            margin-right: -130px;
            --angle: -7deg;
        }

        &:nth-child(2) {
            --angle: 7deg;
        }
    }
}