/* =========================================
   BUTTON WIDGETS – flache Druckschrift-Buttons
   Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Kein Uppercase/Tracking: Georgia natuerlich lesbar
   ========================================= */

.base-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-border);
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-text);
    text-transform: none;
    letter-spacing: normal;
}

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

.base-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-primary);
    outline: none;
    text-decoration: none;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

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

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

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

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Primary-LG ohne Versalien-Tracking */
.base-button-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    border: 1px solid var(--color-primary);
    outline: none;
    text-decoration: none;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

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

.base-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    text-transform: none;
    letter-spacing: normal;
}

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

.base-button-secondary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    border-radius: 0;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    text-transform: none;
    letter-spacing: normal;
}

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

.base-button-icon-only {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    border-radius: 0;
}

.base-button-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

.base-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.base-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 4px 8px;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: underline;
    background: transparent;
    color: var(--color-primary);
}

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

.base-button-ghost-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 6px 10px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    border-radius: 0;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: underline;
    background: transparent;
    color: var(--color-primary);
}

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

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Gruener Speichern-Button (color-success) */
.base-button-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-success);
    outline: none;
    text-decoration: none;
    background: var(--color-success);
    color: var(--color-text-inverse);
    text-transform: none;
    letter-spacing: normal;
}

.base-button-success:hover {
    background: var(--color-success-hover);
    border-color: var(--color-success-hover);
}

.base-button-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.base-button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-error);
    outline: none;
    text-decoration: none;
    background: var(--color-error);
    color: var(--color-text-inverse);
    text-transform: none;
    letter-spacing: normal;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Delete-Hover nur wenn aktiv */
.base-button-delete:hover:not(:disabled) {
    background: var(--color-error-hover);
    border-color: var(--color-error-hover);
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Delete disabled wie Versenden-Button */
.base-button-delete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | User-Initialen Base-Primary-Font */
.base-button-user-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    min-height: 2.15rem;
    width: auto;
    height: 2.15rem;
    padding: 0 0.55rem;
    border-radius: 0;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    letter-spacing: normal;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    text-transform: uppercase;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | User-Initialen Hover CI-Rot dunkler */
.base-button-user-initials:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}
