﻿.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;
}

/* Dashboard Switcher Styles */
.dashboard-switcher {
    position: absolute;
    right: 20px;
    top: 50px;
    z-index: 999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

    .dashboard-switcher:hover {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        transform: translateY(-2px);
    }

.dashboard-buttons {
    display: flex;
    gap: 0;
    background: transparent;
    border-radius: 50px;
}

.dashboard-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    outline: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .dashboard-btn:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .dashboard-btn.active {
        background: #1a1a1a;
        color: #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .dashboard-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: 0;
    }

    .dashboard-btn:hover::before {
        width: 300px;
        height: 300px;
    }

.dashboard-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-btn-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.dashboard-btn:hover .dashboard-btn-icon {
    transform: scale(1.1);
}

.dashboard-btn.active .dashboard-btn-icon {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .dashboard-switcher {
        right: 10px;
        top: 60px;
    }

    .dashboard-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .dashboard-btn-icon {
        font-size: 14px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dashboard-switcher {
        background: linear-gradient(135deg, #434343 0%, #000000 100%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

        .dashboard-switcher:hover {
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
        }

    .dashboard-btn.active {
        background: #1a1a1a;
        color: #e0e0e0;
    }
}

/* ============================================
   Route Configuration Styles - Scoped to #RouteConfiguration
   ============================================ */

/* Main Container */
#RouteConfiguration.routeconfiguration {
    background: #f5f7fa;
    padding: 2rem 1.5rem;
    min-height: 100vh;
}

/* Page Header */
#RouteConfiguration .route-config-header {
    text-align: center;
    margin: 0 0 2rem 0;
    color: #182444;
    font-weight: 600;
}

    #RouteConfiguration .route-config-header .sub.header {
        color: #6c757d;
        margin-top: 0.5rem;
        font-size: 1rem;
        font-weight: 400;
    }

/* Tabs - Modern Design */
#RouteConfiguration .route-config-tabs {
    justify-content: center;
    border: none;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.4rem;
    box-shadow: 0 2px 8px rgba(24, 36, 68, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

    #RouteConfiguration .route-config-tabs .item {
        border: none;
        color: #6c757d;
        font-weight: 600;
        padding: 0.85rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin: 0 0.25rem;
        position: relative;
        overflow: hidden;
    }

        #RouteConfiguration .route-config-tabs .item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: #182444;
            transform: translateX(-50%);
            transition: width 0.3s ease;
            border-radius: 3px 3px 0 0;
        }

        #RouteConfiguration .route-config-tabs .item:hover {
            background: rgba(24, 36, 68, 0.05);
            color: #182444;
        }

            #RouteConfiguration .route-config-tabs .item:hover::after {
                width: 60%;
            }

        #RouteConfiguration .route-config-tabs .item.active {
            background: #182444;
            color: #ffffff;
            box-shadow: 0 2px 6px rgba(24, 36, 68, 0.2);
        }

            #RouteConfiguration .route-config-tabs .item.active::after {
                width: 80%;
                background: #ffffff;
            }

/* Tab Content Container */
#RouteConfiguration .ui.bottom.attached.segment {
    border: none;
    box-shadow: 0 2px 12px rgba(24, 36, 68, 0.08);
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toolbar */
#RouteConfiguration .toolbar {
    text-align: center;
    margin-bottom: 1.5rem;
}

    #RouteConfiguration .toolbar .ui.button {
        background: #182444;
        color: white;
        border-radius: 8px;
        padding: 0.9rem 2rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(24, 36, 68, 0.15);
        transition: all 0.3s ease;
    }

        #RouteConfiguration .toolbar .ui.button:hover {
            background: #0f1829;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(24, 36, 68, 0.2);
        }

/* Fieldset Styles */
#RouteConfiguration .route-fieldset {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 1.8rem;
    margin: 1.5rem 0;
    background: #ffffff;
    position: relative;
}

    #RouteConfiguration .route-fieldset::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #182444;
        border-radius: 10px 10px 0 0;
    }

#RouteConfiguration .route-fieldset-compact {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.3rem;
    margin: 1rem 0;
    background: #f8f9fa;
    border-left: 3px solid #182444;
    min-width: 100%;
}

/* Legend Styles */
#RouteConfiguration .route-legend {
    font-size: 1.1rem;
    font-weight: 700;
    color: #182444;
    padding: 0 0.8rem;
    background: #ffffff;
    margin-left: 0.8rem;
}

    #RouteConfiguration .route-legend i {
        margin-right: 0.6rem;
        color: #182444;
    }

