/* #285 Folder Watch panel. Lives on the scan page, which is a light surface. */

.fw-intro { margin: 0 0 10px; line-height: 1.5; }
.fw-note { margin: 6px 0 0; font-size: .85rem; color: #5b5b66; line-height: 1.45; }
.fw-warn { margin: 6px 0 0; font-size: .85rem; color: #b42318; line-height: 1.45; }

.fw-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.fw-optionrow { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; }
.fw-optionrow input[type="checkbox"] { margin: 0 !important; }
.fw-optionrow label { margin: 0; white-space: normal; }

.fw-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

.fw-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 1px solid #e3e3ea; border-radius: 8px; padding: 8px 10px; background: #fafafc;
}
.fw-rowtext { min-width: 0; }
.fw-name {
    font-weight: 600;
    /* Folder names come off the user's disk and can be long; clip rather than
       let one push the Stop button off the panel. */
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42ch;
}
.fw-meta { font-size: .82rem; color: #5b5b66; margin-top: 2px; }
.fw-stop { flex: 0 0 auto; }

.fw-empty { color: #5b5b66; font-style: italic; margin-top: 10px; }
.fw-status { margin-top: 10px; font-size: .85rem; color: #5b5b66; min-height: 1.2em; }

/* The shared indicator - one dot on the toolbar button no matter how many
   folders are being watched. */
#folderWatchButton { position: relative; }
#folderWatchButton.fw-active::after {
    content: ""; position: absolute; top: 3px; right: 3px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #1a7f37; box-shadow: 0 0 0 2px #fff;
}

/* #285: the skipped list. A count alone is not actionable - name the file. */
.fw-skipped { margin-top: 10px; }
.fw-skiphead { font-weight: 600; font-size: .85rem; color: #b42318; margin-bottom: 4px; }
.fw-skiprow {
    font-size: .82rem; color: #5b5b66; line-height: 1.45;
    padding: 3px 0; word-break: break-word;
}
.fw-skipname { font-weight: 600; color: #1b1b1f; }
