/* =========================================
   BUTTON WIDGETS
   Keine Farbverläufe – ausschließlich Vollfarben.
   ========================================= */

[class*="base-button-"] {
    background-image: none;
}

/* .base-button-standard | Aenderungsprotokoll: 2026-10-02 | agent-router | @skill-css-rules,@skill-change-provenance | Kanonischer CTA mit Admin-CTA-Farben statt transparentem Browser-Link */
.base-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--color-admin-cta-bg, var(--color-primary-button));
    outline: none;
    text-decoration: none;
    background-color: var(--color-admin-cta-bg, var(--color-primary-button));
    background-image: none;
    color: var(--color-admin-cta-text, var(--color-primary-button-text));
    box-shadow: var(--shadow-sm);
}

/* .base-button-standard:hover | Aenderungsprotokoll: 2026-10-02 | agent-router | @skill-css-rules,@skill-change-provenance | Kanonischer CTA Hover */
.base-button-standard:hover {
    background-color: var(--color-admin-cta-hover, var(--color-primary-button-hover));
    border-color: var(--color-admin-cta-hover, var(--color-primary-button-hover));
    color: var(--color-admin-cta-text, var(--color-primary-button-text));
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.base-button-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.base-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: var(--color-primary-button);
    background-image: none;
    color: var(--color-primary-button-text);
    box-shadow: var(--shadow-sm);
}

/* .base-button-primary:hover | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Hover behält weisse Schrift */
.base-button-primary:hover {
    background-color: var(--color-primary-button-hover);
    background-image: none;
    color: var(--color-primary-button-text);
    box-shadow: var(--shadow-md);
}

.base-button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.base-button-primary-hidden {
    display: none;
}

/* .base-button-icon | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Icon links neben Button-Text (z. B. Contact Senden) */
.base-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    line-height: 0;
}

/* .base-button-icon-svg | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | SVG fuellt Icon-Slot, currentColor vom Button */
.base-button-icon-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* .base-button-label | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Text neben Button-Icon */
.base-button-label {
    display: inline;
}

.base-button-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--font-size-base);
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: var(--color-primary-button);
    background-image: none;
    color: var(--color-primary-button-text);
    box-shadow: var(--shadow-sm);
}

/* .base-button-primary-lg:hover | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Hover behält weisse Schrift */
.base-button-primary-lg:hover {
    background-color: var(--color-primary-button-hover);
    background-image: none;
    color: var(--color-primary-button-text);
    box-shadow: var(--shadow-md);
}

.base-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    outline: none;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.base-button-secondary:hover {
    background-color: var(--color-surface-hover);
    background-image: none;
    border-color: var(--color-border-highlight);
    color: var(--color-primary);
}

.base-button-secondary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--font-size-base);
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    outline: none;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.base-button-secondary-lg:hover {
    background-color: var(--color-surface-hover);
    background-image: none;
    border-color: var(--color-border-highlight);
    color: var(--color-primary);
}

.base-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    color: var(--color-text-muted);
}

.base-button-ghost:hover {
    color: var(--color-primary);
    background-color: var(--color-surface-hover);
}

.base-button-ghost-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    color: var(--color-text-muted);
}

.base-button-ghost-lg:hover {
    color: var(--color-primary);
    background-color: var(--color-surface-hover);
}

/* .base-button-delete | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Weisse Schrift auf Error-Button statt text-inverse (Dark-Theme schwarz) */
.base-button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: var(--color-error);
    background-image: none;
    color: var(--color-primary-button-text);
}

/* .base-button-delete:hover | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | Hover behält weisse Schrift */
.base-button-delete:hover {
    background-color: var(--color-error-hover);
    background-image: none;
    color: var(--color-primary-button-text);
}

.base-button-user-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
    background-color: var(--color-primary-button);
    background-image: none;
    color: var(--color-primary-button-text);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-decoration: none;
}

.base-button-user-initials:hover {
    background-color: var(--color-primary-button-hover);
    background-image: none;
}

