﻿.pretty-div {
    border-radius: 4px;
    background-color: rgba(249, 249, 249, 0.7);
}

.linked-object {
    border-width: 2px;
    animation: 5s infinite ease-in-out linked-object-border-animation;
}

.number_style .linked-object .mud-input > input.mud-input-root {
    border-width: 2px !important;
    animation: 5s infinite ease-in-out linked-object-border-animation;
}

.linked-object.ql-container {
    border-width: 2px !important;
    animation: 5s infinite ease-in-out linked-object-border-animation;
}

@keyframes linked-object-border-animation {
    0% {
        border-color: #00B6FF;
    }

    50% {
        border-color: #2271E1;
    }

    100% {
        border-color: #00B6FF;
    }
}

.base-input {
    border-radius: 5px;
    width: 100%;
    text-align: right;
}

.input-badge {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    background-color: #2271e1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    opacity: 1;
}

.name-conflict-badge-base {
    position: absolute;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 1;
    animation: name-conflict-pulse 2s infinite ease-out;
    padding: 0.2em;
}

@keyframes name-conflict-pulse {
    0% {
        background-color: #f5f5f5;
    }
    50% {
        background-color: #ffd699;
    }
    100% {
        background-color: #f5f5f5;
    }
}

.name-conflict-badge-default {
    left: 0;
    top: -50%;
    transform: translateY(-20%) translateX(38px);
}

.name-conflict-badge-text {
    left: 0;
    bottom: calc(100% + 1px);
    transform: translateX(35px);
}

.name-conflict-badge-sampling {
    left: 0;
    bottom: calc(100% + 3px);
    transform: translateX(35px);
}

.linked-badge-base {
    position: absolute;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    background-color: #2271e1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 1;
    padding: 0.2em;
}

.linked-badge-default {
    left: 0;
    top: -50%;
    transform: translateY(-20%) translateX(8px);
}

.linked-trigger-base {
    position: absolute;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    background-color: #EED202;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    padding: 0.2em;
}

.linked-trigger-default {
    left: 0;
    top: -50%;
    transform: translateY(-20%) translateX(8px);
}

.linked-badge-text {
    left: 0;
    bottom: calc(100% + 1px);
    transform:  translateX(5px);
}

.linked-badge-sampling {
    left: 0;
    bottom: calc(100% + 3px);
    transform: translateX(5px);
}

.frozen-data-info-row {
    background-color: #3a87f3;
}

