/*
 * 공통 토스트 알림 컴포넌트 — 단일 원천.
 *
 * 사용: layout · simple_layout · popup_layout 3개 레이아웃이 <link>로 참조.
 * JS 정본: static/js/common.js  function toast(msg, type)
 *
 * 위치 오버라이드: 헤더가 있는 layout.html은 자체 <style>에서 `.toast-c { top: 60px }` 한 줄만 오버라이드.
 */
.toast-c {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transform: translateY(-120%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.toast.show {
    transform: translateY(0);
}
