styles.css
.rules-text-area {
    width: 100%;
    display: inline-block;
}

.rules-text-area .setting-item-info {
    margin-bottom: 0.75rem;
}

.rules-text-area .setting-item-control {
    flex-direction: column;
    align-items: flex-end;
}

.rules-editor-wrapper {
    width: 100%;
    margin-bottom: 0.75rem;
}

.rules-editor-wrapper .cm-editor {
    height: 20em;
    resize: vertical;
    overflow: auto;
    font-size: var(--font-inputs);
    text-align: left;
    outline: none !important;
}

.rules-editor-wrapper .cm-line,
.rules-editor-wrapper .cm-lineNumbers {
    font-family: var(--font-monospace);
}


.rules-profiles {
    width: 100%;
    display: flex;
    
}

.rules-profile-button {
    display: flex;
    height: 40px;
    min-width: 20px;
    align-items: center;
    padding: 0px 10px 12px 10px;
    
}

.rules-profile-button svg {
    width: 12px !important;
    height: 12px !important;
}

.rules-profile-close {
    margin-left: 5px;
    margin-right: 0px;
}

.rules-profile-button.selected {
    background: var(--background-primary);
    color: var(--text-on-accent); 
}

.rules-profile-button.clickable-icon {
    margin: 0 5px;
}

.rules-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.rules-editor-validity {
    display: flex;
    align-items: center;
}

.rules-editor-validity-txt {
    padding: 0.5em;
    text-align: left;
}

.rules-editor-validity-indicator {
    color: white;
    display: inline-block;
    border-radius: 1em;
    padding: 0.1em;
    margin-right: 1em;
    cursor: default;
    visibility: hidden;
}


.rules-editor-validity-indicator svg {
    width: 12px !important;
    height: 12px !important;
}


.rules-editor-validity-indicator:hover {
    color: white;
}


.rules-editor-validity-indicator.valid {
    background-color: #7dc535;
    visibility: visible;
}


.theme-dark .rules-editor-validity-indicator.valid {
    background-color: #588b24;
}


.rules-editor-validity-indicator.invalid {
    background-color: #ea5555;
    visibility: visible;
}