/* --- Admin-Bestellungen Nachzug | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-compact-forms, @skill-change-provenance | Fehlende Admin-Filter/Tabellen/Button-Styles --- */
/* Admin Bestellungen – Icon-Aktionsbuttons (Screen screen-admin-bestellungen) */
/* Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Aktionsbuttons mit schwarzem Rahmen fuer klare Icon-Abgrenzung */
.admin-bestellungen-action-edit-button,
.admin-bestellungen-action-paid-button,
.admin-bestellungen-action-paid-button-disabled,
.admin-bestellungen-action-cancel-button,
.admin-bestellungen-action-cancel-button-disabled,
.admin-bestellungen-action-free-button,
.admin-bestellungen-action-free-button-disabled,
.admin-bestellungen-action-download-invoice-button,
.admin-bestellungen-action-preview-invoice-button,
.admin-bestellungen-action-send-invoice-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-decoration: none;
    background: var(--color-admin-action-send-invoice-bg);
    color: var(--color-admin-action-send-invoice-text);
    border: 1px solid #000000;
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
}
/* .admin-bestellungen-action-edit-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Aktionsbutton-Hover mit leichtem Zoom */
.admin-bestellungen-action-edit-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-paid-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Paid-Hover mit leichtem Zoom */
.admin-bestellungen-action-paid-button:hover {
    filter: brightness(0.92);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-cancel-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Cancel-Hover mit leichtem Zoom */
.admin-bestellungen-action-cancel-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-free-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Free-Hover mit leichtem Zoom */
.admin-bestellungen-action-free-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-download-invoice-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Download-Hover mit leichtem Zoom */
.admin-bestellungen-action-download-invoice-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-preview-invoice-button:hover | Änderungsprotokoll: 2026-10-04 | parent-agent | @skill-css-rules, @skill-change-provenance | Vorschau-Hover mit leichtem Zoom */
.admin-bestellungen-action-preview-invoice-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-send-invoice-button:hover | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Send-Invoice-Hover mit leichtem Zoom */
.admin-bestellungen-action-send-invoice-button:hover {
    filter: brightness(0.96);
    transform: scale(1.03);
}
/* .admin-bestellungen-action-edit-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Bearbeiten-Button weisser Hintergrund, Stift Logo-Orange */
.admin-bestellungen-action-edit-button {
    background: var(--color-admin-action-edit-bg);
    border-color: var(--color-admin-action-edit-border);
    color: var(--color-admin-action-edit-text);
}
/* .admin-bestellungen-action-paid-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Paid-Button weisse Schrift auf dunklerem Gruen */
.admin-bestellungen-action-paid-button {
    background: var(--color-admin-action-paid-button-bg);
    border-color: var(--color-admin-action-paid-button-border);
    color: var(--color-admin-action-paid-button-text);
}
/* .admin-bestellungen-action-paid-button-disabled | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Disabled Haken bleibt gruen, kein grauer Hintergrund */
.admin-bestellungen-action-paid-button-disabled {
    background: var(--color-admin-action-paid-button-bg);
    border-color: var(--color-admin-action-paid-button-border);
    color: var(--color-admin-action-paid-button-text);
    cursor: not-allowed;
    filter: none;
    opacity: 0.85;
}
/* .admin-bestellungen-action-free-button-disabled | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Disabled Free behält weissen Grund und farbiges Herz wie aktive Zeile */
.admin-bestellungen-action-free-button-disabled {
    background: var(--color-admin-action-free-bg);
    border-color: var(--color-admin-action-free-border);
    color: var(--color-admin-action-free-text);
    cursor: not-allowed;
    filter: none;
    opacity: 0.85;
}
/* .admin-bestellungen-action-free-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Free-Ticket-Button weisser Hintergrund, Icon farbig */
.admin-bestellungen-action-free-button {
    background: var(--color-admin-action-free-bg);
    border-color: var(--color-admin-action-free-border);
    color: var(--color-admin-action-free-text);
}
/* .admin-bestellungen-action-free-svg-on | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Free-Herz Freeticket-Blau auf Weiss, aktiv Error-Rot */
.admin-bestellungen-action-free-svg-on,
.admin-bestellungen-action-free-svg-off {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
    color: var(--color-admin-action-free-text);
}
.admin-bestellungen-action-free-svg-on {
    color: var(--color-error);
}
.admin-bestellungen-action-free-svg-on-path {
    fill: currentColor;
}
.admin-bestellungen-action-free-svg-off-path {
    fill: currentColor;
}
/* .admin-bestellungen-action-download-invoice-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | PDF-Download weisser Hintergrund, Icon farbig */
.admin-bestellungen-action-download-invoice-button {
    background: var(--color-admin-action-download-invoice-bg);
    border-color: var(--color-admin-action-download-invoice-border);
    color: var(--color-admin-action-download-invoice-text);
}
/* .admin-bestellungen-action-preview-invoice-button | Änderungsprotokoll: 2026-10-04 | parent-agent | @skill-css-rules, @skill-change-provenance | HTML-Rechnungsvorschau weisser Hintergrund, Auge farbig */
.admin-bestellungen-action-preview-invoice-button {
    background: var(--color-admin-action-preview-invoice-bg);
    border-color: var(--color-admin-action-preview-invoice-border);
    color: var(--color-admin-action-preview-invoice-text);
}
/* .admin-bestellungen-action-send-invoice-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Rechnungs-Mail-Button Mail-Blau statt Schwarz */
.admin-bestellungen-action-send-invoice-button {
    background: var(--color-admin-action-send-invoice-bg);
    border-color: var(--color-admin-action-send-invoice-border);
    color: var(--color-admin-action-send-invoice-text);
}
/* .admin-bestellungen-action-cancel-button | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Storno-Button Error-Rot mit weissem Icon */
.admin-bestellungen-action-cancel-button {
    background: var(--color-admin-action-cancel-bg);
    border-color: var(--color-admin-action-cancel-border);
    color: var(--color-admin-action-cancel-text);
}
/* .admin-bestellungen-action-cancel-button-disabled | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Disabled Storno behält Error-Rot und weisses Icon wie aktive Zeile */
.admin-bestellungen-action-cancel-button-disabled {
    background: var(--color-admin-action-cancel-bg);
    border-color: var(--color-admin-action-cancel-border);
    color: var(--color-admin-action-cancel-text);
    cursor: not-allowed;
    filter: none;
    opacity: 0.85;
}
/* .admin-bestellungen-action-icon | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | Aktionsicons groesser fuer bessere Erkennbarkeit */
.admin-bestellungen-action-icon {
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: none;
}
/* .admin-bestellungen-action-download-svg | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | SVG-Aktionsicons 22px statt 15px */
.admin-bestellungen-action-download-svg,
.admin-bestellungen-action-preview-invoice-svg,
.admin-bestellungen-action-send-svg,
.admin-bestellungen-action-paid-svg,
.admin-bestellungen-action-cancel-svg,
.admin-bestellungen-action-edit-svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}
/* .admin-bestellungen-action-icon-pdf-sheet | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | PDF-Blatt hellgrau auf weissem Download-Button */
.admin-bestellungen-action-icon-pdf-sheet {
    fill: var(--color-admin-action-download-invoice-sheet);
    stroke: var(--color-error-hover);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.admin-bestellungen-action-icon-pdf-fold {
    fill: none;
    stroke: var(--color-error-hover);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.admin-bestellungen-action-icon-pdf-badge {
    fill: var(--color-error);
    pointer-events: none;
}
/* .admin-bestellungen-action-icon-pdf-line | Änderungsprotokoll: 2026-10-02 | parent-agent | @skill-css-rules, @skill-change-provenance | PDF-Linien weiss auf rotem Badge */
.admin-bestellungen-action-icon-pdf-line {
    fill: none;
    stroke: var(--color-admin-action-download-invoice-text);
    stroke-width: 1.25;
    stroke-linecap: round;
    pointer-events: none;
}
