/* src/assets/styles.css */
.edit-mode-region .accordion-button {
    position: relative;
}

.constraint-indicator {
    display: inline-block;
    background-color: #ffc107;
    color: #212529;
    font-size: 0.7em;
    padding: 0 4px;
    border-radius: 3px;
    margin-left: 8px;
}

.constraint-badge {
    background-color: #e9ecef !important;
    border-left: 3px solid #ffc107 !important;
}

.edit-mode-property.has-dependency,
.edit-mode-property.has-constraint {
    border-left: 3px solid #6c757d;
    padding-left: 10px;
    margin: 5px 0;
}

.edit-mode-property.has-constraint {
    border-left-color: #ffc107;
}

.edit-mode-property.has-dependency {
    border-left-color: #17a2b8;
}

.dependency-indicator {
    color: #17a2b8;
    font-size: 0.8em;
    margin-left: 5px;
}

.constraint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.prop-name {
    font-weight: 500;
}

.edit-mode .n4v-inactive-dependency {
    opacity: 1 !important;
    filter: none !important;
}

.edit-mode .n4v-inactive-dependency * {
    pointer-events: auto !important;
    opacity: 1 !important;
}

.constraint-editor {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.constraint-editor .form-select, 
.constraint-editor .form-control {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.constraint-indicator {
    font-size: 0.75em;
    padding: 0.25em 0.4em;
}

.edit-mode .constraint-badge {
    background-color: #fff3cd !important;
    border-left: 3px solid #ffc107 !important;
}

.edit-mode .add-constraint {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}

/* #scroll-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

#scroll-top-btn:hover {
    background-color: #444;
} */