.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup {
    background: #fff;
    border: 1px solid #000;
    padding: 20px;
    max-width: 400px;
    width: 90%;
}

/***********************************************
  Tabs
***********************************************/
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab-button {
    padding: 8px 16px;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}
.tab-button.active {
    background: #000;
    color: #fff;
}

/***********************************************
  Tab Panels
***********************************************/
.tab-panel {
    display: none; /* Standard ausgeblendet */
    flex-direction: column;
    gap: 10px;
}
.tab-panel.active {
    display: flex; /* Aktiviertes Panel sichtbar */
}
.tab-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: bold;
}
.tab-panel label {
    font-size: 0.85rem;
    font-weight: 600;
}
.tab-panel input,
.tab-panel select,
.tab-panel textarea {
    border: 1px solid #000;
    padding: 6px;
    font-size: 0.85rem;
    width: 100%;
}
.tab-panel input[type="file"] {
    border: none;
}
.tab-panel textarea {
    resize: vertical;
    min-height: 60px;
}
.tab-panel input:focus,
.tab-panel select:focus,
.tab-panel textarea:focus {
    outline: none;
    border: 2px solid #000;
}

/***********************************************
  Utility-Klassen
***********************************************/
.hidden {
    display: none;
}