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

/* Standard Button (basierend auf Vorlage .btn-primary) */
.base-button-standard {
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #1f6fd5;
    color: #ffffff;
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.widget-button-standard:hover {
    background: #1b5db3;
}

.widget-button-standard:active {
    background: #1b5db3;
}

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

/* Delete Button */
.base-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;
}

/* Button Variants - Legacy Support (basierend auf Vorlage) */
.base-btn {
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.base-btn-primary {
    background: #1f6fd5;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1b5db3;
}

.base-btn-secondary {
    background: #ffffff;
    color: #1f6fd5;
    border: 1px solid #1f6fd5;
}

.btn-secondary:hover {
    background: #eff6ff;
}

.base-btn-accent {
    background: #f7b500;
    color: #1f2933;
}

.btn-accent:hover {
    background: #e5a105;
}

.base-btn-cta {
    width: 100%;
    background: #22c55e;
    color: #ffffff;
}

.btn-cta:hover {
    background: #16a34a;
}

/* Responsive - Mobile-First (basierend auf Vorlage) */
/* Tablet/iPad: 600px-768px */
@media (width >= 600px) {
    .base-btn {
        width: auto;
    }

    .base-card-doctor-body .base-btn,
    .home-doctor-card-body .base-btn {
        width: auto;
    }
}