#RouteConfiguration .route-legend-compact {
    font-size: 1rem;
    font-weight: 700;
    color: #182444;
    padding: 0 0.6rem;
    background: #f8f9fa;
}

    #RouteConfiguration .route-legend-compact i {
        color: #6c757d;
    }

/* Search Bar */
#RouteConfiguration .search-bar-container {
    max-width: 600px;
    margin: 0 auto;
}

    #RouteConfiguration .search-bar-container .ui.input {
        width: 100%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }

#RouteConfiguration .search-bar {
    border-radius: 8px;
    padding: 1.5rem 1.3rem;
    padding-left: 3.8rem;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

    #RouteConfiguration .search-bar:focus {
        border-color: #182444;
        box-shadow: 0 0 0 3px rgba(24, 36, 68, 0.1);
    }

#RouteConfiguration .search-bar-container .ui.input > i.icon {
    left: 1rem;
    color: #6c757d;
}

/* Cards */
#RouteConfiguration .ui.cards {
    justify-content: center;
    margin-top: 1.5rem;
}

#RouteConfiguration .ui.card {
    box-shadow: 0 2px 10px rgba(24, 36, 68, 0.08);
    border: 1px solid #dee2e6;
    margin: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #ffffff;
}

    #RouteConfiguration .ui.card:hover {
        box-shadow: 0 6px 20px rgba(24, 36, 68, 0.12);
        transform: translateY(-4px);
        border-color: #182444;
    }

    #RouteConfiguration .ui.card > .content > .header {
        color: #182444;
        font-size: 1.2rem;
        padding-bottom: 0.8rem;
        margin-bottom: 0.8rem;
        border-bottom: 2px solid #dee2e6;
        font-weight: 700;
    }

        #RouteConfiguration .ui.card > .content > .header i {
            color: #182444;
            margin-right: 0.6rem;
        }

    /* Card Modified State */
    #RouteConfiguration .ui.card.modified {
        border-color: #182444;
        background: #f8f9fb;
        border-width: 2px;
    }

    #RouteConfiguration .ui.card.modified-pulse {
        animation: cardPulse 0.6s ease;
    }

@keyframes cardPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Labels */
#RouteConfiguration strong.ui.label {
    background: #182444;
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(24, 36, 68, 0.15);
}

#RouteConfiguration label.small {
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
    margin: 0.6rem 0 1rem 0;
    font-weight: 500;
}

/* Inline Segments */
#RouteConfiguration .inline-segment {
    padding: 1.3rem;
    margin: 0.8rem 0;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

    #RouteConfiguration .inline-segment:hover {
        box-shadow: 0 4px 10px rgba(24, 36, 68, 0.08);
        border-color: #182444;
    }

    #RouteConfiguration .inline-segment label {
        font-weight: 600;
        color: #182444;
        margin-right: 0.8rem;
        min-width: 110px;
        display: inline-block;
    }

/* Form Containers */
#RouteConfiguration .route-form-container {
    max-width: 850px;
    margin: 0 auto 1.5rem auto;
}

#RouteConfiguration .route-form-wrapper {
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

    #RouteConfiguration .route-form-wrapper .field label {
        font-weight: 600;
        color: #182444;
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }

/* Route Tab Split Layout */
#RouteConfiguration .route-tab-layout {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

#RouteConfiguration .route-forms-section {
    flex: 1;
    min-width: 0;
}

#RouteConfiguration .route-map-section {
    flex: 1;
    min-width: 400px;
}

#RouteConfiguration .route-map-container-sticky {
    position: sticky;
    top: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 36, 68, 0.08);
    border: 2px solid #dee2e6;
    overflow: hidden;
}

#RouteConfiguration .route-map-header {
    padding: 1rem 1.5rem;
    background: #182444;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #RouteConfiguration .route-map-header h4 {
        margin: 0;
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
    }

        #RouteConfiguration .route-map-header h4 i {
            margin-right: 0.5rem;
        }

#RouteConfiguration .route-map-controls {
    display: flex;
    gap: 0.5rem;
}

    #RouteConfiguration .route-map-controls .ui.button {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

        #RouteConfiguration .route-map-controls .ui.button:hover {
            background: rgba(255, 255, 255, 0.2);
        }

    #RouteConfiguration .route-map-controls .ui.primary.button {
        background: #2185d0;
        border: none;
    }

        #RouteConfiguration .route-map-controls .ui.primary.button:hover {
            background: #1678c2;
        }

