/* sidebar.css - Sidebar component styles */

/* Sidebar structure */
.sidebar { width: 380px; background: #ffffff; display: flex; flex-direction: column; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); border-right: 1px solid #e5e7eb; }
.sidebar-header { padding: 40px 20px 24px 20px; border-bottom: 1px solid #e5e7eb; }

/* User info section */
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar-circle { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #ffd700 0%, #f4c430 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); }
.user-avatar-text { font-size: 20px; font-weight: 700; color: #3b82f6; text-transform: uppercase; user-select: none; }
.user-name { font-size: 16px; font-weight: 600; color: #1f2937; }

/* Sidebar content body */
.sidebar-section-body { flex: 1; overflow-y: auto; padding: 20px; }

/* Filter sections */
.filter-section { margin-bottom: 24px; }
.filter-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filter-section-header h4 { margin: 0; font-size: 14px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }

/* Clear button */
.clear-btn { background: none; border: none; color: #d1a018; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.clear-btn:hover { color: #b88f15; }

/* Filter checkboxes */
.filter-checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; padding: 6px 0; }
.filter-checkbox input[type="checkbox"] { cursor: pointer; width: 16px; height: 16px; }
.filter-checkbox span { font-size: 14px; color: #444; }

/* Tags list */
.tags-list { max-height: 500px; overflow-y: auto; }

/* Tag groups */
.tag-group { margin-bottom: 8px; }
.tag-group-header { display: flex; align-items: center; gap: 6px; padding: 8px 6px; background: #f8f9fa; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.tag-group-header:hover { background: #e9ecef; }
.tag-group-arrow { font-size: 10px; color: #666; transition: transform 0.2s; display: inline-block; width: 12px; }
.tag-group-arrow.expanded { transform: rotate(90deg); }
.tag-group-title { font-size: 13px; font-weight: 600; color: #333; flex: 1; }
.tag-group-count { font-size: 11px; color: #999; font-weight: 500; }
.tag-group-content { padding: 6px 0 6px 18px; }

/* Tag checkboxes */
.tag-checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; padding: 4px 0; }
.tag-checkbox input[type="checkbox"] { cursor: pointer; width: 14px; height: 14px; }
.tag-checkbox span { font-size: 13px; color: #555; }
.tag-checkbox:hover span { color: #333; font-weight: 500; }

/* Status messages */
.loading-text { font-size: 13px; color: #999; padding: 8px 0; }
.error-text { font-size: 13px; color: #d32f2f; padding: 8px 0; }
.success-text { font-size: 13px; color: #388e3c; padding: 8px 0; }
