.form-floating:has(.bfs-fu-simple-container) label,
.form-floating:has(.bfs-fu-dropzone-container) label,
.form-floating:has(.bfs-fu-simple-container) input,
.form-floating:has(.bfs-fu-dropzone-container) input,
.form-floating:has(.bfs-fu-simple-container) label span.text-required,
.form-floating:has(.bfs-fu-dropzone-container) label span.text-required,
.form-floating:has(.bfs-fu-simple-container) select,
.form-floating:has(.bfs-fu-dropzone-container) select {
    opacity: none !important;
}

.form-floating:has(.bfs-fu-simple-container) label,
.form-floating:has(.bfs-fu-dropzone-container) label,
.form-floating:has(.bfs-fu-simple-container) label span.text-required,
.form-floating:has(.bfs-fu-dropzone-container) label span.text-required {
    display: none !important;
}

.bfs-fu-simple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px;
    padding: 0px;
    background-color: #d7d7d7;
}

.bfs-fu-simple-container:has(.form-control.white) {
    background-color: #fff;
}


.bfs-fu-simple-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row-reverse;
}

.bfs-fu-simple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;

}

.bfs-fu-simple-info-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: black;
}

.bfs-fu-simple-info {
    margin: 0px;
    height: 100%;
    display: flex;
    background-color: var(--palette-primary);
    color: var(--palette-primary-text);
    padding: 0.25rem;
    margin: 0px;
    flex-direction: column;
    width: 60px;
}

.bfs-fu-simple-icons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.bfs-fu-simple-info:not(.error):not(.success) .bfs-fu-simple-icons .ph-warning-circle,
.bfs-fu-simple-info:not(.error):not(.success) .bfs-fu-simple-icons .ph-check-circle {
    display: none;
}

.bfs-fu-simple-info:not(.error):not(.success) .bfs-fu-simple-icons .ph-circle-notch {
    display: block;
}

.bfs-fu-simple-info.error .bfs-fu-simple-icons .ph-circle-notch,
.bfs-fu-simple-info.error .bfs-fu-simple-icons .ph-check-circle {
    display: none;
}

.bfs-fu-simple-info.error .bfs-fu-simple-icons .ph-warning-circle {
    display: block;
}

.bfs-fu-simple-info.success:not(.error) .bfs-fu-simple-icons .ph-circle-notch,
.bfs-fu-simple-info.success:not(.error) .bfs-fu-simple-icons .ph-warning-circle {
    display: none;
}

.bfs-fu-simple-info.success:not(.error) .bfs-fu-simple-icons .ph-check-circle {
    display: block;
}

.bfs-fu-simple-info.error {
    background-color: var(--palette-error);
    color: var(--palette-error-text);
}

.bfs-fu-simple-info.success {
    background-color: var(--palette-success);
    color: var(--palette-success-text);
}

.bfs-fu-simple-communications-container {
    display: flex;
    flex-direction: column;
    padding-right: 58px !important;
    margin: 0px;
    padding: 0px;
    width: calc(100% - 60px);
    height: 100%;
    padding-left: 0.5rem;
    padding-top: 0.15rem;
}

.bfs-fu-simple-communications-title {
    width: auto;
    height: 25px;
    font-size: 10pt;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.bfs-fu-simple-container.move .bfs-fu-simple-communications-container {
    /* padding-left: 0px; */
}

.bfs-fu-simple-container.move .bfs-fu-simple-communications-title,
.bfs-fu-simple-container.move .bfs-fu-simple-communications-body {
    position: relative;
}

.bfs-fu-simple-container.move .bfs-fu-simple-communications-title>span,
.bfs-fu-simple-container.move .bfs-fu-simple-communications-body>span {
    position: absolute;
    animation: moveLeft 6s linear infinite;
    -webkit-animation: moveLeft 6s linear infinite;
}



@keyframes moveLeft {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    100% {
        left: calc(-100% - .5rem);
    }
}

@-webkit-keyframes moveLeft {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    100% {
        left: calc(-100% - .5rem);
    }
}




.bfs-fu-simple-communications-body {
    height: 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11pt;
    color: #000;
}

.bfs-fu-simple-controllers-container {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    margin: 0px;
    padding: 0px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.bfs-fu-simple-controllers-container:not(.mobile) {
    flex-direction: row-reverse;
}

.bfs-fu-simple-controllers-container,
.bfs-fu-simple-controllers,
.bfs-fu-simple-controller {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}


.bfs-fu-simple-controllers-container.open {
    width: 100%;
}

.bfs-fu-simple-controllers-opener {
    width: 58px !important;
}

.bfs-fu-simple-controllers-container.open:not(.mobile) .bfs-fu-simple-controllers-opener {
    display: none;
}

.bfs-fu-simple-controllers-container.open.mobile .bfs-fu-simple-controllers-opener i.ph-caret-double-left {
    display: none;
}

.bfs-fu-simple-controllers-container.open.mobile .bfs-fu-simple-controllers-opener i.ph-caret-double-right {
    display: block;
}

.bfs-fu-simple-controllers-container:not(.open) .bfs-fu-simple-controllers-opener i.ph-caret-double-right {
    display: none;
}

.bfs-fu-simple-controllers-container:not(.open) .bfs-fu-simple-controllers-opener i.ph-caret-double-left {
    display: block;
}

.bfs-fu-simple-controllers {
    width: 0px;
    display: flex;
    flex-direction: row-reverse;
}


.bfs-fu-simple-controllers-container.open .bfs-fu-simple-controllers {
    width: 100%;
}

.bfs-fu-simple-controllers .bfs-fu-simple-controller {
    width: 0px;
    opacity: 0;
    display: none;
}

.bfs-fu-simple-controllers-container.open .bfs-fu-simple-controller {
    display: inline;
    opacity: 1;
    width: 100% !important;
}


.bfs-fu-simple-preview-card-container {
    height: 150px;
    max-height: 150px;
    min-height: 150px;
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    padding: 25px;
}

.bfs-preview-card {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    background-color: #fff;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.2);
}

.bfs-preview-card-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 25px;
    position: relative;
}

.bfs-preview-card-img-container img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;
}