#RouteConfiguration .route-map-display {
    width: 100%;
    height: 600px;
    background: #f8f9fa;
}

#RouteConfiguration .route-map-legend {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#RouteConfiguration .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #182444;
}

#RouteConfiguration .legend-icon {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    display: inline-block;
}

    #RouteConfiguration .legend-icon.marker-icon {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/* Leaflet Custom Styles */
#RouteConfiguration .leaflet-container {
    font-family: inherit;
}

#RouteConfiguration .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(24, 36, 68, 0.15);
}

#RouteConfiguration .leaflet-popup-content {
    margin: 1rem;
}

#RouteConfiguration .route-popup {
    min-width: 200px;
}

    #RouteConfiguration .route-popup h5 {
        margin: 0 0 0.5rem 0;
        color: #182444;
        font-size: 1rem;
        font-weight: 600;
    }

    #RouteConfiguration .route-popup p {
        margin: 0.25rem 0;
        font-size: 0.9rem;
        color: #6c757d;
    }

    #RouteConfiguration .route-popup strong {
        color: #182444;
    }

/* Buttons */
#RouteConfiguration .ui.button {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
}

    #RouteConfiguration .ui.button:hover {
        transform: translateY(-2px);
    }

    #RouteConfiguration .ui.button i {
        margin-right: 0.5rem;
    }

    #RouteConfiguration .ui.button.action-btns {
        margin-top: 0.8rem;
    }

#RouteConfiguration .ui.green.button {
    background: #28a745;
    color: white;
}

    #RouteConfiguration .ui.green.button:hover {
        background: #218838;
    }

#RouteConfiguration .ui.red.button {
    background: #dc3545;
    color: white;
}

    #RouteConfiguration .ui.red.button:hover {
        background: #c82333;
    }

#RouteConfiguration .ui.primary.button {
    background: #182444;
    color: white;
}

    #RouteConfiguration .ui.primary.button:hover {
        background: #0f1829;
    }

/* Responsive */
@media (max-width: 768px) {
    #RouteConfiguration.routeconfiguration {
        padding: 1rem;
    }

    #RouteConfiguration .ui.bottom.attached.segment {
        padding: 1.5rem;
    }

    #RouteConfiguration .route-config-tabs .item {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }

    #RouteConfiguration .route-fieldset,
    #RouteConfiguration .route-fieldset-compact {
        padding: 1.2rem;
    }

    #RouteConfiguration .inline-segment {
        flex-direction: column;
        align-items: flex-start;
    }

        #RouteConfiguration .inline-segment label {
            min-width: auto;
            display: block;
            margin-bottom: 0.5rem;
        }

    #RouteConfiguration .route-tab-layout {
        flex-direction: column;
    }

    #RouteConfiguration .route-forms-section,
    #RouteConfiguration .route-map-section {
        width: 100%;
    }

    #RouteConfiguration .route-map-container-sticky {
        position: relative;
        height: 400px;
    }
}

@media (max-width: 480px) {
    #RouteConfiguration .route-config-header {
        font-size: 1.5rem;
    }

    #RouteConfiguration .toolbar .ui.button {
        display: block;
        width: 100%;
    }
}

/* ========================================
   Right Navigation Panel (Page Content Column)
   Classic, professional styling for CRUD sidebar navigation
   Sticky positioning with proper scroll behavior
   ======================================== */

