// Bills ========================
.bill {
    padding: 40px 0 80px;

    &_box {
        display: flex;
        align-items: flex-start;
    }

    &_aside {
        background: $black;
        padding: 32px;
        border-radius: 5px;
        width: 390px;
        margin-right: 40px;

        &-title {
            cursor: pointer;
            font-weight: 700;
            font-size: 24px;
            line-height: 29px;
            color: #FFFFFF;
            margin-bottom: 50px;
            position: relative;
            display: block;
            @include transition;

            &:last-child {
                margin-bottom: 0;

            }

            &:hover {
                color: $yellow;
            }

            &.active {
                color: $yellow;

                &::after {
                    content: '';
                    position: absolute;
                    bottom: -25px;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background: $yellow;
                }
            }
        }
    }

    &_info {
        width: calc(100% - 430px);
        max-width: 870px;
    }

    &_item {
        display: flex;
        align-items: center;
        justify-content: space-between;

        border-top: 1px solid rgba(23, 23, 23, 0.5);
        border-radius: 5px;
        background: rgba(23, 23, 23, 0.05);
        padding: 15px;
        @include transition;

        &:hover {
            box-shadow: 3px 3px 5px 5px rgb(90 90 90 / 10%), -3px -3px 5px 5px rgb(90 90 90 / 10%);
            // transform: translateY(-0.6px);
            background: $yellow;
        }

        &.downloaded {
            background: #fff;
        }

        &>div {
            display: flex;
            align-items: center;

            max-width: calc(100% - 220px);

            p {
                font-weight: 700;
                font-size: 18px;
                line-height: 22px;
                color: $black;
                margin-right: 24px;

                &:last-child {
                    margin-right: 0;
                }
            }
        }

        &-link {
            display: flex;
            align-items: center;

            font-weight: 400;
            font-size: 18px;
            line-height: 22px;
            color: $black;
            text-decoration: underline;
            @include transition;

            &:hover {
                color: RoyalBlue;

                span {
                    path {
                        fill: RoyalBlue;
                    }
                }
            }

            span {
                width: 24px;
                height: 24px;
                margin-right: 10px;
                display: block;

                svg {
                    @include ImgCon;

                    path {
                        @include transition;
                    }
                }
            }
        }

    }

    &_form {
        display: flex;
        flex-wrap: wrap;
        margin: -15px -20px;
    }

    &_input {
        width: calc(50% - 40px);
        margin: 15px 20px;
        display: block;
        position: relative;

        label {
            display: block;
            font-weight: 700;
            font-size: 18px;
            line-height: 22px;
            margin-bottom: 10px;
        }

        input {
            font-weight: 400;
            font-size: 18px;
            line-height: 22px;
            border: 1px solid rgba(23, 23, 23, 0.5);
            border-radius: 5px;
            padding: 14px 16px;
            width: calc(100% - 34px);

            &::placeholder {
                color: rgba(23, 23, 23, 0.5);
            }
        }
    }

    &_btn {
        width: 100%;
        margin: 15px 20px;

        button {
            display: inline-block;
            padding: 15px 10px;
            font-weight: 700;
            font-size: 18px;
            line-height: 22px;
            color: $black;
            background: $yellow;
            max-width: 240px;
            width: calc(100% - 20px);
            border-radius: 5px;
            cursor: pointer;
            @include transition;

            &:hover {
                background: $gray;
                color: $yellow;
            }
        }
    }
}

// Bills end ====================