
.small-button {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
}

button,
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    background: var(--brand);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    transition: transform 0.15s ease, background 0.15s ease;
}

button:hover,
.button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.secondary {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand);
}

.button.secondary:hover,
.button.secondary:focus-visible,
button.secondary:hover,
button.secondary:focus-visible {
    background: #edf4ff;
    border-color: #286bc4;
    color: #123568;
    transform: none;
}

.accent-button {
    background: var(--accent);
    color: #172b4d;
    font-weight: 700;
}

.accent-button:hover {
    background: var(--accent-dark);
}

.button.is-loading {
    cursor: wait;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    flex: 0 0 auto;
    animation: button-spinner-rotate 0.75s linear infinite;
}

@keyframes button-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.button.outline-danger-button {
    background: white;
    color: var(--brand);
    border: 2px solid rgba(18, 48, 92, 0.35);
    box-shadow: none;
}

.button.outline-danger-button:hover {
    background: #f8fbff;
}

.button.ghost-button {
    background: #fff3f2;
    color: var(--danger);
}

.button.ghost-button:hover {
    background: #ffe7e5;
}

.button-icon {
    font-size: 19px;
    line-height: 1;
}

.link-button {
    background: none;
    color: var(--brand);
    padding: 0;
    border: none;
}
