/*
    프론트 [디자인 수정] 플로팅 버튼 (_AdminQuickEdit.cshtml)

    ★ 좌하단입니다. 우하단 24px 는 플로팅 메뉴(.way-fmenu, z-index 9500)가 이미 쓰고 있어 겹칩니다.
      z-index 도 그보다 낮게 두어, 둘 다 켜진 화면에서 메뉴가 위로 오게 합니다.
    관리자에게만 렌더링되는 마크업이므로 방문자 화면에는 이 CSS가 걸릴 대상 자체가 없습니다.
*/
.wm-quick-edit {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: background-color .15s ease, transform .15s ease;
}

    .wm-quick-edit:hover,
    .wm-quick-edit:focus {
        background: #111827;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .wm-quick-edit:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

/* 좁은 화면에서는 아이콘만. 글자까지 두면 본문 위를 넓게 가립니다. */
@media (max-width: 768px) {
    .wm-quick-edit {
        left: 16px;
        bottom: 16px;
        padding: 12px;
    }

        .wm-quick-edit .wm-quick-edit__label {
            display: none;
        }
}

/* 인쇄물에는 관리 도구가 나가지 않게 합니다. */
@media print {
    .wm-quick-edit {
        display: none !important;
    }
}