@keyframes fade-in-hover-items {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

.input-badge-textbox {
    position: absolute;
    left: 0; 
    top: 50%; 
    transform: translateY(-50%) translateX(-30px); 
}

.input-badge-hide {
    /*animation: fade-out-hover-items forwards 0.6s ease-in;*/
}

@keyframes fade-out-hover-items {
    0% {
        opacity: 0.6;
    }

    40% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

.base-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.base-input-background {
    background-color: rgba(249, 249, 249, 1);
    min-height: 40px;
    border-radius: 4px;
    padding: 0.2em 0.4em;
}

.input-inner-btn {
    background-color: white;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border: 1px solid #CED4DA;
    border-radius: 4px;
}

.input-inner-btn-textbox {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(35px);
}
.input-inner-btn-yes-textbox {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    position: absolute;
    right: -35px;
    top: 10%;
    transform: translateY(-50%) translateX(35px);
}
.input-inner-btn-sampling {
    top: 25%;
}
.input-inner-btn-non-textbox {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) translateX(35px);
}

.input-inner-btn-2 {
    transform: translateY(-150%) translateX(0px);
}

    .input-inner-btn-2:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn-2-text {
    transform: translateY(-150%) translateX(35px);
}

.input-inner-btn-2-text:hover {
    opacity: 1 !important;
    background-color: #f5f5f5 !important;
}

.input-inner-btn-2-sampling {
    transform: translateY(-155%) translateX(35px);
}

    .input-inner-btn-2-sampling:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn-4 {
    transform: translateY(-150%) translateX(40px);
}

    .input-inner-btn-4:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn-4-text {
    transform: translateY(50%) translateX(35px);
}

    .input-inner-btn-4-text:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn-sampling-alert {
    transform: translateY(-260%) translateX(35px);
}

    .input-inner-btn-sampling-alert:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn-3 {
    transform: translateY(-150%) translateX(-40px);
}

.input-inner-btn-3:hover {
    opacity: 1 !important;
    background-color: #f5f5f5 !important;
}

.input-inner-btn-3-text {
    transform: translateY(50%) translateX(35px);
}

    .input-inner-btn-3-text:hover {
        opacity: 1 !important;
        background-color: #f5f5f5 !important;
    }

.input-inner-btn:hover {
    background-color: #f5f5f5;
}

.pretty-style {
    border-radius: 5px;
    width: 100%;
    text-align: right;
    border-color: #D3D8DE;
    background-color: #F7F7F7 !important;
}

.completed-resize {
    background-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.drag-selected {
    border-color: rgba(25, 194, 255,1) !important;
    opacity: 0.6;
}

    .drag-selected input,
    .drag-selected .mud-input-slot,
    .drag-selected .mud-input-input,
    .drag-selected td,
    .drag-selected th,
    .drag-selected .selected-option-selected-text-cont {
        user-select: none !important;
        pointer-events: none !important;
    }

.show-bounding-box {
    user-select: none;
    border-color: rgba(25, 194, 255,1) !important;
}

.hide-object-options .show-options-container,
.hide-object-options .show-options-container,
.hide-object-options .floating-button-cont,
.hide-object-options .ql-toolbar,
.hide-object-options .show-options-container,
.hide-object-options .floating-button-cont,
.hide-object-options .ql-toolbar,
.hide-object-options input:focus,
.hide-object-options .name-conflict-badge-base,
.hide-object-options .linked-badge-base {
    display: none !important;
    box-shadow: none;
}

    .can-drop-zone {
        box-shadow: -2px 0px 73px 32px rgba(54, 158, 255, 0.25) inset;
        -webkit-box-shadow: -2px 0px 73px 32px rgba(54, 158, 255, 0.25) inset;
        -moz-box-shadow: -2px 0px 73px 32px rgba(54, 158, 255, 0.25) inset;
    }

.object_item {
    border-radius: 3px;
    box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.4);
    background-color: #2271e1;
    color: #fff;
    padding: 0.4em;
    display: flex;
    align-items: center !important;
    margin-bottom: 1em;
}

    .object_item:hover {
        transform: scale(1.05);
        transition: ease-in 0.1s;
        box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.4);
        -webkit-box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.4);
        -moz-box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.4);
    }

.show-options-container {
    padding: 0.25em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 2px;
    background-color: rgba(249, 249, 249, 0.9);
}

.can-resize-horizontal {
    border-right: 4px var(--mud-palette-primary) solid;
}

.can-resize-vertical {
    border-bottom: 4px var(--mud-palette-primary) solid;
}

.name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
    border-radius: 2px;
    background-color: rgba(249, 249, 249, 1);
    flex-wrap: wrap;
    gap: 1em;
}

.name-text {
    padding: 0;
    margin: 0;
    font-weight: bold;
    color: #2271E1;
}

.name-text-button {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    transition: ease-in-out 0.2s;
}

.name-text-button:hover {
    background-color: #f5f5f5;
    text-decoration: underline;
    text-decoration-color: #2271E1;
}

.name-text-button-no-click:hover {
    text-decoration: none;
    cursor: default !important;
}

    #right-pane > div.resize-drag-textbox.textarea_style.completed-resize.object-block > div.ck.ck-reset.ck-editor.ck-rounded-corners > div.ck.ck-editor__main > div {
        border-radius: 5px !important;
    }

#right-pane > div.js--textbox-drag-resize.resize-drag-textbox.pretty-div.textarea_style.uncomplete-resize.object-block > div.ck.ck-reset.ck-editor.ck-rounded-corners > div.ck.ck-editor__main > div {
    border-radius: 5px !important;
}

.uncomplete-resize {
    
}

@keyframes shadows {
    0% {
        box-shadow: 0px 0px 3px 2px #2271E1;
    }

    50% {
        box-shadow: 0px 0px 3px 2px #789ffc85;
    }

    100% {
        box-shadow: 0px 0px 3px 2px #2271E1;
    }
}

.text-align-right {
    text-align: right !important;
}

.text-align-left {
    text-align: left !important;
}

.text-align-center {
    text-align: center !important;
}

.sampling-column-small {
    width: 25%;
}

.sampling-column-medium {
    width: 50%;
}

.sampling-column-large {
    width: 75%;
}

.sampling-column-extra-large {
    width: 100%;
}

.sampling-header {
    font-weight: 700 !important;
    color: #fff;
}