.bfs-preview-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px !important;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.bfs-preview-card-overlay:hover {
    background-color: rgba(193, 193, 193, 0.7);
}

.bfs-preview-card-overlay:hover i,
.bfs-delete-card-overlay:hover i {
    transform: scale(1.2);
}

.bfs-delete-card-overlay:hover {
    background-color: rgba(253, 44, 44, 0.5);
}

.bfs-delete-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px !important;
    background-color: rgba(255, 0, 0, 0.5);
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.bfs-preview-card:has(.bfs-delete-card-overlay) .bfs-preview-card-overlay {
    width: 50%;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.bfs-preview-card:hover .bfs-preview-card-overlay,
.bfs-preview-card:hover .bfs-delete-card-overlay {
    display: flex;
}

.bfs-preview-card:has(.bfs-preview-card-overlay) .bfs-delete-card-overlay {
    width: 50%;
    left: 50%;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.bfs-single-file-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: transparent;
}

.bfs-single-file-preview-container img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;
}

.form-floating:has(input[disabled]) .bfs-fu-simple-container {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.form-floating:has(input[disabled]):has(.bfs-fu-simple-container) {
    cursor: not-allowed !important;
}


.fl-preview-container {
    margin: 0px;
    padding: 0.75rem;
}

.fl-preview {
    height: 250px;
    max-height: 250px;
    min-height: 250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
    background-color: #d8d8d8
}

.fl-preview-header {
    width: 100%;
    display: flex;
    justify-content: start;
    margin: 0px;
    padding: 0px;
    background-color: var(--palette-primary);
    color: var(--palette-primary-text);
    padding-left: 0.5rem;
    align-items: center;
    height: 30px;
    max-height: 30px;
    min-height: 30px;
}

.fl-preview-body {
    width: 100%;
    height: 190px;
    max-height: 190px;
    min-height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    background: url(/static/img/patterns/transparency.svg);
    background-repeat: repeat;
}

.fl-preview-content {
    max-width: 100%;
    max-height: 100%;
    margin: 0px;
    padding: 0px;
}

.fl-preview-placeholder {
    max-width: 100%;
    font-size: 15pt;
    text-align: center;
    font-weight: 600;
    margin: 0px;
    padding: 0px;
}

.fl-preview-footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0px;
    padding: 0px;
    height: 30px;
    max-height: 30px;
    min-height: 30px;
}

.fl-preview-trigger {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 0px;
    padding: 0px;
}

.fl-preview-trigger.preview {
    background-color: var(--palette-info);
    color: var(--palette-info-text);
}

.fl-preview-trigger.delete {
    width: 50%;
    background-color: var(--palette-error);
    color: var(--palette-error-text);
}

.fl-preview-trigger[disabled],
.fl-preview-trigger.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: grey;
    color: black;
}

.fl-preview-trigger.preview:hover:not([disabled]):not(.disabled) {
    background-color: var(--palette-light-info);
    color: var(--palette-light-info-text);
}

.fl-preview-trigger.delete:hover:not([disabled]):not(.disabled) {
    background-color: var(--palette-light-error);
    color: var(--palette-light-error-text);
}

.file-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    border: 1px solid var(--palette-primary);
    background-color: white;
    color: black;
}

.fl-header {
    width: 100%;
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.fl-controllers {
    width: 6rem;
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.fl-controllers>* {
    width: 3rem !important;
    height: 3rem !important;
    margin: 0px !important;
    padding: 0px !important;

}

.fl-titles {
    width: calc(100%);
    height: 3rem;
    display: flex;
    flex-direction: column;
}

.fl-title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    height: 2rem;
}

.fl-details {
    width: 100%;
    text-align: center;
    font-size: 10pt;
    font-weight: 600;
    height: 1rem;
    opacity: .8;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.fl-body {
    width: 100%;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fl-drop {
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    margin: .5rem;
    border: 2px dashed rgba(var(--palette-rgb-primary), .5);
    display: flex;
    cursor: pointer;
    border-radius: 1rem;
}

.fl-drop:hover,
.fl-drop.highlight {
    background-color: rgba(var(--palette-rgb-accent), .5);
    color: var(--palette-accent-text)
}

.fl-drop-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    font-size: 1.25rem;
    align-items: center;
}

.fl-drop-info>* {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-floating:has(.file-loader) input,
.form-floating:has(.file-loader) label {
    display: none !important;
}