/* Magic UI: Shimmer-Button für Standard-Buttons */
.widget-button-standard {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
    color: var(--color-text-inverse);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* Magic UI: Shimmer-Effekt */
.widget-button-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.widget-button-standard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 4px 12px rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

/* Magic UI: Shimmer aktivieren beim Hover */
.widget-button-standard:hover::before {
    left: 100%;
    animation: button-shimmer 2.5s infinite;
}

.widget-button-standard:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* Magic UI: Shimmer Animation Keyframes */
@keyframes button-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Magic UI: Reduced-Motion Support für Accessibility */
@media (prefers-reduced-motion: reduce) {
    .widget-button-standard::before {
        animation: none;
    }

    .widget-button-standard:hover::before {
        animation: none;
    }

    .widget-button-standard {
        transition: none;
    }
}

.widget-button-delete {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 10px 20px;
    background-color: var(--color-error);
    color: var(--color-text-inverse);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.widget-button-delete:hover {
    opacity: 0.9;
}
