@import "variables";

%report-row {
    display: flex;
    justify-content: space-between;
}

.reports {

    &__container {
        padding-bottom: 10px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    &__department-row {
        @extend %report-row;
        color: $orange;
        background-color: #f2fcff;
        padding: 10px;

        &-title {
            cursor: pointer;
        }
    }

    &__client-row {
        @extend %report-row;
        color: $blue;
        background-color: #fff9f1;
        padding: 10px;

        &-title {
            cursor: pointer;
            margin-left: 2%;
        }
    }

    &__project-row {
        @extend %report-row;
        color: $orange;
        font-size: 16px;
        font-weight: 500;
        background-color: #f2fcff;
        padding: 4px 10px;
        margin-bottom: 1px;
    }

    &__developer-row {
        @extend %report-row;
        font-size: 15px;
        color: #3c3c3c;
        padding: 4px 10px;
        background: #f7f7f7;
    }

    &__task-row {
        @extend %report-row;
        color: $gray;
        padding-right: 10px;

        &:hover {
            font-weight: bold;
        }
    }

    &__project {
        &-header {
            margin-left: 4%;
            cursor: pointer;
        }
    }

    &__developer-task {
        margin-bottom: 8px;
    }

    &__developer {
        margin-bottom: 4px;

        &-header {
            margin-left: 6%;
            cursor: pointer;
        }
    }

    &__task {
        &-header {
            margin-left: 14%;
            cursor: pointer;
        }
    }

    .fa-rotate {
        transform: rotate(180deg);
        transition: all .3s ease;
    }

    .fa-caret-up {
        transition: all .3s ease;
    }
}
