.btn--icon {
    display: inline-flex !important;
    align-items: center;
    gap: .3rem;
    line-height: 1;
}

.btn--icon svg {
    width: 1rem;
    height: 1rem;
}

.btn--w-auto {
    width: auto !important;
}

.btn--w-full {
    width: 100% !important;
}

.btn--danger {
    color: var(--pico-color-red-500);
    border: 1px solid var(--pico-color-red-600);
    background-color: #fff;
}

.btn--danger:hover {
    background-color: var(--pico-color-red-500);
    border: 1px solid var(--pico-color-red-600);
    color: #fff;
    font-weight: bold;
}

@media print {
    [role="button"],
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        display: none !important;
    }
}

/* disabled なボタンにツールチップを表示するための包み要素。
   Pico が span[data-tooltip] に付ける点線下線は不要なので打ち消す。 */
.btn--tooltip-wrapper[data-tooltip] {
    border-bottom: none;
    cursor: not-allowed;
}
