﻿.loadScreen-fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loadScreen-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.loadScreen-initial-hidden {
    opacity: 0;
    visibility: hidden;
}

.flex-grow {
    flex-grow: 1;
}

#barcode-scanner {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1000; 
    display: none; 
}

.mud-fab-extended.mud-fab-size-large {
    width: 150px !important;
    height: 50px !important; 
}


.fd-toolbar {
    background-color: white !important;
    height: 48px;
    min-height: 48px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.11);
}

.fd-toolbar .fd-toolbar-content-left {
    margin: 16px;
}

.fd-toolbar .fd-toolbar-content-left .fd-editor-name {
    font-weight: 600;
}

.fd-toolbar .fd-toolbar-content-right {
    margin-right: 15px;
}

.fd-toolbar-divider {
    background-color: lightgray;
    width: 1px !important;
    height: 24px !important;
}

.fd-toolbar-history-path {
    font-size: 16px;
    font-weight: 300;
    color: gray;
    text-align: center;
}

.fd-panel {
    width: 190px;
    background: #f1efef none repeat scroll 0 0;
    margin: 0px;
    padding: 0px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 0 1px #ddd;
    transition: all ease 400ms;
    margin-top: 3px;
}

.fd-panel-header {
    background: #e3e3e3 none repeat scroll 0 0;
    clear: both;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
    box-shadow: -12px 8px 20px 3px #f1f1f1;
    line-height: 23px;
}

.fd-panel-controls {
    box-sizing: border-box;
}

