Projects/SealWebServer/wwwroot/Content/sealweb.css
﻿.numeric_input {
    text-align: right;
}

.folderview, .reportview, .navbar-right {
    display: none;
}

.folderview, .reportview, .navbar-right, #output-panel, #message_button {
    transition: opacity 1s linear;
}

/* light buttons */
.lighticon-menu .lightbutton {
    display: inline-block;
    text-align: center;
    background: #f2f2f2;
    padding: .4rem 0 .5rem .1rem;
}

.lightbutton {
    line-height: 1.25; /* default: 1.5 */
    cursor: pointer;
    padding: 0 1px;
    margin: 0;
    min-width: 40px;
    /*color: see theme*/
}

a {
    cursor: pointer;
}

.nopointer {
    cursor: default !important;
}

.lightbutton:hover {
    /*color: see theme*/
}

.lightbutton.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.lightbutton-icon {
    font-size: 1.2em;
}

/* Reduce lightbutton text size */
.lightbutton-text {
    font-size: 0.82em;
}

/* bootstrap override */

.report-name, .output-name {
    color: #000 !important;
    padding: 0px;
    cursor: pointer;
}

    .report-name:hover, .output-name:hover {
        text-decoration: none;
    }

#file-table-view > div > .row {
    margin-right: 0px !important; /* avoid overflow on datatable */
}

#schedule-row > div > .form-group, #schedule-exec > .form-group {
    margin-bottom: 2px;
}

#output-table-body td, #file-table-body td {
    vertical-align: middle;
    padding: 4px;
}

.btn-table {
    font-size: 12px;
}

/* jstree */
.jstree-clicked {
    background: #d9d9d9 !important;
    border-radius: 4px !important;
}

.jstree-search {
    color:black !important;
}

#elements-tree {
    background: none !important;
}

/* Drag panels */
.drag-panel {
    padding: 1px !important;
    margin: 2px 0px !important;
    background: linear-gradient(#FFF, #d9d9d9);
    overflow: auto;
}

.drop-span {
    margin: 10px;
    position: absolute;
    font-style: italic;
}


.over {
    border: 1px dashed #000;
    opacity: 0.5;
    background: #cccccc;
}

.over2 {
    opacity: 0.5;
    background: orange !important;
}

#wait-dialog {
    top: 80px;
    z-index: 100000 !important;
}

@media (min-width: 768px) {
    #wait-dialog > .modal-dialog {
        width: 300px;
    }
}

.properties-label {
    display: inline;
    padding-top: 8px;
    width: 35%;
    float: left;
}

.properties-value {
    display: inline;
    width: 65%;
    float: left;
}

#action-tableheader {
    width: 185px;
    min-width: 185px;
    text-align: center;
}

@media (max-width: 768px) {
    #action-tableheader {
        width: 120px;
        min-width: 120px;
    }
}

/* Element buttons */
.element-btn-group {
    display: none;
    width: 100%;
}


.numeric {
    text-align: right;
}

/* dataTables */
table.dataTable {
    margin: 0px !important;
}

#refresh-nav-item {
    font-size: 20px;
}
    /* spin speed */
    #refresh-nav-item.fa-spin {
        animation-duration: 1s;
    }

#assistant-nav-item {
    font-size: 20px;
}

#nav_button .fa-spin {
    opacity: 0.6;
    margin-left: 5px;
}

/* sub-menus */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #555;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.not-dotnet-core {
    display: none !important;
}


/*ALERT*/
.sr-alert {
    position: fixed !important;
    top: 5px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    min-width: 300px;
    max-width: 600px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    border: none;
    z-index: 10000;
    opacity: 1;
    animation: none;
}

    .sr-alert .close {
        position: absolute;
        right: 12px;
        top: 12px;
        opacity: 0.7;
        font-size: 18px;
        padding: 5px;
    }

        .sr-alert .close:hover {
            opacity: 1;
        }

    .sr-alert p {
        margin: 0;
        font-weight: 500;
        font-size: 14px;
        padding-right: 20px;
    }

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    90% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

/* menu divider */
/* Style the divider */
.menu-divider {
    font-weight: bold;
    padding: 5px 10px;
    background: #f1f1f1;
    color: #333;
    cursor: default;
    text-transform: uppercase;
}

