/* ── ProjectShoofy styles ──────────────────────────────────────────── */

:root {
    --sh-dark:       #1a1a2e;
    --sh-accent:     #4a90d9;
    --sh-muted:      #718096;
    --sh-bg:         #ede9e0;   /* matches logo_lg.png parchment background */
    --sh-bg-card:    #f5f1e8;   /* slightly lighter for card surfaces */
}


/* Camera feed container */
.sh-camera-frame {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.sh-camera-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo responsive sizing */
.sh-logo-sm  { max-width: 120px; }
.sh-logo-med { max-width: 320px; }
.sh-logo-lg  { max-width: 600px; }

/* ── Filter bar ─────────────────────────────────────────────────── */

.sh-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding: 0.45rem 0.8rem;
    background: rgba(74, 144, 217, 0.05);
    border: 1px solid rgba(74, 144, 217, 0.18);
    border-radius: 6px;
}

.sh-filter-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sh-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.sh-filter-title-icon {
    font-size: 0.95rem !important;
    color: var(--sh-accent);
}

.sh-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sh-filter-field-label {
    font-size: 0.75rem;
    color: var(--sh-muted);
    white-space: nowrap;
}

.sh-filter-spacer {
    flex: 1;
    min-width: 0;
}

/* ── Clip list ──────────────────────────────────────────────────── */

.sh-clip-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Card: left = data, right = thumbnail, clear border all around */
.sh-clip-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sh-bg-card);
    border: 1px solid rgba(0,0,0,0.13);
    box-shadow: 0 1px 3px rgba(100,80,40,0.07);
    transition: box-shadow 0.15s, background 0.15s;
}

.sh-clip-card:hover {
    background: #fff;
    box-shadow: 0 3px 12px rgba(100,80,40,0.14);
}

/* ── Left: clip data ─ */

.sh-clip-info {
    flex: 1;
    padding: 0.6rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.22rem;
    min-width: 0;
}

.sh-clip-date {
    font-size: 0.84rem;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-clip-detail-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.sh-clip-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.72rem;
    color: #718096;
    white-space: nowrap;
}

.sh-detail-icon {
    font-size: 0.8rem !important;
    color: #b8c0c8;
    vertical-align: middle;
}

/* ── Right: thumbnail column ─ */

.sh-clip-thumb-col {
    position: relative;
    width: 100px;
    flex-shrink: 0;
    cursor: pointer;
    border-left: 1px solid rgba(0,0,0,0.11);
    background: #1a1a1a;
    display: flex;
    align-items: stretch;
}

/* Real thumbnail image — fills the column */
.sh-clip-thumb-img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* No-thumbnail filler — same fixed size */
.sh-clip-thumb-filler {
    width: 100px;
    aspect-ratio: 16 / 9;
    background: #c8c0b4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

.sh-filler-icon {
    font-size: 1.2rem !important;
    color: #8a8078;
}

.sh-filler-label {
    font-size: 0.6rem;
    color: #8a8078;
    letter-spacing: 0.02em;
}

/* Watermark play button — always visible, subtle */
.sh-clip-play-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sh-play-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    padding-left: 2px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.35);
    transition: background 0.15s, transform 0.15s, border-color 0.15s;
}

.sh-clip-thumb-col:hover .sh-play-circle {
    background: rgba(255,255,255,0.45);
    border-color: rgba(255,255,255,0.85);
    color: #fff;
    transform: scale(1.12);
}

/* ── Lightbox video player ──────────────────────────────────────── */

.sh-lightbox-video {
    padding: 0.5rem;
    background: #000;
    border-radius: 4px;
}
