/* ============================================
   Photo Grid
   ============================================ */

.photo-grid {
    /* Container for toolbar + select bar + grid */
}

.photo-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.photo-card {
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.photo-thumb {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-hover);
    position: relative;
}

.photo-card-info {
    display: none;
}

.photo-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Files List
   ============================================ */

.files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.12s ease;
}

.file-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.file-thumb {
    width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.file-location-info {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 10px;
}

.file-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.file-resolution {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.72rem;
}

.file-size {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.72rem;
}

.file-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 3px;
    line-height: 1.45;
}

.file-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

/* ============================================
   Folders Grid
   ============================================ */

.folders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.folder-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.folder-card:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.folder-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.folder-info {
    flex: 1;
    min-width: 0;
}

.folder-info h3 {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

.folder-info p {
    display: none;
}

.folder-count {
    display: none;
}

