/* =========================================
   BUTTON WIDGETS
   ========================================= */

.base-button-standard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background: var(--color-accent);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.base-button-standard:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-inverse);
}

.base-button-icon-only.base-button-standard,
.base-button-icon-only.base-button-delete {
    padding: 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    text-transform: none;
    letter-spacing: normal;
    gap: 0;
}

.base-button-icon-only.base-button-standard:hover,
.base-button-icon-only.base-button-delete:hover {
    box-shadow: var(--shadow-sm);
}

.base-button-action-icon {
    display: block;
    flex-shrink: 0;
}

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

.base-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background: var(--color-accent);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.base-button-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-inverse);
}

.base-button-secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

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

.base-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 1.5px solid var(--color-primary);
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.base-button-ghost:hover {
    color: var(--color-primary-hover);
    background-color: var(--color-bg-light);
    border-color: var(--color-primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.base-button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    border: 1px solid var(--color-error);
    background: var(--color-surface);
    color: var(--color-error);
    transition: all 0.2s ease;
}

.base-button-delete:hover {
    background: var(--color-error);
    color: var(--color-text-inverse);
}

.base-button-delete:disabled,
.base-button-delete[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.base-button-delete:disabled:hover,
.base-button-delete[disabled]:hover {
    background: var(--color-surface);
    color: var(--color-error);
}

.base-button-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
    text-decoration: none;
    background: var(--color-accent);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

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

.base-button-secondary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
}

.base-button-secondary-lg:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary-hover);
    color: var(--color-primary-hover);
    box-shadow: var(--shadow-md);
}

.base-button-ghost-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 1.5px solid var(--color-primary);
    outline: none;
    text-decoration: none;
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.base-button-ghost-lg:hover {
    color: var(--color-primary-hover);
    background-color: var(--color-bg-light);
    border-color: var(--color-primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}