﻿/* Toast Countdown 容器 */
#toast-countdown-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 420px; /* 限制最大寬度 */
}
    #toast-countdown-container .toast-header {
        cursor: move; /* 提示可以拖動 */
        background-color: #f0f0f0;
        opacity: 1.0;
    }

/* Toast 容器 (右下角) */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 420px; /* 限制最大寬度 */
}

.dragging {
    opacity: 0.8;
    cursor: grab;
}

.toast {
    margin-bottom: 10px;
}

#offcanvas-resizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    cursor: ew-resize;
    z-index: 1050;
}
    #offcanvas-resizer:hover {
        background-color: rgba(0, 123, 255, 0.4); /* 淡藍色亮顯 */
        transition: background-color 0.3s, width 0.3s;
    }

.resizer-hover-target {
    width: 100%;
    height: 20%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 123, 255, 0.2);
    transition: background-color 0.3s, width 0.3s;
}

#offcanvas-resizer:hover .resizer-hover-target {
    background-color: rgba(0, 123, 255, 0);
    
}

.resizer-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    color: #666;
    pointer-events: none;
    user-select: none;
}
