investmentmenu.cs.scss
// Deliberately built to the same measurements as VendorMenu - same 900px
// width, same header, same colours - so the two hideout screens read as one
// interface rather than two things that happen to be in the same room.
InvestmentMenu {
    position: absolute;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: none;
    font-family: Poppins;
    color: white;

    &.show {
        display: flex;
        flex-direction: column;
        pointer-events: all;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 900px;
        padding: 16px 24px;
        background-color: rgba( black, 0.75 );
        border-radius: 4px 4px 0px 0px;

        .title {
            font-size: 28px;
            font-weight: bold;
            text-transform: uppercase;
        }

        .cash {
            font-size: 28px;
            font-weight: bold;
            color: #7ed957;
            flex-grow: 1;
            text-align: right;
            margin-right: 20px;
        }

        .close {
            font-size: 26px;
            color: rgba( white, 0.55 );
            padding: 0px 8px;
            cursor: pointer;
            transition: color 0.1s ease-out;

            &:hover {
                color: #e53935;
            }
        }
    }

    .body {
        flex-direction: column;
        width: 900px;
        padding: 24px;
        background-color: rgba( black, 0.6 );
        backdrop-filter: blur( 16px );
        border-radius: 0px 0px 4px 4px;

        .blurb {
            font-size: 16px;
            color: rgba( white, 0.6 );
            margin-bottom: 20px;
        }

        .stats {
            flex-direction: column;
            margin-bottom: 20px;

            .stat {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 10px 12px;
                background-color: rgba( white, 0.05 );
                border-radius: 3px;
                margin-bottom: 6px;

                .statLabel {
                    font-size: 18px;
                    color: rgba( white, 0.7 );
                    text-transform: uppercase;
                }

                .statValue {
                    font-size: 22px;
                    font-weight: bold;
                    color: #7ed957;
                }
            }
        }

        .deposit {
            align-items: center;
            justify-content: center;
            padding: 14px;
            background-color: rgba( #7ed957, 0.15 );
            border: 1px solid rgba( #7ed957, 0.5 );
            border-radius: 3px;
            cursor: pointer;
            transition: background-color 0.1s ease-out;

            .depositLabel {
                font-size: 20px;
                font-weight: bold;
                text-transform: uppercase;
            }

            &:hover {
                background-color: rgba( #7ed957, 0.3 );
            }

            // Still clickable - TryInvest refuses on its own - but it looks
            // dead so you aren't left wondering why nothing happened.
            &.unaffordable {
                opacity: 0.35;
                border-color: rgba( white, 0.2 );
                background-color: rgba( white, 0.05 );
            }
        }
    }
}