.category-tabs ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ccc;
}

.category-tabs li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.category-tabs .nav-tab {
    cursor: pointer;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-right: 5px;
    padding: 5px 10px;
    position: relative;
    top: 1px;
}

.category-tabs .nav-tab-active {
    background: #fff;
    border-bottom-color: #fff;
}

.category-tabs .category-title-input {
    border: none;
    background: transparent;
    font-weight: bold;
    width: 150px;
}
.category-tabs .category-title-input:focus {
    background: white;
    box-shadow: none;
}


.category-tabs .remove-category {
    background: none;
    border: none;
    color: #a00;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 0 5px;
    display: none;
}

.category-tabs .nav-tab:hover .remove-category {
    display: inline;
}


#add-category-btn button {
    margin-left: 10px;
}

.category-content {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
}

.category-content.active {
    display: block;
}

.field-item {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    position: relative;
}

.field-item .field-title-input {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}
.field-item textarea {
    min-height: 120px;
}

.field-item .remove-field {
    position: absolute;
    top: 5px;
    right: 5px;
} 

/* Overordnede Struktur Faneblade */
.borgerdata-overordnede-tabs {
    margin-bottom: 20px;
}

.borgerdata-overordnede-tabs .nav-tab-wrapper {
    border-bottom: 2px solid #2271b1;
}

.borgerdata-overordnede-tabs .nav-tab {
    position: relative;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-bottom: none;
    color: #50575e;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    margin-right: 5px;
    display: inline-block;
}

.borgerdata-overordnede-tabs .nav-tab:hover {
    background: #fff;
    color: #2271b1;
}

.borgerdata-overordnede-tabs .nav-tab-active {
    background: #fff;
    border-bottom: 2px solid #fff;
    color: #2271b1;
    margin-bottom: -2px;
}

.borgerdata-overordnede-tabs .remove-struktur {
    background: none;
    border: none;
    color: #d63638;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 0 8px;
    display: none;
    margin-left: 5px;
}

.borgerdata-overordnede-tabs .nav-tab:hover .remove-struktur {
    display: inline;
}

.borgerdata-overordnede-tabs .remove-struktur:hover {
    color: #a00;
}

#add-struktur-btn {
    background: #f0f0f1;
    border: 1px dashed #c3c4c7;
    color: #646970;
    font-style: italic;
}

#add-struktur-btn:hover {
    background: #fff;
    color: #2271b1;
}