/* ----------------------------------
   HEADER
---------------------------------- */
.event-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* ----------------------------------
   BUTTONS (gemeinsame Basis)
---------------------------------- */
.header-actions button {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}


/* ----------------------------------
   ADD BUTTON
---------------------------------- */
.details-add-btn {
    background: #00C161;
    color: #fff;
}

.details-add-btn:hover {
    background: #256428;
    box-shadow: 0 0 0 2px rgba(46,125,50,0.25);
}


/* ----------------------------------
   CLOSE BUTTON
---------------------------------- */
.details-close-btn {
    background: #4a6fa1;
    color: #fff;
}

.details-close-btn:hover {
    background: #3a5f90;
    box-shadow: 0 0 0 2px rgba(74,111,161,0.25);
}

.xdetails-close-btn:active {
    transform: translateY(1px);
}


/* ----------------------------------
   DROPDOWN MENU
---------------------------------- */
.details-add-type-menu {
    position: absolute;
    right: 0;
    top: 35px;

    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    width: 160px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}


/* ----------------------------------
   DROPDOWN ITEMS
---------------------------------- */
.details-add-type-item {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 13px;
}

.details-add-type-item:hover {
    background: #f0f0f0;
}


.details-add-type-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.details-add-type-icon {
    width: 20px;
    text-align: center;
}

.details-add-type-label {
    flex: 1;
}