/* Configuration Dialog Layout */
#config-dialog .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

#config-dialog .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#config-dialog .modal-header {
    background-color: #f5f5f7;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 12px 12px 0 0;
}

#config-dialog .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#config-dialog .modal-body {
    padding: 24px;
    max-height: 74vh;
    overflow-y: auto;
}

#config-dialog .modal-footer {
    padding: 16px 24px;
    background-color: #f5f5f7;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Input Layout Styling */
.config-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
    width: 100%;
}

.config-input-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.config-input-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 150px;
    max-width: 150px;
    flex-shrink: 0;
}

.config-input-field {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 166px);
}

/* Form Controls - Regular inputs */
#config-dialog .form-control:not(.bootstrap-select):not(.btn) {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    padding: 10px 12px;
    transition: border-color 0.2s ease;
    width: 100%;
    height: 42px;
    box-sizing: border-box;
}

    #config-dialog .form-control:not(.bootstrap-select):not(.btn):focus {
        border-color: #62a6ff;
        box-shadow: none;
        outline: none;
    }

#config-dialog textarea.form-control {
    min-height: 80px;
    resize: vertical;
    height: auto;
}

/* Bootstrap Select Overrides */
#config-dialog .bootstrap-select {
    width: 100% !important;
    max-width: 100% !important;
}

    #config-dialog .bootstrap-select.form-control {
        padding: 0 !important;
        border: none !important;
        height: auto !important;
        width: 100% !important;
    }

    #config-dialog .bootstrap-select .btn {
        border: 1px solid #e0e0e0 !important;
        border-radius: 6px !important;
        padding: 10px 12px !important;
        background-color: white !important;
        box-shadow: none !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 14px !important;
        height: 42px !important;
        line-height: 1.4 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

        #config-dialog .bootstrap-select .btn:focus,
        #config-dialog .bootstrap-select .btn:active,
        #config-dialog .bootstrap-select.open .btn {
            border-color: #62a6ff !important;
            box-shadow: none !important;
            outline: none !important;
            background-color: white !important;
        }

        #config-dialog .bootstrap-select .btn:hover {
            background-color: #f8f9fa !important;
            border-color: #e0e0e0 !important;
        }

    /* Fix for bootstrap-select caret */
    #config-dialog .bootstrap-select .caret {
        border-top: 4px solid #666;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        margin-left: 8px;
    }

/* Tab Navigation */
#config-dialog .nav-pills {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    background: none;
}

    #config-dialog .nav-pills > li > a {
        border-radius: 0;
        padding: 12px 16px;
        color: #5f6368;
        background: none;
        border: none;
    }

    #config-dialog .nav-pills > li.active > a,
    #config-dialog .nav-pills > li.active > a:hover,
    #config-dialog .nav-pills > li.active > a:focus {
        color: #62a6ff;
        background-color: transparent;
        border-bottom: 2px solid #62a6ff;
    }

#config-dialog .tab-content {
    padding-top: 0px;
}

#config-dialog .tab-pane {
    padding: 0 !important;
}

/* Panel Groups */
.config-groups-panel,
.config-logins-panel {
    margin-bottom: 20px;
}

.group-folder-panel {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

/* Section Headers */
.config-section-header {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

/* Button Styling */
#config-dialog .btn:not(.bootstrap-select .btn) {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

#config-dialog .btn-primary:not(.bootstrap-select .btn) {
    background-color: #62a6ff;
    color: white;
}

    #config-dialog .btn-primary:not(.bootstrap-select .btn):hover {
        background-color: #4a90e2;
    }

#config-dialog .btn-default:not(.bootstrap-select .btn) {
    background-color: #f5f5f7;
    color: #333;
    border: 1px solid #e0e0e0;
}

    #config-dialog .btn-default:not(.bootstrap-select .btn):hover {
        background-color: #e5e5e7;
    }

/* Close Button */
#config-dialog .close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
}

    #config-dialog .close:hover {
        background-color: #e0e0e0;
    }

/* Dividers */
#config-dialog hr {
    border: none;
    border-top: 1px solid #e1e1e3;
    margin: 20px 0;
}

