﻿

/* ==================
   框選畫布總外殼
===================== */
#captureOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    z-index: 9999999 !important;
}


/* ==================
   四周遮罩
===================== */
#captureMaskTop,
#captureMaskLeft,
#captureMaskRight,
#captureMaskBottom {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 10000000 !important;
}


/* ==================
   選取框
===================== */
#selectionBox {
    display: none;
    position: fixed;
    border: 2px solid #377dff; /*2px dashed #00c6ff;*/
    box-shadow: 0 0 8px rgba(0, 198, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 10000001 !important;
    box-sizing: border-box;
}

/* ==================
   寬 x 高標籤
===================== */
#selectionSize {
    position: absolute;
    bottom: -28px;
    right: 0;
    background-color: #377dff;      /*#00c6ff*/
    color: #ffffff;
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
}


/* ==================
   提示
===================== */
#captureTip {
    display: none;
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(33, 37, 41, 0.9);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10000002 !important;
}
