/* ── levelUP Beschwerdesystem ── */
.lup-bs-trigger-wrap { text-align: center; margin: 2em 0; }

.lup-bs-open-btn {
    background: #23283c;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s;
}
.lup-bs-open-btn:hover { background: #2e5b61; }

/* Overlay */
.lup-bs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99998;
}
.lup-bs-overlay.active { display: block; }

/* Popup */
.lup-bs-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(680px, 95vw);
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    z-index: 99999;
    padding: 0;
}
.lup-bs-popup.active { display: block; }

.lup-bs-popup-inner { padding: 2.5rem 2.5rem 2rem; }

.lup-bs-close {
    position: sticky;
    top: 0;
    float: right;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: .5rem 1rem;
    z-index: 1;
}
.lup-bs-close:hover { color: #23283c; }

.lup-bs-popup h2 {
    margin: 0 0 .5em;
    color: #23283c;
    font-size: 1.5rem;
}

.lup-bs-intro {
    font-size: .9rem;
    color: #555;
    background: #f5f7fa;
    border-left: 4px solid #2e5b61;
    padding: .8em 1em;
    border-radius: 0 4px 4px 0;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

/* Form rows */
.lup-bs-row { margin-bottom: 1.2em; }
.lup-bs-row label,
.lup-bs-label-block {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #23283c;
    margin-bottom: .4em;
}
.lup-bs-optional { font-weight: 400; color: #888; font-size: .82rem; }
.lup-bs-required { color: #c00; }

.lup-bs-row input[type="text"],
.lup-bs-row input[type="email"],
.lup-bs-row textarea,
.lup-bs-row input[type="file"] {
    width: 100%;
    padding: .6em .8em;
    border: 1px solid #ccd;
    border-radius: 4px;
    font-size: .95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s;
    margin-top: .3em;
}
.lup-bs-row input:focus,
.lup-bs-row textarea:focus { outline: none; border-color: #2e5b61; }
.lup-bs-row textarea { resize: vertical; }
.lup-bs-row input[type="file"] { padding: .4em; background: #fafafa; cursor: pointer; }

/* Checkboxen */
.lup-bs-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: .5em .8em;
    margin-top: .4em;
}
.lup-bs-checkbox {
    display: flex;
    align-items: center;
    gap: .4em;
    font-size: .9rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}
.lup-bs-checkbox input { width: auto; margin: 0; cursor: pointer; }

/* Submit */
.lup-bs-actions { margin-top: 1.5em; }
.lup-bs-submit-btn {
    background: #23283c;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
}
.lup-bs-submit-btn:hover  { background: #2e5b61; }
.lup-bs-submit-btn:disabled { background: #999; cursor: not-allowed; }

/* Messages */
.lup-bs-msg { margin-top: 1em; font-size: .9rem; padding: .6em .8em; border-radius: 4px; display: none; }
.lup-bs-msg.error   { background: #fdecea; color: #c00; border: 1px solid #f5c6cb; display: block; }
.lup-bs-msg.loading { background: #e8f4fd; color: #1565c0; border: 1px solid #bee5fc; display: block; }

/* Success */
.lup-bs-success { text-align: center; padding: 2em 1em; }
.lup-bs-success-icon { font-size: 3rem; color: #2e5b61; margin-bottom: .5em; }
.lup-bs-success h3 { color: #23283c; margin-bottom: .5em; }

@media (max-width: 600px) {
    .lup-bs-popup-inner { padding: 1.5rem; }
    .lup-bs-checkbox-group { flex-direction: column; }
}
