/* ============================================
   COMPONENT - BUTTONS
   ============================================
   Augments daisyUI's buttons (.btn) - Bulma's .button class and its
   derivatives (.tag, .type-tag, .icon, .pagination-link) are no longer
   used in the templates, and have been removed.
   ============================================ */

/* Minimum touch target (accessibility) - daisyUI's btn-sm (~2rem) and
   even the default btn (~2.5rem) are below the recommended 44px. */
.btn {
    min-height: 44px;
    min-width: 44px;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

/* Disable the hover lift animation - used by the "Copy" buttons
   (ics_token.html), where the motion is more distracting than helpful on
   an action clicked repeatedly in quick succession. */
.no-hover-transform:hover {
    transform: none !important;
}

.btn:focus-visible {
    outline: 3px solid var(--app-color-primary-dark);
    outline-offset: 2px;
}
