.custom-section {
    border-radius: 12px;
    overflow: hidden;
    border: .5px solid var(--secondary-color);
}

.custom-section .custom-section {
    margin: 12px;
}

.section-title {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding-left: 16px;
    height: 48px;
}


.key-value-entry {
    position: relative;
    margin-top: 10px;
}

.list-entry[data-template="true"] {
    display: none;
}

.nested-fields-container {
    padding: 10px;
}

.remove-entry-btn {
    position: absolute;
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    padding: 5px 10px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.remove-entry-btn:hover {
    background: #ff0000;
}

.add-entry-btn {
    display: block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 12px;
    transition: .3s ease-in;
    max-width: 200px;
    margin-left: 0;
    cursor: pointer;
    margin-bottom: 12px;
    outline: none;
    border: none;
}

.add-entry-btn:hover {
    opacity: .8;
}

.key-value-pair {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 10px;
}

.key-field, .value-field {
    flex: 1;
}