#sidebar[data-component="account"] {
    padding-bottom: 44px;

    svg.back {
        position: absolute;
        top: 18px;
        left: 18px;
        width: 30px;
        fill: white;
        z-index: 10;

        &:hover {
            fill: var(--colour-primary);
            cursor: pointer;
        }
    }

    div.error {
        background-color: black;
        border-left: 3px solid var(--colour-clara);
        padding-left: 9px;
        padding: 9px;
        margin-bottom: 22px;
    }

    div.success {
        background-color: black;
        border-left: 3px solid var(--colour-maya);
        padding: 9px;
        margin-bottom: 22px;
    }

    svg.close {
        top: 54px;
        right: 54px;
    }

    div.header {
        background-image: var(--image);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: var(--background-position, 'center center');
        aspect-ratio: 16/9;
        width: 100%;
        border-radius: 9px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        filter: drop-shadow(var(--big-shadow));
        margin-bottom: 22px;

        &::before {
            content: ' ';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        > p {
            position: relative;
            z-index: 2;

            &.title {
                font-family: 'Bangers';
                font-size: 2rem;
            }
        }
    }

    nav.account {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
        gap: 18px;

        a {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            --colour: white;
            color: var(--colour);

            &:hover {
                --colour: var(--colour-clara);
            }

            svg {
                width: 30px;
                fill: var(--colour);
            }

            > div {
                p.label {
                    font-weight: bold;
                }
            }
        }
    }

    div.sign-in {
        form {
            p {
                margin-bottom: 18px;
            }

            div.actions {
                display: flex;
                margin-top: 18px;
                gap: 18px;
                justify-content: flex-end;
                align-items: center;

                a.forgot-password {
                    color: white;
                    text-decoration: none;
                }
            }
        }

        h2.sign-up-call-out {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 9px;
            margin-top: 22px;
            margin-bottom: 22px;

            &::after, &::before {
                content: ' ';
                border-bottom: solid white 1px;
                flex: 1;
            }
        }

        a.button[data-account-view="register"] {
            margin-left: auto;
            margin-right: 0;
        }
    }

    div.forgot-password {
        margin-top: 18px;

        form {
            margin-top: 18px;

            button {
                margin-left: auto;
                margin-right: 0;
                margin-top: 18px;
            }
        }
    }

    div.register {
        form {
            button {
                margin-left: auto;
                margin-right: 0;
                margin-top: 18px;
            }

            div.consent {
                margin-top: 9px;
            }
        }
    }

    div.customer-tickets {
        margin-top: 22px;

        div.tabs {
            display: flex;
            justify-content: center;

            div.tab {
                padding-top: 12px;
                padding-bottom: 12px;
                padding-left: 18px;
                padding-right: 18px;
                cursor: pointer;

                &.active {
                    background-color: var(--colour-clara);
                    font-weight: bold;
                }
            }
        }

        div.tab-content {
            margin-top: 22px;

            > article {
                margin-top: 22px;

                div.qr-code {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 12px;
                    padding: 22px;

                    img {
                        display: none;
                    }

                    &.img-visible {
                        img {
                            display: block;
                        }

                        button {
                            display: none;
                        }
                    }
                }

                p.multiple-purchases {
                    font-size: small;
                }

                div.spaces {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 8px;

                    span {
                        background-color: var(--colour-silver);
                        color: white;
                        font-size: 12px;
                        padding-left: 12px;
                        padding-right: 12px;
                        padding-top: 8px;
                        padding-bottom: 8px;
                    }
                }
            }
        }
    }

    div.passes {
        margin-top: 44px;
        display: flex;
        gap: 18px;
        flex-direction: column;
    }

    div.parties {
        div.card {
            div.foot {
                margin-top: 18px;
                display: flex;
                justify-content: space-between;
                align-items: flex-end;
            }
        }
    }
}