﻿
.status-flow-control-footer-mb {
    margin-bottom: 0px;
}

.status-flow-control-btn {
    margin-right: -2px !important;
    border-radius: .25rem 0rem 0rem .25rem !important;
    writing-mode: vertical-rl;
    width: 45px;
    height: 250px;

    &.shadow {
        box-shadow: 2px 8px 8px -3px rgba(0, 0, 0, .5) !important;
    }

    &.not-open {
        position: fixed;
        right: 0;
        margin-right: 0px !important;
    }
}

.status-flow-control-card {
    border-color: #e6e6e6;
    border: 1px solid #ccc;
    border-radius: .0rem .25rem .25rem .0rem;
    width: 242px;
    height: 250px;

    .modal-body {
        width: 252px;
    }

    &.fixed {
        border-radius: .25rem !important;
    }
}

.fixed-status-flow-control-card {
    font-size: 20px;
}

.not-status-flow-control-panel {
    width: calc(100% - 60px);

    &.fixed {
        width: calc(100% - 270px);
    }
}

.status-flow-control-panel {
    width: 60px;

    &.fixed {
        width: 270px;
    }
}

.status-flow-control {
    position: fixed;
    right: -400px;
    z-index: $side-zindex;
    transition: all .6s ease;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);

    &.open {
        right: 5px !important;
        display: flex;
        box-shadow: 2px 8px 8px -3px rgba(0, 0, 0, .5) !important;
    }

    &.fixed {
        right: 5px !important;
        position: fixed;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
    }
}

.status-flow-control-card-content {
    height: 92px;
    overflow-y: auto;
    scrollbar-width: thin !important;
}

.status-flow-control-card-content::-webkit-scrollbar {
    width: 6px !important;
}

// Aplica os estilos automaticamente para dispositivos com telas menores que 'sm'
@include media-breakpoint-down(sm) {
    .status-flow-control-icon {
        transform: rotate(90deg);
    }

    .status-flow-control-footer-mb {
        margin-bottom: 60px !important;
    }

    .not-status-flow-control-panel {
        width: 99.9% !important;
    }

    .status-flow-control-panel {
        width: 0.1% !important;
    }

    .fixed-status-flow-control-card {
        font-size: 24px !important;

        .fa-regular .fa-xmark {
            font-size: 24px !important;
        }
    }

    .status-flow-control-btn {
        margin-right: -2px !important;
        border-radius: 20px !important;
        writing-mode: horizontal-tb !important;
        width: 250px !important;
        height: 46px !important;

        &.not-open {
            position: fixed !important;
            right: 20px !important;
            bottom: 40px !important;
            padding: 12px !important;
        }
    }
}
