#awards-index {
    /**
     * Remove default styling of elements.
     */
    p {
        margin: 0;
    }
    /**
     * Awards styling.
     */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    #progress {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        #progress-info {
            display: flex;
            justify-content: space-between;
        }
        #progress-bar {
            position: relative;
            height: 1rem;
            border: white 1px solid;
            #progress-bar-progress {
                /*width is set via style in template because the value is calculated via PHP.*/
                height: 100%;
                position: absolute;
                background: cyan;
            }
        }
    }
    #awards-category-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        .selected-category {
            background: darkgray;
            color: black;
        }
    }
    #claimable-awards {
        /**
         * Hidden by default.
         */
        display: none;
        .claim-award-button {
            height: fit-content;
            align-self: center;
        }
    }
    .awards-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        .awards-list-item {
            display: flex;
            justify-content: space-between;
            border: 1px solid;
            padding: 0.5rem;
            .award-image-text-wrapper {
                display: flex;
                gap: 1rem;
                .award-image {
                    height: 64px;
                    max-height: 64px;
                    width: 64px;
                    max-width: 64px;
                    overflow: hidden;
                }
                .award-icon {
                    font-size: 64px;
                }
                .award-text {
                    display: flex;
                    flex-direction: column;
                    gap: 0.25rem;
                    align-self: center
                }
                .award-description {
                    color: gray;
                }
            }
            .award-receive-date {
                align-self: center;
                color: gray;
            }
        }
    }
}