.bg-priority-high {
    background-color: rgb(255, 101, 7) !important;
    color: #fff !important;
}

.auto-rule-form .auto-rule-json {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background-color: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.auto-rule-form .auto-rule-json:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Prepared Response form specific styles */
.prepared-response-form .prepared-input,
.prepared-response-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.prepared-response-form .prepared-input:focus,
.prepared-response-form .form-control:focus,
.prepared-response-form .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.prepared-response-form .form-select,
.prepared-response-form .prepared-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.prepared-response-form .form-check {
    padding-left: 1.75rem;
    margin-bottom: 0.35rem;
}

.prepared-response-form .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
}

.prepared-response-form .form-check-label {
    margin-left: 0.25rem;
}

/* Admin Message Fields form styles */
.admin-message-field-form .form-control,
.admin-message-field-form .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.admin-message-field-form .form-control:focus,
.admin-message-field-form .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.admin-message-field-form .regex-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background-color: #fafafa;
}

/* Message toggle selected state decoupled from global .active */
.message-toggles .message-toggle.is-selected {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.message-toggles .message-toggle.is-selected:focus {
    box-shadow: 0 0 0 .25rem rgba(108,117,125,.5);
}

/* When offcanvas is open, suppress TinyMCE header highlight/focus look */
body.offcanvas-open .tox .tox-editor-header,
body.offcanvas-open .tox .tox-toolbar,
body.offcanvas-open .tox .tox-toolbar__primary {
    box-shadow: none !important;
    outline: none !important;
}
body.offcanvas-open .tox .tox-tbtn:focus,
body.offcanvas-open .tox .tox-tbtn--enabled {
    box-shadow: none !important;
}

