/* ============================================================
   Album Photo Manager — Timeline Week Groups
   Add these styles to your site.css (admin section)
   ============================================================ */

/* ── Week group within the photo assignment modal ── */
.admin-photo-week-group {
    margin-bottom: 0.5rem;
}

.admin-photo-week-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--color-card-bg, #FFF8F0);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
}

    .admin-photo-week-header:hover {
        background: var(--color-card-hover, #FDEEDD);
    }

.admin-photo-week-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text, #2C2C2C);
}

.admin-photo-week-count {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--color-text-muted, #666);
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 8px;
    border-radius: 10px;
}

.admin-photo-week-toggle {
    font-size: 0.95rem;
    color: var(--color-text-muted, #666);
    flex-shrink: 0;
}

/* Photo grid within a week — slight indent and top margin */
.admin-photo-week-group .admin-photo-assign-grid {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Sticky "Add Selected" button at top of uncategorized column */
.admin-assign-action-top {
    margin-bottom: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* ── Cover Photo Badge ── */
.admin-photo-cover-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--color-highlight);
    color: #fff;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.admin-photo-assign-item.is-cover {
    outline: 2px solid var(--color-highlight);
    outline-offset: -2px;
}

/* ── Actions row below album photos grid ── */
.admin-photo-assign-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