.icon-white {
    fill: #fff !important;
}

.sum-row {
    height: 27px;
    background-color: var(--mud-palette-primary);
}

    .sum-row > td {
        font-weight: 700 !important;
        color: white;
    }

.number_style input {
    text-align: right !important;
    padding: 0.5rem !important;
    border: 1px solid #ced4da;
    border-radius: 5px !important;
    font-family: 'Nunito' !important;
    min-height: 25px !important;
    transition: 0.2s ease-out;
}

.number_style .mud-input > input.mud-input-root, .number_style div.mud-input-slot.mud-input-root {
    border: 1px solid #ced4da;
}

.number_style input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb !important;
    border-color: #86b7fe !important;
}

    .number_style input.show-bounding-box {
        border-color: rgba(25, 194, 255,1) !important;
        background: white !important;
    }

    .number_style input.drag-selected {
        border-color: rgba(25, 194, 255,1) !important;
        background: white !important;
    }

.number_style .mud-input.mud-disabled {
    background-color: #f7f7f7 !important;
    color: #222852 !important;
}

.number_style .mud-input-control {
    margin-top: 0 !important;
}

.number_style .mud-input.mud-input-underline:before {
    border: 0;
}

.number_style .mud-input.mud-input-underline:after {
    border: 0;
}

.number_style .mud-input > input.mud-input-root, .uncomplete-resize.mud-input-slot.mud-input-root {
    background-color: white;
}

    .number_style .mud-input > input.mud-input-root:disabled, div.mud-input-slot.mud-input-root:disabled {
        background-color: #f7f7f7;
    }


.number-money-icon {
    position: absolute;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50%;
    color: var(--mud-palette-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 1;
    left: 0;
    top: 0;
    transform: translateY(20%) translateX(8px);
}

    .number-money-icon svg {
        stroke-width: 200% !important;
    }

.number-icon-active svg {
    fill: var(--mud-palette-primary) !important;
    stroke: var(--mud-palette-primary) !important;
}

.number-icon-inactive svg {
    fill: #747474 !important;
    stroke: #747474 !important;
}

button.number-icon-inactive:disabled svg {
    fill: #00000042 !important;
    stroke: #00000042 !important;
}

button.number-icon-active:disabled svg {
    fill: #00000042 !important;
    stroke: #00000042 !important;
}

.hidden-object {
    background-color: #000000;
    opacity: 0.5;
    border-radius: 4px;
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.4);
}

.hidden-object-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hidden-object-in-use {
    background-color: #37B7FF;
    opacity: 0.9;
    animation: in-use-pulse 6s infinite ease-in-out;
}

.hidden-object-in-use-username {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #131313b3;
    color: #fff;
    padding: 5px;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
}

@keyframes in-use-pulse {
    0% {
        background-color: #37B7FF;
    }

    50% {
        background-color: #2f9bd7;
        opacity: 0.8;
    }

    100% {
        background-color: #37B7FF;
    }
}

.sampling-collision.show-bounding-box,
.sampling-collision.drag-selected {
    border: 1px solid rgba(25, 194, 255,1) !important;
    background-color: white;
    border-radius: 5px;
}

.drag-selected .pretty-style {
    border: 1px solid rgba(25, 194, 255,1) !important;
}

.date-picker-header {
    padding: 0.5em;
    background-color: #2196f3;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.info-styled-border {
    border: 1px solid var(--mud-palette-info);
    border-radius: 4px;
}

.resize-drag-datetime input {
    min-width: 130px;
    max-width: 130px;
    box-sizing: border-box;
    padding: 0.5rem;
    margin: 0.1em;
}

.resize-drag-dropdown select {
    min-width: 105px;
    max-width: 600px;
    box-sizing: border-box;
    padding: 0.5rem;
    margin: 0.1em;
    text-align: left;
}

.resize-drag-sampling input {
    min-width: 200px !important;
    max-width: 2700px !important;
    min-height: 100px !important;
    max-height: 2200px !important;
    box-sizing: border-box;
    padding: 0.5rem;
    margin: 0.1em;
}

.sampling-wrapper {
    justify-content: space-between;
    width: 100%;
    padding: 0 0 0 0.2em;
}

.sampling-collision {
    background-color: rgba(249, 249, 249, 1);
    border: 1px solid #ced4da;
    border-radius: 5px;
}

    .sampling-collision.show-bounding-box {
        background-color: rgba(249, 249, 249, 1) !important;
    }

