/* /Pages/ConstructionChecklist/Components/FileGallery.razor.rz.scp.css */
    .file-gallery-grid[b-b7hyh4dcyf] {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
        padding: 8px;
        background: #f9fafb;
        border-radius: 8px;
    }

    .file-gallery-item[b-b7hyh4dcyf] {
        cursor: pointer;
        border-radius: 6px;
        overflow: hidden;
        transition: transform 0.2s;
    }

    .file-gallery-item:hover[b-b7hyh4dcyf] {
        transform: scale(1.05);
    }

    .file-gallery-thumb[b-b7hyh4dcyf] {
        position: relative;
        aspect-ratio: 1;
        background: #e5e7eb;
    }

    .file-gallery-thumb img[b-b7hyh4dcyf] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .file-gallery-overlay[b-b7hyh4dcyf] {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .file-gallery-thumb:hover .file-gallery-overlay[b-b7hyh4dcyf] {
        opacity: 1;
    }

    .file-gallery-file[b-b7hyh4dcyf] {
        aspect-ratio: 1;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }

    .file-gallery-actions[b-b7hyh4dcyf] {
        display: flex;
        justify-content: flex-end;
        padding-top: 8px;
    }

    /* ── Lightbox ───────────────────────────────────────────── */
    .fu-lightbox[b-b7hyh4dcyf] {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.92);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        outline: none;
    }

    .fu-lb-header[b-b7hyh4dcyf] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        background: rgba(0,0,0,0.5);
        color: white;
    }

    .fu-lb-title[b-b7hyh4dcyf] {
        font-size: 16px;
        font-weight: 600;
    }

    .fu-lb-counter[b-b7hyh4dcyf] {
        font-size: 13px;
        opacity: 0.8;
        margin-top: 4px;
    }

    .fu-lb-header-actions[b-b7hyh4dcyf] {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .fu-lb-action-btn[b-b7hyh4dcyf] {
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 6px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        transition: background 0.15s ease;
    }

    .fu-lb-action-btn:hover[b-b7hyh4dcyf] {
        background: rgba(255,255,255,0.25);
    }

    .fu-lb-main[b-b7hyh4dcyf] {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 24px;
    }

    .fu-lb-main img[b-b7hyh4dcyf] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }

    .fu-lb-nav[b-b7hyh4dcyf] {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        transition: all 0.15s ease;
    }

    .fu-lb-nav:hover:not(:disabled)[b-b7hyh4dcyf] {
        background: rgba(255,255,255,0.25);
    }

    .fu-lb-nav:disabled[b-b7hyh4dcyf] {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .fu-lb-nav.prev[b-b7hyh4dcyf] {
        left: 24px;
    }

    .fu-lb-nav.next[b-b7hyh4dcyf] {
        right: 24px;
    }

    .fu-lb-footer[b-b7hyh4dcyf] {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 16px;
        background: rgba(0,0,0,0.5);
    }

    .fu-lb-dot[b-b7hyh4dcyf] {
        width: 64px;
        height: 64px;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.5;
        transition: all 0.15s ease;
        border: 2px solid transparent;
    }

    .fu-lb-dot:hover[b-b7hyh4dcyf] {
        opacity: 0.8;
    }

    .fu-lb-dot.active[b-b7hyh4dcyf] {
        opacity: 1;
        border-color: white;
    }

    .fu-lb-dot img[b-b7hyh4dcyf] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* /Pages/HelperComponents/UploadFileCard.razor.rz.scp.css */
/* ── Upload card container ─────────────────────────────── */
.fu-card-upload[b-kte0yyuzc3] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

/* ── Drop zone ──────────────────────────────────────────── */
.fu-card-drop[b-kte0yyuzc3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    min-height: 100px;
    background: #fafafa;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .fu-card-drop:hover[b-kte0yyuzc3] {
        background: #f3f4f6;
        border-color: #9ca3af;
    }

    .fu-card-drop.drag-active[b-kte0yyuzc3] {
        background: #eff6ff;
        border-color: #6366f1;
    }

/* ── File list ──────────────────────────────────────────── */
.fu-list[b-kte0yyuzc3] {
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
}

.fu-list-item[b-kte0yyuzc3] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

    .fu-list-item:hover[b-kte0yyuzc3] {
        background: #f9fafb;
    }

    .fu-list-item:last-child[b-kte0yyuzc3] {
        border-bottom: none;
    }

/* ── Thumbnail / Icon ───────────────────────────────────── */
.fu-list-thumb[b-kte0yyuzc3] {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.15s ease;
}

    .fu-list-thumb:hover[b-kte0yyuzc3] {
        transform: scale(1.05);
    }

    .fu-list-thumb img[b-kte0yyuzc3] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fu-list-icon[b-kte0yyuzc3] {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── File name / size ───────────────────────────────────── */
.fu-list-name[b-kte0yyuzc3] {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fu-list-size[b-kte0yyuzc3] {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── Action buttons ─────────────────────────────────────── */
.fu-list-btn[b-kte0yyuzc3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

    .fu-list-btn:hover[b-kte0yyuzc3] {
        background: #f3f4f6;
        color: #374151;
    }

    .fu-list-btn.fu-list-del:hover[b-kte0yyuzc3] {
        background: #fef2f2;
        color: #ef4444;
    }

/* ── Footer ─────────────────────────────────────────────── */
.fu-card-footer[b-kte0yyuzc3] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

/* ── Lightbox ───────────────────────────────────────────── */
.fu-lightbox[b-kte0yyuzc3] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    outline: none;
}

.fu-lb-header[b-kte0yyuzc3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0,0,0,0.5);
    color: white;
}

.fu-lb-title[b-kte0yyuzc3] {
    font-size: 16px;
    font-weight: 600;
}

.fu-lb-counter[b-kte0yyuzc3] {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.fu-lb-header-actions[b-kte0yyuzc3] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fu-lb-action-btn[b-kte0yyuzc3] {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background 0.15s ease;
}

    .fu-lb-action-btn:hover[b-kte0yyuzc3] {
        background: rgba(255,255,255,0.25);
    }

.fu-lb-main[b-kte0yyuzc3] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px;
}

    .fu-lb-main img[b-kte0yyuzc3] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }

.fu-lb-nav[b-kte0yyuzc3] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.15s ease;
}

    .fu-lb-nav:hover:not(:disabled)[b-kte0yyuzc3] {
        background: rgba(255,255,255,0.25);
    }

    .fu-lb-nav:disabled[b-kte0yyuzc3] {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .fu-lb-nav.prev[b-kte0yyuzc3] {
        left: 24px;
    }

    .fu-lb-nav.next[b-kte0yyuzc3] {
        right: 24px;
    }

.fu-lb-footer[b-kte0yyuzc3] {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(0,0,0,0.5);
}

.fu-lb-dot[b-kte0yyuzc3] {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.15s ease;
    border: 2px solid transparent;
}

    .fu-lb-dot:hover[b-kte0yyuzc3] {
        opacity: 0.8;
    }

    .fu-lb-dot.active[b-kte0yyuzc3] {
        opacity: 1;
        border-color: white;
    }

    .fu-lb-dot img[b-kte0yyuzc3] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
