﻿.ng-cloak {
    display: none !important;
}


.right .modal-dialog,
.left .modal-dialog {
    transition: transform .25s ease-out;
    position: fixed;
    margin: auto;
    height: 100%;
}

.modal.right .modal-content,
.modal.left .modal-content {
    overflow-y: auto;
    border-radius: 0;
    border: none;
    height: 100%;
}

.right .modal-dialog {
    transform: translateX(10px);
    right: 0;
}

.left .modal-dialog {
    transform: translateX(-10px);
    left: 0;
}

.userguides {
    width: 100%
}

    .userguides img {
        width: 100%
    }

    .userguides h1 {
        font-size: 20px;
        font-weight: bold;
    }

    .userguides h2 {
        font-size: 15px;
    }

    .userguides h3 {
        font-size: 12px;
    }

pre {
    font-size: 20px;
    border: 2px solid grey;
    width: 100%;
    white-space: pre-wrap;
    word-break: keep-all
}

    pre code {
        width: 100%;
        padding: 10px;
        color: #333;
    }


.evo-pop.ui-widget.ui-widget-content.ui-corner-all {
    width: 80%;
}

.evo-cp-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.evo-pointer evo-colorind {
    margin: 10px;
}

.gjs-one-bg {
    background-color: #f5f5f5 !important;
    color: black !important;
}

.gjs-select option, .gjs-field-select option, .gjs-clm-select option, .gjs-sm-select option, .gjs-fields option, .gjs-sm-unit option {
    background-color: unset !important;
    color: unset !important;
}

.gjs-devices-c {
    padding: 2px 3px 0px 3px !important;
}

/* Spinner style */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#content {
    text-align: center;
    margin-top: 50px;
}

.table > :not(:first-child) {
    border-top: unset !important;
}

.sortable-tree {
    list-style-type: none;
    padding-left: 20px;
    margin: 0;
}

    .sortable-tree li {
        margin: 6px 0;
        position: relative;
    }


.placeholder {
    background-color: #ffe7ba;
    border: 2px dashed #ffa940;
    min-height: 40px;
    margin: 6px 0;
    border-radius: 6px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* Hierarchy lines (optional) */
.sortable-tree li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    width: 12px;
    height: 100%;
    border-left: 2px dashed #d3d3d3;
}

.sortable-tree li::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    width: 12px;
    border-top: 2px dashed #d3d3d3;
}

.delete-btn {
    float: right;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    padding: 0 8px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .delete-btn:hover {
        background-color: #cf1322;
    }

.menu-set-form {
    margin-bottom: 20px;
}

    .menu-set-form label {
        display: inline-block;
        margin-right: 20px;
        font-weight: bold;
    }

    .menu-set-form input {
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-left: 6px;
    }

.menu-set-form {
    background: #f9fbfc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    max-width: 500px;
}

.form-row {
    margin-bottom: 15px;
}

.menu-set-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.menu-set-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

    .menu-set-form input:focus {
        border-color: #4a90e2;
        outline: none;
    }

.save-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .save-btn:hover {
        background-color: #3f9741;
    }

.sortable-tree {
    list-style: none;
    padding-left: 20px;
}

.item {
    background: #fff;
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #cce4f7;
    font-family: Arial, sans-serif;
    position: relative;
    font-size: 14px;
}

/*    .item:hover {
        background: #e9f5ff;
    }*/

.toggle {
    cursor: pointer;
    margin-right: 8px;
    font-weight: bold;
    color: #007baf;
    display: inline-block;
    width: 18px;
}

.no-toggle {
    display: inline-block;
    width: 18px;
    margin-right: 8px;
}

.delete-btn {
    float: right;
    border: none;
    background: #ff4d4d;
    color: white;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

    .delete-btn:hover {
        background: #e63939;
    }

.tree-controls {
    margin-bottom: 10px;
    max-width: 500px;
    float: right;
    text-align-last: right;
}

.control-btn {
    background-color: #007baf;
    color: white;
    border: none;
    padding: 6px 12px;
    margin-right: 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .control-btn:hover {
        background-color: #005f88;
    }

.menu-editor {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.menu-panel {
    flex: 1;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px;
    background: #fefefe;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    min-height: 400px;
}

.sortable-tree {
    list-style: none;
    padding-left: 0;
    min-height: 50px;
}

    .sortable-tree li {
        margin-bottom: 6px;
    }


.toggle {
    cursor: pointer;
    margin-right: 5px;
    font-weight: bold;
    font-size: 14px;
}

.no-toggle {
    display: inline-block;
    width: 15px;
}

.delete-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: crimson;
    cursor: pointer;
    margin-left: 10px;
}

.menu-placeholder {
    background: #dcedc8;
    border: 2px dashed #8bc34a;
    height: 36px;
}