.pagecontentcolumn.columnright {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    z-index: 100;
    max-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
}

    .pagecontentcolumn.columnright h3.ui {
        margin: 0;
        padding: 16px 20px;
        background: #f8f9fa;
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 2px solid #e9ecef;
        letter-spacing: 0.3px;
        flex-shrink: 0;
    }

    .pagecontentcolumn.columnright .ui.accordion {
        padding: 0;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        background: #ffffff;
    }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar {
            width: 8px;
        }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-track {
            background: #f8f9fa;
            border-left: 1px solid #e9ecef;
        }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-thumb {
            background: #cbd5e0;
            border-radius: 4px;
            border: 2px solid #f8f9fa;
        }

            .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-thumb:hover {
                background: #a0aec0;
            }

        .pagecontentcolumn.columnright .ui.accordion .item {
            margin: 0;
            border-bottom: 1px solid #f0f0f0;
        }

            .pagecontentcolumn.columnright .ui.accordion .item:last-child {
                border-bottom: none;
            }

        .pagecontentcolumn.columnright .ui.accordion .title {
            padding: 0 !important;
            margin: 0 !important;
            background: transparent !important;
            border: none !important;
        }

            .pagecontentcolumn.columnright .ui.accordion .title a {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 14px 20px;
                color: #4a5568;
                text-decoration: none;
                transition: all 0.2s ease;
                font-size: 14px;
                font-weight: 500;
                cursor: pointer;
                width: 100%;
                background: #ffffff;
                border-left: 3px solid transparent;
            }

                .pagecontentcolumn.columnright .ui.accordion .title a:hover {
                    background-color: #f7fafc;
                    color: #2d3748;
                    border-left-color: #cbd5e0;
                    text-decoration: none;
                }

                /* Active/Selected state - Keep highlighted */
                .pagecontentcolumn.columnright .ui.accordion .title.active a,
                .pagecontentcolumn.columnright .ui.accordion .title a.active,
                .pagecontentcolumn.columnright .ui.accordion .item.active .title a {
                    background: #edf2f7 !important;
                    color: #2c5282 !important;
                    font-weight: 600 !important;
                    border-left-color: #4299e1 !important;
                }

                    /* Keep active state even when hovering */
                    .pagecontentcolumn.columnright .ui.accordion .title.active a:hover,
                    .pagecontentcolumn.columnright .ui.accordion .title a.active:hover,
                    .pagecontentcolumn.columnright .ui.accordion .item.active .title a:hover {
                        background: #e2e8f0 !important;
                        color: #2c5282 !important;
                    }

                /* Expand/Collapse Icon Styling */
                .pagecontentcolumn.columnright .ui.accordion .title a i.icon,
                .pagecontentcolumn.columnright .ui.accordion .title a i.dropdown.icon {
                    margin: 0;
                    font-size: 12px;
                    width: 16px;
                    height: 16px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: transform 0.3s ease;
                    opacity: 0.6;
                    order: 2;
                    flex-shrink: 0;
                }

                /* Text content wrapper */
                .pagecontentcolumn.columnright .ui.accordion .title a > span,
                .pagecontentcolumn.columnright .ui.accordion .title a::before {
                    flex: 1;
                    order: 1;
                }

                .pagecontentcolumn.columnright .ui.accordion .title a:hover i.icon,
                .pagecontentcolumn.columnright .ui.accordion .title a:hover i.dropdown.icon {
                    opacity: 1;
                }

            /* Rotate icon when expanded/active */
            .pagecontentcolumn.columnright .ui.accordion .title.active a i.dropdown.icon,
            .pagecontentcolumn.columnright .ui.accordion .title.active a i.icon,
            .pagecontentcolumn.columnright .ui.accordion .item.active .title a i.dropdown.icon,
            .pagecontentcolumn.columnright .ui.accordion .item.active .title a i.icon {
                transform: rotate(90deg);
                opacity: 1;
                color: #4299e1;
            }

            /* Use chevron for better expand/collapse indication */
            .pagecontentcolumn.columnright .ui.accordion .title a i.dropdown.icon:before {
                content: "\f054" !important; /* fa-chevron-right */
                font-family: 'FontAwesome', sans-serif !important;
            }

        .pagecontentcolumn.columnright .ui.accordion .content {
            padding: 0 !important;
            margin: 0 !important;
            background: #fafafa;
        }

            /* Nested items styling (if any) */
            .pagecontentcolumn.columnright .ui.accordion .content .item {
                background: #fafafa;
            }

            .pagecontentcolumn.columnright .ui.accordion .content .title a {
                padding-left: 40px;
                font-size: 13px;
                background: #fafafa;
            }

                .pagecontentcolumn.columnright .ui.accordion .content .title a:hover {
                    background: #f0f0f0;
                }

                /* Active nested items */
                .pagecontentcolumn.columnright .ui.accordion .content .title.active a,
                .pagecontentcolumn.columnright .ui.accordion .content .title a.active {
                    background: #e2e8f0 !important;
                    color: #2c5282 !important;
                    font-weight: 600;
                    border-left-color: #4299e1 !important;
                }

        /* Divider between sections */
        .pagecontentcolumn.columnright .ui.accordion .item + .item {
            border-top: 1px solid #f0f0f0;
        }

        /* Badge/counter styling (if needed) */
        .pagecontentcolumn.columnright .ui.accordion .title a .badge {
            margin-left: auto;
            margin-right: 8px;
            background: #e2e8f0;
            color: #4a5568;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
        }

        .pagecontentcolumn.columnright .ui.accordion .title.active a .badge,
        .pagecontentcolumn.columnright .ui.accordion .item.active .title a .badge {
            background: #bee3f8;
            color: #2c5282;
        }

    /* Ensure parent container supports sticky positioning */
    .pagecontentcolumn.columnright.ui.dividing.right {
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
    }

