/* Widgets Buttons CSS - Alle Button-Definitionen */

/* Alle Buttons und Button-Links ohne Unterstreichung */
/* Gemäß Regel 014: Nur widget-button-standard und widget-button-delete sind erlaubt */
a.widget-button-standard,
a.widget-button-delete,
button.widget-button-standard,
button.widget-button-delete {
    text-decoration: none !important;
}

a.widget-button-standard:hover,
a.widget-button-delete:hover,
a.widget-button-standard:focus,
a.widget-button-delete:focus,
a.widget-button-standard:active,
a.widget-button-delete:active,
a.widget-button-standard:visited,
a.widget-button-delete:visited {
    text-decoration: none !important;
}

/* Standard Button */
.widget-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    background: var(--color-surface-primary);
    color: var(--color-text-primary);
    box-shadow: 0 2px 4px rgba(var(--color-black-rgb), 0.3);
}

.widget-button-standard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
    background: var(--color-primary);
    color: var(--color-text-dark);
    text-decoration: none !important;
}

.widget-button-standard:focus,
.widget-button-standard:active,
.widget-button-standard:visited {
    text-decoration: none !important;
}

.widget-button-standard:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(var(--color-black-rgb), 0.3);
}

.widget-button-standard:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.widget-button-standard:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(var(--color-black-rgb), 0.3);
}

/* Delete Button */
.widget-button-delete {
    background: var(--color-error);
    color: var(--color-text-light);
    border-color: var(--color-error);
    text-decoration: none !important;
}

.widget-button-delete:hover {
    background: var(--color-error-dark);
    color: var(--color-text-light);
    border-color: var(--color-error-dark);
    box-shadow: 0 6px 20px rgba(var(--color-error-light-rgb), 0.3);
    text-decoration: none !important;
}

.widget-button-delete:focus,
.widget-button-delete:active,
.widget-button-delete:visited {
    text-decoration: none !important;
}

/* Gemäß Regel 014: Für Buttons dürfen ausschließlich widget-button-standard und widget-button-delete verwendet werden */
/* Alle anderen Button-Klassen wurden entfernt */

/* Responsive Button Styles */
/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .widget-button-standard {
        padding: 0.875rem 1.75rem;
        font-size: var(--font-size-lg);
    }
}

/* Kleiner Desktop/13-Zoll (1024px–1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .widget-button-standard {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-base);
    }
}

/* Tablet/iPad (600px–768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .widget-button-standard {
        padding: 0.75rem 1.25rem;
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .widget-button-standard {
        padding: 0.875rem 1.25rem;
        min-height: 48px;
        font-size: var(--font-size-base);
    }
}

@media (max-width: 576px) {
    .widget-button-standard {
        padding: 1rem 1rem;
        min-height: 52px;
    }
}

/* Gemäß Regel 014: widget-button-google-login ist nicht erlaubt */
/* Diese Klasse wurde entfernt - verwende stattdessen widget-button-standard */