.fd-panel-control {
    position: relative;
    color: #000;
    cursor: move;
    font-size: 12px;
    background: none repeat scroll 0 0;
    box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
    opacity: 1;
    border: 1px solid var(--fd-primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 5px 0;
    padding: 0.5rem;
}

.fd-panel-control:hover {
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0 40px 16px -20px rgba(0, 0, 0, 0.1);
    transform: translate3d(0px, -2px, 0px);
    transition: all 0.3s cubic-bezier(0.48, 0.04, 0.21, 0.94) 0s;
}

.fd-panel-control-icon {
    position: absolute;
    top: 0;
    left: 0;
}

.fd-panel-control-icon svg {
    width: 100%;
}

.fd-panel-control > b {
    font-size: 1rem; 
    margin-top: 0.5rem; 
    margin-bottom: 0.25rem; 
}

.fd-panel-control > p {
    margin: 0
}  

.fd-panel-control-label {
    font-size: 12px;
    font-family: Roboto;
    text-align: center;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fd-panel-control-description {
    border-bottom: 9px solid transparent;
    border-right: 10px solid #1f2735;
    cursor: pointer;
    height: 0;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 0;
}


.no-padding {
    padding: 0px;
}

.no-margin {
    margin: 0px;
}

.user-select-none {
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.col-form-label--required:after {
    content: " *";
    color: #a94442;
}

.section-header {
    position: relative;
    background: #e3e3e3 none repeat scroll 0 0;
    clear: both;
    color: #454545;
    font-family: Roboto;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    text-transform: uppercase;
    margin: 0px;
}

.section-header-title {
    line-height: 23px;
    font-size: 12px;
    font-weight: 100;
    margin: auto;
}

.input-number-hover input[type=number]::-webkit-inner-spin-button {
    opacity: 1
}

.fd-scrollbar {
    overflow-y: scroll;
}

.fd-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(191,191,191,.7);
    background-color: rgba(233, 233, 233, .7);
    box-shadow: 0 0 0 1px transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.fd-scrollbar::-webkit-scrollbar {
    width: 5px;
    background-color: rgba(191,191,191,.7);
    box-shadow: 0 0 0 1px transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.fd-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--fd-primary-color);
    border: 2px solid var(--fd-primary-color);
    box-shadow: 0 0 0 1px transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.fd-field-properties-panel {
    width: 320px;
    -webkit-box-shadow: 0 0 1px #ddd;
    -moz-box-shadow: 0 0 1px #ddd;
    box-shadow: 0 0 1px #ddd;
    height: 100%;
    background: white none repeat scroll 0 0;
    transition: all ease 400ms;
    border: 2px solid #eeeeee;
    border-radius: 4px;
    margin-top: 3px;
}

.prop-group-box {
    margin-bottom: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    padding: 0 0 80px 0;
    box-shadow: 2px 2px 10px -6px #000;
    overflow-y: scroll;
}

.box-header {
    color: #5E5F60;
    display: block;
    font-size: 1em;
    background-color: #f5f5f5;
    padding: 7px 15px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.padding-8 {
    padding: 8px;
}

.control-properties-panel {
    padding-top: 5px;
    padding-right: 8px;
    padding-left: 8px;
}

.dropZone {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 42;
}

.dropZone--right {
    left: 50%;
}

.dropZone.bo-dropzone-container.bo-drag-enter {
    font-family: "Material Icons";
    background-color: rgba(132, 132, 132, 0.3);
}

.dropZone.bo-drag-enter::before {
    position: absolute;
    font-size: 1.5em;
    line-height: 1em;
    font-family: "Material Icons";
    text-align: center;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -0.5em;
    color: #999;
}

.dropZone.bo-drag-enter::before {
    content: "\e5cb";
}

.dropZone--right.bo-drag-enter::before {
    content: "\e5cc";
}

.dropZone.bo-drag-dropzone-child {
    display: none;
}

.dropRow {
    position: relative;
    height: 5px;
    font-size: 12px;
    padding-left: 10px;
    border-radius: 3px;
    margin: 0 5px;
    color: transparent;
}

.dropRow.bo-drag-enter {
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 12px rgba(85, 85, 85, 0.8);
}

.dropRow.bo-drag-enter:not(.bo-drag-dropzone-child) {
    height: 40px;
    line-height: 40px;
    background-color: #ddd;
    border: 2px dashed #999;
    color: #aaa;
    margin-left: 20px;
    margin-right: 15px;
}

.dropRow.bo-drag-dropzone-child {
    overflow: hidden;
    color: transparent;
    background-color: transparent;
    box-shadow: none;
    pointer-events: none;
}

.control-wrapper.bo-dropzone-hover.bo-drag-enter {
    background-color: rgba(132, 132, 132, 0.3);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 12px rgba(85, 85, 85, 0.8);
    line-height: 40px;
    background-color: #ddd;
    border: 2px dashed #999;
    color: #aaa;
}

.formcolumn{
    position: relative;
    border:dashed 1px silver;
    min-height:10px;
}
.dropRow {
    border: dashed 1px silver;
    min-height: 10px;
}
.formSubmissionView .formcolumn, .formSubmissionView .dropRow {
    border-color: transparent;
}
@media print{
    .formcolumn, .dropRow {
        border: none;
    }
}

/*.formcolumn .control-content:before {
        content: "Drag and Drop components to build your form";
    }
    .formcolumn .control-content:after {
        content:'';
    }*/
.container-space {
    border: 2px solid #eeeeee;
    margin: 0 1em;
    margin-top: 3px;
    border-radius: 4px;
    overflow-y: auto;
}

.container-wrapper {
    margin-top: 14px;
    padding: 0 0.2em;
    background-color: rgba(255, 255, 255, 0.2);
}

.container-element {
    display: block;
    border: 1px transparent solid;
    margin: .3em 0;
    padding: 1px;
}

.container-element {
    box-shadow: 1px 1px 4px #ccc;
}

.row-builder {
    position: relative;
}

.row.row-builder {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2px;
    margin-top: 2px;
}

.control-placeholder {
    margin: 0.3em 0;
    min-height: 2.5em;
}

.control-placeholder.control-placeholder::before {
    content: attr(data-col);
    text-align: center;
    color: #cccccc;
    font-family: 'Helvetica';
    font-size: 18px;
    font-weight: 600;
    position: relative;
    position: absolute;
    border-radius: 5px;
    top: 0;
    bottom: 0;
    left: 15px;
    right: 15px;
    border: 2px dashed transparent;
    background-color: #eee;
    z-index: 0;
    line-height: 2em;
}

.table-subcomponent {
    position: relative;
    z-index: 95;
}
.bo-dropzone-hover.control-placeholder::before {
    background-color: #ddd;
    border-color: #999;
    color: #aaa;
    left: 15px;
    right: 15px;
}

.component-caption {
    color: #F5F5F5;
    position: absolute;
    top: -1.32em;
    left: 1.0em;
    background-color: var(--fd-primary-color);
    line-height: 1.5;
    opacity: 0;
    z-index: 50;
    visibility: hidden;
    display: inline-block;
    white-space: nowrap;
    font-size: 15px;
}

.component-caption--row {
    left: -5px;
    background-color: #aaa;
    box-shadow: 0 0 4px #aaa;
    top: -1.7em;
}

.container-title {
    margin: 0 5px;
}

.component-element {
    display: block;
    border: 1px transparent solid;
    margin: .3em 0;
    padding: 1px;
}

.component-element--hover {
    border-color: var(--fd-primary-color) !important;
    -webkit-transition: opacity .3s ease !important;
    transition: opacity .3s ease !important;
}

.row-element.component-element--hover .component-element--selected .component-caption {
    opacity: 0;
    z-index: auto;
}

.row-element.component-element--hover > .component-caption {
    opacity: 1;
    z-index: 52;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
    visibility: visible;
    display: inline-flex;
    vertical-align: middle;
}

.row-element {
    border: 1px transparent solid;
    border-left: #eee 5px solid;
    position: relative;
}

.row-element.component-element--hover {
    border: 1px solid #888;
    border-left: #888 5px solid;
    -webkit-transition: border .3s ease;
    transition: border .3s ease;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

.control-content > .row {
    margin-left: -15px;
    margin-right: -15px;
}

.control-content {
    overflow-x: hidden;
    min-height: 25px;
    margin-right: 4px;
    margin-left: 4px;
}
.control-content .form-horizontal .form-group {
    margin-bottom: 0;
}

.control-label-horizontal {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}

.component-mover-icon {
    color: white;
    margin: 0px 4px 0px 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 21px !important;
    --mdc-ripple-fg-size: 14px !important;
    --mdc-ripple-fg-scale: 1.71429 !important;
    --mdc-ripple-left: 5px !important;
    --mdc-ripple-top: 5px !important;
}

.component-element--selected {
    border: 1px solid #1E90FF;
    background-color: #ecf7ff;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.component-element--selected:hover > .control-wrapper > .component-caption {
    background-color: #1E90FF;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    display: inline-flex;
    vertical-align: middle;
}

.component-element--selected .Component-marker {
    color: #1E90FF;
}

.body {
    background-color: #f7f7f7 !important;
}

.mud-paper {
    border-radius: 0px;
}

.card-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.card-shadow:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.table-scrollable-menu {
    max-height: 250px;
    z-index: 95;
}

.table-column-container {
    position: relative;
    min-height: 25px;
    height: auto;
    z-index: 90;
}

.table-row-container {
    position: relative;
    min-height: 35px;
    height: auto;
    z-index: 80;
}

.table-add-button {
    position: absolute;
    top: 0;
    right: 0px;
    visibility: hidden;
    z-index: 99;
    padding: 0px;
}


.row-add-button {
    position: absolute;
    top: 0;
    left: -15px;
    visibility: hidden;
    z-index: 89;
    padding: 0px;
}

.table-column-container:hover .table-add-button {
    visibility: visible;
}


.table-row-container:hover .row-add-button {
    visibility: visible;
}

.table-mudmenu .mud-icon-button {
    padding: 0 !important;
}

/* Camera Control Styles */
@media print {
    .camera-control .thumbnail-container {
        page-break-inside: avoid;
    }
}

.image-capture-container {
    width: 100%;
}

.image-capture-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.thumbnail-controls {
    margin-top: 4px;
}

.no-border {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
} 