/* Fix for flexbox parent containers */
.pagecontent {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Active indicator line (optional visual enhancement) */
.pagecontentcolumn.columnright .ui.accordion .title.active a::after,
.pagecontentcolumn.columnright .ui.accordion .item.active .title a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: #4299e1;
    border-radius: 3px 0 0 3px;
}

.pagecontentcolumn.columnright .ui.accordion .title a {
    position: relative;
}

/* Responsive Design for Page Content Column */
@media (max-width: 992px) {
    .pagecontentcolumn.columnright {
        position: relative;
        top: 0;
        margin: 15px 0;
        width: 100% !important;
        max-height: none;
    }

        .pagecontentcolumn.columnright .ui.accordion {
            max-height: 500px;
        }
}

@media (max-width: 768px) {
    .pagecontentcolumn.columnright {
        position: relative;
        top: 0;
    }

        .pagecontentcolumn.columnright h3.ui {
            padding: 12px 16px;
            font-size: 15px;
        }

        .pagecontentcolumn.columnright .ui.accordion {
            max-height: 400px;
        }

            .pagecontentcolumn.columnright .ui.accordion .title a {
                padding: 12px 16px;
                font-size: 13px;
            }

            .pagecontentcolumn.columnright .ui.accordion .content .title a {
                padding-left: 32px;
            }
}

/* Print Styles for Page Content Column */
@media print {
    .pagecontentcolumn.columnright {
        display: none;
    }
}

/* Focus styles for accessibility */
.pagecontentcolumn.columnright .ui.accordion .title a:focus {
    outline: 2px solid #4299e1;
    outline-offset: -2px;
}

/* Loading state (optional) */
.pagecontentcolumn.columnright .ui.accordion.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state (optional) */
.pagecontentcolumn.columnright .ui.accordion:empty::before {
    content: "No items to display";
    display: block;
    padding: 20px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

/* Smooth scroll behavior */
.pagecontentcolumn.columnright .ui.accordion {
    scroll-behavior: smooth;
}

/* Shadow on scroll for better depth perception */
.pagecontentcolumn.columnright.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* DataFeed DetailedView Styles */
.summary-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 32px 24px;
    margin: 24px auto;
    max-width: 900px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.preload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.85);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.preloader {
    text-align: center;
}

.loadertextwrap {
    margin-top: 16px;
}

.loadingtext {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 600;
    color: #ff9800;
    animation: fadein 1.2s infinite alternate;
}

@keyframes fadein {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.canceloperation {
    display: inline-block;
    margin-top: 12px;
    color: #d32f2f;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

    .canceloperation:hover {
        color: #b71c1c;
        text-decoration: underline;
    }

.summary-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.summary-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-tab {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.summary-tab-list {
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    background: #f5f5f5;
    margin-right: 4px;
    transition: background 0.2s;
}

    .summary-tab-list.active {
        background: #ff9800;
        color: #fff;
    }

    .summary-tab-list:hover {
        background: #ffe0b2;
    }

.panelcontrols {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove {
    font-size: 1.2em;
    color: #d32f2f;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

    .remove:hover {
        background: #ffcdd2;
    }

.minmax {
    font-size: 1.2em;
    color: #757575;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.quickviewwrap {
    margin-top: 18px;
}

.summarytab-content {
    background: #fafafa;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

h4 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 18px;
}

.label-value-box {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.label-value-box-inner {
    flex: 1 1 220px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label-style {
    font-weight: 500;
    color: #666;
    margin-bottom: 2px;
}

.link-content {
    color: #333;
    font-size: 1em;
    word-break: break-all;
}

/* DataFeed File Upload Panel Styles */
.upload-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.filename {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 1em;
    color: #333;
    width: 100%;
    max-width: 320px;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: border 0.2s;
}

.filename:focus, .filename:hover {
    border: 1.5px solid #ff9800;
}

.upload-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.button-orange {
    background: linear-gradient(90deg, #ff9800 80%, #ffa726 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(255,152,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.button-orange:hover {
    background: linear-gradient(90deg, #ffa726 80%, #ff9800 100%);
    box-shadow: 0 2px 8px rgba(255,152,0,0.16);
}