/* Input Groups */
#config-dialog .input-group {
    display: flex;
    width: 100%;
    max-width: 100%;
    position: relative;
    height: 42px;
    box-sizing: border-box;
}

    #config-dialog .input-group .form-control {
        flex: 1;
        border-radius: 6px 0 0 6px !important;
        border-right: none !important;
        height: 42px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

        #config-dialog .input-group .form-control:focus {
            z-index: 3;
            border-color: #62a6ff !important;
            border-right: none !important;
        }

#config-dialog .input-group-btn {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    width: auto;
}

    #config-dialog .input-group-btn .btn {
        border-left: none !important;
        border-radius: 0 6px 6px 0 !important;
        padding: 10px 12px !important;
        border: 1px solid #e0e0e0 !important;
    }

        #config-dialog .input-group-btn .btn:hover {
            background-color: #e9ecef !important;
        }

        #config-dialog .input-group-btn .btn:focus {
            z-index: 3;
            border-color: #62a6ff !important;
            border-left: none !important;
        }


#config-dialog .input-group .form-control[readonly],
#config-dialog .input-group span.form-control {
    background-color: #f8f9fa;
    cursor: default;
    height: 42px !important;
    line-height: 20px !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
}

/* Multi-select styling */
#config-dialog select[multiple] {
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    width: 100%;
}

#config-dialog .form-group {
    margin-bottom: 16px;
}

#config-dialog .tab-content {
    overflow: hidden;
}

#config-dialog .tab-pane {
    width: 100%;
    box-sizing: border-box;
}

/* Container width constraints */
#config-group-detail-content,   
#config-user-detail-content {
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    #config-dialog .modal-dialog {
        margin: 10px;
        max-width: none;
    }

    .config-input-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .config-input-label {
        margin-bottom: 4px;
        min-width: auto;
        max-width: none;
    }

    .config-input-field {
        width: 100%;
        max-width: 100%;
    }

    #config-dialog .input-group-btn .btn {
        width: 40px !important;
    }
}

/*  Profile Dialog  */
#profile-dialog .modal-dialog,
#folder-dialog .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

#profile-dialog .modal-content,
#folder-dialog .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#profile-dialog .modal-header,
#folder-dialog .modal-header {
    background-color: #f5f5f7;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 12px 12px 0 0;
}

#profile-dialog .modal-title,
#folder-dialog .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#profile-dialog .modal-body,
#folder-dialog .modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

#profile-dialog .modal-footer,
#folder-dialog .modal-footer {
    padding: 16px 24px;
    background-color: #f5f5f7;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

#profile-dialog .form-group,
#folder-dialog .form-group {
    margin-bottom: 16px;
}

#profile-dialog .form-control,
#folder-dialog .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    padding: 10px 12px;
    transition: border-color 0.2s ease;
    width: 100%;
    height: 42px;
    box-sizing: border-box;
}

    #profile-dialog .form-control:focus,
    #folder-dialog .form-control:focus {
        border-color: #62a6ff;
        box-shadow: none;
        outline: none;
    }

#profile-dialog textarea.form-control,
#folder-dialog textarea.form-control {
    min-height: 80px;
    resize: vertical;
    height: auto;
}

#profile-dialog select,
#folder-dialog select {
    /*    width: 100% !important;*/
    max-width: 100% !important;
    border-radius: 6px;
    min-height: 42px;
}

#profile-dialog .btn,
#folder-dialog .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}

#profile-dialog .btn-primary,
#folder-dialog .btn-primary {
    background-color: #62a6ff;
    color: white;
}

    #profile-dialog .btn-primary:hover,
    #folder-dialog .btn-primary:hover {
        background-color: #4a90e2;
    }

#profile-dialog .btn-default,
#folder-dialog .btn-default {
    background-color: #f5f5f7;
    color: #333;
    border: 1px solid #e0e0e0;
}

    #profile-dialog .btn-default:hover,
    #folder-dialog .btn-default:hover {
        background-color: #e5e5e7;
    }

#profile-dialog .close,
#folder-dialog .close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
}

    #profile-dialog .close:hover,
    #folder-dialog .close:hover {
        background-color: #e0e0e0;
    }

@media (max-width: 768px) {
    #profile-dialog .modal-dialog,
    #folder-dialog .modal-dialog {
        margin: 10px;
        max-width: none;
    }
}
