/* ZekaBooking Payment-Einstellungen – bewusst an das bestehende Portal angelehnt. */
.zb-payment-intro,
.zb-payment-provider {
    max-width: 980px;
}

.zb-payment-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(8, 167, 160, .24);
    border-radius: var(--zb-radius);
    background: rgba(8, 167, 160, .06);
    line-height: 1.55;
}

.zb-payment-provider-head,
.zb-payment-actions,
.zb-payment-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zb-payment-provider-head,
.zb-payment-actions {
    justify-content: space-between;
}

.zb-payment-provider-head {
    align-items: flex-start;
    margin-bottom: 20px;
}

.zb-payment-title-row {
    flex-wrap: wrap;
}

.zb-payment-title-row .zb-section-title {
    margin: 0;
}

.zb-payment-badge,
.zb-payment-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 800;
}

.zb-payment-badge.is-active,
.zb-payment-status.is-ready {
    background: #dcfce7;
    color: #166534;
}

.zb-payment-badge.is-inactive,
.zb-payment-status.is-warning {
    background: #fef3c7;
    color: #92400e;
}

.zb-payment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 750;
    cursor: pointer;
}

.zb-payment-toggle input {
    width: 20px;
    height: 20px;
}

.zb-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.zb-payment-wide {
    grid-column: 1 / -1;
}

.zb-payment-actions {
    margin-top: 20px;
}

.zb-payment-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    border: 1px solid #8ba1a4;
    border-radius: 50%;
    color: #49666b;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
}

.zb-payment-help::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 50;
    left: 50%;
    bottom: calc(100% + 9px);
    width: min(290px, 80vw);
    padding: 9px 11px;
    border-radius: var(--zb-radius);
    background: #17343b;
    color: #fff;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}

.zb-payment-help:hover::after,
.zb-payment-help:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
    .zb-payment-provider-head,
    .zb-payment-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .zb-payment-grid {
        grid-template-columns: 1fr;
    }

    .zb-payment-wide {
        grid-column: auto;
    }

    .zb-payment-actions .zb-btn {
        width: 100%;
        min-height: 46px;
    }

    .zb-payment-provider .zb-input {
        min-height: 44px;
        font-size: 16px;
    }
}
