/*
 * Globale Aktionssymbole
 */

.action-icon-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.action-icon-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.action-icon-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    border: 1px solid #cbd8de;
    border-radius: 7px;
    color: #315363;
    background: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    transition:
        color 120ms ease,
        border-color 120ms ease,
        background-color 120ms ease,
        transform 120ms ease,
        box-shadow 120ms ease;
}

.action-icon-button:hover {
    color: #ffffff;
    border-color: #246b82;
    background: #246b82;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgb(26 75 96 / 18%);
}

.action-icon-button:focus-visible {
    outline: 3px solid rgb(36 107 130 / 25%);
    outline-offset: 2px;
}

.action-icon-button svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.action-icon-primary {
    color: #ffffff;
    border-color: #dd5937;
    background: #dd5937;
}

.action-icon-primary:hover {
    border-color: #bd452a;
    background: #bd452a;
}

.action-icon-danger {
    color: #a0392e;
    border-color: #e3c1bb;
    background: #fffafa;
}

.action-icon-danger:hover {
    color: #ffffff;
    border-color: #b84232;
    background: #b84232;
}

.action-icon-muted {
    color: #647780;
    border-color: #d8e2e6;
    background: #f7f9fa;
}

.action-icon-disabled,
.action-icon-button:disabled {
    color: #9ba9af;
    border-color: #e1e7e9;
    background: #f3f5f6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.data-table .action-icon-group {
    justify-content: flex-end;
}

.data-table td:last-child {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .action-icon-button {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
}
