/* 
 * Widgets Buttons CSS
 * Alle Button-Definitionen
 * Farben müssen via Custom Properties aus der colors.css genutzt werden
 */

/* Standard Button */
.widget-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family-base);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: var(--line-height-normal);
}

.widget-button-standard::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-overlay-white-20);
    transform: translate(-50%, -50%);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.widget-button-standard:hover::before {
    width: 300px;
    height: 300px;
}

.widget-button-standard:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-primary-light);
}

.widget-button-standard:active {
    transform: translateY(0);
}

.widget-button-standard:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Delete Button */
.widget-button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-error);
    color: var(--color-text-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family-base);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: var(--line-height-normal);
}

.widget-button-delete::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-overlay-white-20);
    transform: translate(-50%, -50%);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.widget-button-delete:hover::before {
    width: 300px;
    height: 300px;
}

.widget-button-delete:hover {
    background: var(--color-error-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-error-light);
}

.widget-button-delete:active {
    transform: translateY(0);
}

.widget-button-delete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
