.top-blue-settings {
    background-color: var(--primary100);
}

.drop-down-field {
    height: 100%;
    width: 30%;
}

.drop-down-field select:focus {
    outline: none;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.380rem;
    line-height: 2.375rem;
    text-align: center;
    color: #aaa;
}

.has-search .form-control {
    padding-left: 2.375rem;
}

.filter-button {
    background: transparent;
    border-color: #21417C;
}

.components {
    box-shadow: 1px 0px 10px #cfdff9;
}

.components:hover {
    background-color: #F4F8FF;
}

.fa-trash-o {
    background-color: #FFDBDB;
    color: #FF0000;
}

.fa-edit,
.fa-save {
    color: #0085FF;
}

.add-button {
    white-space: nowrap;
}

.select-button {
    display: flex;
}


.component-list {
    display: flex;
}

@media screen and (max-width: 1199px) {
    .top-add-buttons {
        margin-top: 20px !important;
    }

    .lists {
        gap: 10px !important;
    }
}

@media screen and (max-width: 510px) {
    .select-button {
        display: block !important;
    }

    .defaullt-component {
        margin-top: 10px;
    }

    .drop-down-field {
        height: 60%;
        width: 40%;
    }
}


@media screen and (max-width: 768px) {
    .component-list {
        display: block !important;
    }
}

/* <!-- =========== Add Component Modal=========== --> */

.add-btn {
    background-color: #F4F8FF;
}

.modal-button {
    background-color: #21417C !important;
    color: #ffffff;
}

.add-button a {
    text-decoration: none;
}

.fa-2x {
    font-size: 1.7em;
}

#subMenu1,
#subMenu2 {
    position: absolute;
    z-index: 1050;
    /* Ensure it's above other elements */
    display: none;
    /* Initially hidden */
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    width: 275px;
}


.hover-menu {
    background: aliceblue;
    margin: 10px;
}




.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding: 14px;
    background-color: var(--primary100) !important;
}

.header-val-menu-title {
    font-size: 20px;
    text-align: center;
    color: #fff !important;
}

.sub-menu-wrap1 {
    position: relative;
}

.close-icon {
    position: absolute;
    top: 12.5px;
    right: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    color: var(--primary100);
    transition: 0.3s ease-in-out;
}

.close-icon:hover {
    background: #d6d6d6;
}



.menu-lists {
    padding: 16px;
}

.menu-lists a {
    color: #4068b1 !important;
    font-weight: 600;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem !important
}

.menu-lists hr {
    margin: 10px 0;
    border-top: 1px solid #d9e5f5;
}

.sub-menu-wrap.open-menu {
    display: block;
}

.hidden-option {
    display: none;
}

.btn-nav-collab.active {
    background-color: var(--primary80) !important;
}

.content-editable {
    border: 1px solid transparent;
    transition: all 0.3s;
}

.content-editable:hover {
    background-color: #f8f9fa;
}

.content-editable[contenteditable="true"] {
    border-color: #ced4da;
    background-color: #fff;
}

/* Editable fields */
.practice-name,
.step-name,.step-function-name {
    border-bottom: 1px dashed #adb5bd;
    padding: 0 2px;
    min-width: 120px;
}

/* Accordion header tweaks */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    /* Light gray when expanded */
}

/* Remove default list-group borders */
.list-group-item {
    padding-left: 0;
}

#lastSavedText {
    font-size: 0.85rem;
    font-style: italic;
}

.toast {
    z-index: 1100;
}
