/**
 * KP Module - Actions Styles
 * Стили для кнопок действий (PDF, печать, менеджер)
 */

.kp-actions-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.kp-actions-toggle__icon {
    width: 22px;
    height: 22px;
    stroke: #333;
}

.kp-actions-toggle--active {
    background: var(--kp-primary);
}

.kp-actions-toggle--active .kp-actions-toggle__icon {
    stroke: #fff;
}

.kp-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.kp-actions button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.kp-actions__pdf {
    background: #dc3545;
    color: #fff;
}

.kp-actions__print {
    background: #009900;
    color: #fff;
}

.kp-actions__account {
    background: #6c757d !important;
    color: #fff !important;
    padding: 10px;
}

.kp-actions__account:hover {
    background: #5a6268;
}

.kp-actions__pdf:hover { background: #c82333; }
.kp-actions__print:hover { background: #007700; }

.kp-actions__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.kp-actions__loading {
    display: none;
}

.kp-actions.is-loading .kp-actions__loading {
    display: inline-block;
}

.kp-actions.is-loading .kp-actions__pdf-text {
    display: none;
}

@media print {
    .kp-actions, .kp-actions-toggle { display: none !important; }
}
