/* Sağ alt köşe hızlı aksiyon butonları */

.quick-actions-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
}

.quick-actions-fab__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    max-width: 42px;
    height: 42px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 33, 71, 0.1);
    text-decoration: none;
    color: #002147;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        max-width 0.3s ease,
        padding 0.3s ease,
        gap 0.3s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.quick-actions-fab__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002147;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.quick-actions-fab__label {
    flex-shrink: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-right: 0;
    transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.quick-actions-fab__arrow {
    flex-shrink: 0;
    max-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-4px);
    transition: max-width 0.3s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.3s ease;
}

@media (hover: hover) {
    .quick-actions-fab__btn:hover,
    .quick-actions-fab__btn:focus-visible {
        max-width: 240px;
        padding-right: 14px;
        gap: 10px;
        background: #002147;
        color: #fff;
        border-color: #002147;
        box-shadow: 0 6px 18px rgba(0, 33, 71, 0.28);
        transform: translateY(-2px);
    }

    .quick-actions-fab__btn:hover .quick-actions-fab__icon,
    .quick-actions-fab__btn:focus-visible .quick-actions-fab__icon {
        background: #fff;
        color: #002147;
    }

    .quick-actions-fab__btn:hover .quick-actions-fab__label,
    .quick-actions-fab__btn:focus-visible .quick-actions-fab__label {
        max-width: 160px;
        opacity: 1;
        padding-right: 2px;
    }

    .quick-actions-fab__btn:hover .quick-actions-fab__arrow,
    .quick-actions-fab__btn:focus-visible .quick-actions-fab__arrow {
        max-width: 20px;
        opacity: 1;
        transform: translateX(0);
        padding-right: 2px;
    }
}

@media (max-width: 767px) {
    .quick-actions-fab {
        right: 14px;
        bottom: 14px;
        gap: 7px;
    }

    .quick-actions-fab__btn {
        max-width: 38px;
        height: 38px;
    }

    .quick-actions-fab__icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