.th-center-align {
    text-align: center !important;
}

.old_glowing-highlight {
    box-shadow: 0 0 10px #ffff00; /* Adjust the color and size of the glow as needed */
}

.new_glowing-highlight {
    box-shadow: 0 0 10px #00ff00; /* Adjust the color and size of the glow as needed */
}

.has_trigger_highlight {
    box-shadow: 0 0 5px #EED202;
}

.close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #a1a1a1;
    transition: background-color 0.2s ease-in-out;
}

    .close-btn:hover {
        background-color: #707070;
    }

.option-value-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    padding: 0.4em;
    margin-top: 1em;
    overflow-y: auto;
    border-radius: 4px;
    background-color: #fbfbfb;
}

.add-btn {
    width: 100%;
    background-color: #3f8fff;
    height: 40px;
    border-radius: 4px;
    margin-top: 1em;
    transition: background-color 0.2s ease-in-out;
}

    .add-btn:hover {
        background-color: #1073fd
    }

.dropdown-option-dialog-setting-cont {
    background-color: #fbfbfb;
    border-radius: 4px;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container {
    border: none !important;
    border-radius: calc(5px * var(--ratio));
    box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.6rem;
    width: 600px;
    background-color: #fff; /* Set your desired background color */
}

.dialog-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.6rem;
}

.option-value-item {
    display: flex;
    justify-content: space-between;
    margin: 0.5em 0;
}

.option-item {

}

.value-item {

}

.option-value-delete-button {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background-color: #ff5c5c;
    margin: auto;
    transition: background-color 0.2s ease-in-out;
}

    .option-value-delete-button:hover {
        background-color: #f73e3e;
    }

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sampling-conf-number-obj-setting-header .mud-table-head {
    background-color: var(--mud-palette-primary-lighten) !important;
}

.sampling-name-conflict {
    color: var(--mud-palette-error);
    font-weight: 300 !important;
    font-style: italic;
}

.sampling-missing-from-card {
    color: var(--mud-palette-warning);
    font-weight: 300 !important;
    font-style: italic;
}

.sampling-hidden {
    color: #252525b0;
    font-weight: 300 !important;
    font-style: italic;
}

.sampling-object-snapshot {
    border: 1px solid #ced4da;
    padding: 0.2em;
    border-radius: 4px;
    background-color: #fff7dd !important;
    color: #222852 !important;
    overflow: hidden;
}

/* Make styling of datetime on mozilla consistent */
@supports (-moz-appearance:none) {
    base-input-wrapper, input[type=date] {
        letter-spacing: -1.8px;
    }
}

.floating-resize-icon {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translateY(20px);
    margin-left: 0.2em;
    background-color: rgba(249, 249, 249, 0.9);
    padding: 0.2em;
    border-radius: 100%;
}

.mud-select:has(.w-100) {
    width: 100% !important;
}

.selected-option-selected-text-cont {
    padding: 0;
    margin: 0;
    flex-grow: 6;
    padding: 0.2em;
    height: 41px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #4cb0ff;
    color: white;
    border-radius: 5px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    border: 1px solid #ced4da;
}

.dropdown-select-input:has(+ .selected-option-selected-text-cont) {
    border-start-end-radius: 0;
    border-end-end-radius: 0;
}

.selected-option-selected-text-cont ~ select {
    border: 1px solid black !important;
    background: black !important;
}

.dropdown-select-input {
    margin: 0 !important;
}

.selected-option-selected-text {
    margin: 0;
    font-size: 1rem;
}

.dropdown-input-wrapper {
    border-radius: 5px;
}

.dropdown-input-wrapper.show-bounding-box {
    border: 1px solid rgba(25, 194, 255,1) !important;
}

.dropdown-input-wrapper.drag-selected {
    border: 1px solid rgba(25, 194, 255, 1) !important;
}

.drag-select-highlighted.resize-drag-datetime input,
.drag-select-highlighted.resize-drag-dropdown .dropdown-input-wrapper,
.drag-select-highlighted.resize-drag-textbox .ql-container,
.drag-select-highlighted.resize-drag-number input,
.drag-select-highlighted.resize-drag-sampling {
    box-shadow: 0px 0px 1px 3px var(--mud-palette-warning) !important;
    transition: box-shadow 0.2s ease-out;
    user-select: none;
}