/* ui.css — Shared UI components for PolyMPR app pages */ /* ------------------------------------------------------- Page layout ------------------------------------------------------- */ .page-content { padding: 1.5rem; } .page-title { font-size: 1.2rem; font-weight: var(--font-weight-bold); margin: 0 0 0.75rem 0; padding-bottom: 0.75rem; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } /* ------------------------------------------------------- Filters bar ------------------------------------------------------- */ .filters { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; } .filter-input, .filter-select { padding: 0.3rem 0.5rem; background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 3px; color: light-dark(var(--light-foreground), var(--dark-foreground)); font-size: 0.8rem; font-family: inherit; min-width: 8rem; } .filter-input:focus, .filter-select:focus { outline: none; border-color: light-dark( var(--light-accent-color), var(--dark-accent-color) ); } /* ------------------------------------------------------- Buttons ------------------------------------------------------- */ .btn { padding: 0.3rem 0.75rem; border-radius: 3px; font-size: 0.8rem; font-family: inherit; font-weight: var(--font-weight-bold); cursor: pointer; border: 1px solid; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; line-height: 1.4; background: transparent; transition: background 100ms, color 100ms; } .btn::before { all: unset; } .btn-primary { border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .btn-primary:hover { background: light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark( var(--light-background-color), var(--dark-background-color) ); } .btn-secondary { border-color: light-dark( var(--light-foreground-dimmer), var(--dark-foreground-dimmer) ); color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .btn-secondary:hover { border-color: light-dark( var(--light-foreground-dim), var(--dark-foreground-dim) ); color: light-dark(var(--light-foreground), var(--dark-foreground)); } .btn-danger { border-color: #933; color: light-dark(var(--light-strong-color), var(--dark-strong-color)); } .btn-danger:hover { background: #933; color: white; } .btn-sm { padding: 0.15rem 0.5rem; font-size: 0.75rem; } /* ------------------------------------------------------- Data table ------------------------------------------------------- */ .data-table-wrap { background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; overflow: auto; } .data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; } .data-table th { padding: 0.5rem 1rem; font-size: 0.7rem; font-weight: var(--font-weight-bold); color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); text-align: left; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } .data-table td { padding: 0.55rem 1rem; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } .data-table tr:last-child td { border-bottom: none; } .data-table tbody tr:nth-child(even) td { background: light-dark(#f5f4ff, #141229); } .data-table .col-promo { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-weight: var(--font-weight-bold); font-size: 0.75rem; } .data-table .col-dim { color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.75rem; } .data-table .col-actions { display: flex; gap: 0.4rem; align-items: center; } /* ------------------------------------------------------- UE card (student notes view) ------------------------------------------------------- */ .ue-card { background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; margin-bottom: 1rem; overflow: hidden; position: relative; padding-left: 3px; } .ue-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: light-dark(var(--light-accent-color), var(--dark-accent-color)); transform: none; transition: none; border-radius: 0; } .ue-card-header { padding: 0.65rem 1rem 0.5rem 1.1rem; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } .ue-card-title { font-weight: var(--font-weight-bold); font-size: 0.85rem; margin: 0; } .ue-card-avg { font-size: 0.7rem; margin: 0.2rem 0 0; } .ue-card-avg.avg-good { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .ue-card-avg.avg-warn { color: light-dark(var(--light-strong-color), var(--dark-strong-color)); } .ue-module-row { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 1rem 0.45rem 1.1rem; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } .ue-module-row:last-child { border-bottom: none; } .ue-module-name { font-size: 0.8rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } /* ------------------------------------------------------- Score chip ------------------------------------------------------- */ .score-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 4.5rem; padding: 0.15rem 0.5rem; border-radius: 12px; border: 1px solid; font-size: 0.75rem; font-weight: var(--font-weight-bold); background: light-dark(white, #1a172d); } .score-chip.score-good { border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .score-chip.score-warn { border-color: light-dark( var(--light-strong-color), var(--dark-strong-color) ); color: light-dark(var(--light-strong-color), var(--dark-strong-color)); } .score-chip.score-none { border-color: light-dark( var(--light-foreground-dimmer), var(--dark-foreground-dimmer) ); color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } /* ------------------------------------------------------- Tabs ------------------------------------------------------- */ .tabs { display: flex; gap: 0.6rem; margin-bottom: 1.25rem; flex-wrap: wrap; } .tab-btn { padding: 0.35rem 0.9rem; border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 3px; background: transparent; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.82rem; font-family: inherit; cursor: pointer; } .tab-btn::before { all: unset; } .tab-btn.active { border-color: light-dark( var(--light-accent-color), var(--dark-accent-color) ); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-weight: var(--font-weight-bold); border-bottom-width: 2px; } /* ------------------------------------------------------- Status states ------------------------------------------------------- */ .state-loading, .state-empty { padding: 2.5rem; text-align: center; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.9rem; } .state-error { padding: 1rem; color: light-dark(var(--light-strong-color), var(--dark-strong-color)); font-size: 0.85rem; border: 1px solid #933; border-radius: 4px; background: light-dark(#fff0f0, #1a1010); margin-bottom: 1rem; } /* ------------------------------------------------------- Inline form row (for inline add/edit) ------------------------------------------------------- */ .form-row { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; } .form-input { padding: 0.35rem 0.5rem; background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 3px; color: light-dark(var(--light-foreground), var(--dark-foreground)); font-size: 0.82rem; font-family: inherit; min-width: 12rem; } .form-input:focus { outline: none; border-color: light-dark( var(--light-accent-color), var(--dark-accent-color) ); } /* ------------------------------------------------------- Toolbar (title + action button) ------------------------------------------------------- */ .toolbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; gap: 1rem; } /* ------------------------------------------------------- Bulk actions bar ------------------------------------------------------- */ .bulk-bar { display: flex; align-items: center; gap: 1rem; padding: 0.5rem 0.75rem; margin-bottom: 0.75rem; border-radius: 6px; background: light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark( var(--light-background-color), var(--dark-background-color) ); font-size: 0.82rem; flex-wrap: wrap; } .bulk-count { font-weight: var(--font-weight-bold); white-space: nowrap; } .bulk-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; flex-wrap: wrap; } .bulk-bar .filter-select { color: light-dark( var(--light-foreground-color), var(--dark-foreground-color) ); font-size: 0.78rem; } .row-selected { background: light-dark( color-mix(in srgb, var(--light-accent-color) 8%, transparent), color-mix(in srgb, var(--dark-accent-color) 12%, transparent) ); } /* ------------------------------------------------------- Chips: perm, role, promo, module ------------------------------------------------------- */ .perm-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.45rem; border-radius: 10px; border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-size: 0.68rem; font-family: monospace; margin: 0.1rem; } .role-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; border-radius: 10px; border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.72rem; margin: 0.1rem; } .promo-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; border-radius: 10px; border: 1px solid #b8820a; color: #d4a017; font-size: 0.72rem; font-weight: var(--font-weight-bold); } .filiere-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; border-radius: 10px; border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-size: 0.72rem; font-weight: var(--font-weight-bold); } .module-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; border-radius: 10px; border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-size: 0.7rem; font-family: monospace; } .numEtud-chip { display: inline-flex; align-items: center; padding: 0.1rem 0.5rem; border-radius: 10px; border: 1px solid light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.72rem; font-weight: var(--font-weight-bold); } /* ------------------------------------------------------- Permission toggle cards (role management) ------------------------------------------------------- */ .perm-header-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; margin-bottom: 1.25rem; background: light-dark(#f5f4ff, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; } .perm-toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; } .perm-toggle-card { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.75rem; background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; cursor: pointer; gap: 0.5rem; } .perm-toggle-card.active { border-color: light-dark( var(--light-accent-color), var(--dark-accent-color) ); background: light-dark(#f0fff4, #0d1f12); } .perm-toggle-label { display: flex; flex-direction: column; gap: 0.1rem; } .perm-toggle-id { font-size: 0.7rem; font-weight: var(--font-weight-bold); font-family: monospace; color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .perm-toggle-nom { font-size: 0.78rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } /* Simple toggle switch */ .toggle-switch { position: relative; width: 2.4rem; height: 1.3rem; flex-shrink: 0; } .toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; } .toggle-slider { position: absolute; inset: 0; background: light-dark(#ccc, #444); border-radius: 1rem; transition: background 150ms; } .toggle-slider::before { content: ""; position: absolute; width: 1rem; height: 1rem; left: 0.15rem; top: 0.15rem; background: white; border-radius: 50%; transition: transform 150ms; } .toggle-switch input:checked + .toggle-slider { background: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .toggle-switch input:checked + .toggle-slider::before { transform: translateX(1.1rem); } /* ------------------------------------------------------- UE split layout ------------------------------------------------------- */ .ue-split { display: flex; gap: 1rem; align-items: flex-start; } .ue-panel-left { width: 270px; flex-shrink: 0; } .ue-panel-right { flex: 1; min-width: 0; } .panel-box { background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; padding: 0.75rem; } .panel-box-title { font-size: 0.8rem; font-weight: var(--font-weight-bold); margin: 0 0 0.6rem; } .ue-list-item { padding: 0.45rem 0.6rem; cursor: pointer; border-radius: 3px; font-size: 0.82rem; border: 1px solid transparent; margin-bottom: 0.2rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .ue-list-item:hover { background: light-dark(#f0efff, #1a172d); color: light-dark(var(--light-foreground), var(--dark-foreground)); } .ue-list-item.active { background: light-dark(var(--light-accent-color), var(--dark-accent-color)); color: light-dark( var(--light-background-color), var(--dark-background-color) ); font-weight: var(--font-weight-bold); } /* ------------------------------------------------------- Pill buttons (PromoBuilder) ------------------------------------------------------- */ .pill-group { display: flex; gap: 0.4rem; flex-wrap: wrap; } .pill-btn { padding: 0.3rem 0.8rem; border-radius: 20px; border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); background: transparent; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-size: 0.82rem; font-family: inherit; cursor: pointer; } .pill-btn::before { all: unset; } .pill-btn.active { border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); background: light-dark( var(--light-accent-color), var(--dark-accent-color) ); color: light-dark( var(--light-background-color), var(--dark-background-color) ); font-weight: var(--font-weight-bold); } /* PromoBuilder box */ .promo-builder { background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); border-radius: 4px; padding: 1rem; margin-bottom: 1.5rem; } .promo-builder-title { font-size: 0.85rem; font-weight: var(--font-weight-bold); margin: 0 0 0.15rem; } .promo-builder-subtitle { font-size: 0.72rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-family: monospace; margin: 0 0 0.85rem; } .promo-builder-row { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 0.75rem; } .promo-builder-field { display: flex; flex-direction: column; gap: 0.3rem; } .promo-builder-field label { font-size: 0.72rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .promo-id-preview { display: inline-flex; align-items: center; padding: 0.35rem 0.75rem; border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); border-radius: 3px; font-size: 0.85rem; font-weight: var(--font-weight-bold); color: light-dark(var(--light-accent-color), var(--dark-accent-color)); min-width: 10rem; font-family: monospace; } /* ------------------------------------------------------- Edit student sections ------------------------------------------------------- */ .edit-section { background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; padding: 1rem; margin-bottom: 1rem; } .edit-section-title { font-size: 0.88rem; font-weight: var(--font-weight-bold); margin: 0 0 0.15rem; } .edit-section-subtitle { font-size: 0.7rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-family: monospace; margin: 0 0 0.8rem; } .form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem 1rem; margin-bottom: 0.75rem; } .form-field { display: flex; flex-direction: column; gap: 0.2rem; } .form-field label { font-size: 0.7rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .info-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; background: light-dark(white, #141228); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 4px; margin-bottom: 1rem; font-size: 0.82rem; } .back-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: light-dark(var(--light-accent-color), var(--dark-accent-color)); text-decoration: none; margin-bottom: 0.5rem; } .back-link:hover { text-decoration: underline; } /* ------------------------------------------------------- File drop zone (import pages) ------------------------------------------------------- */ .drop-zone { border: 2px dashed light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 6px; background: light-dark(white, #141228); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; padding: 3rem 2rem; cursor: pointer; transition: border-color 150ms, background 150ms; margin-bottom: 1.25rem; text-align: center; } .drop-zone:hover, .drop-zone.dragging { border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); background: light-dark(#f0fff4, #0a1a10); } .drop-zone-icon { font-size: 2.4rem; line-height: 1; opacity: 0.8; } .drop-zone-text { font-size: 0.88rem; font-weight: var(--font-weight-bold); } .drop-zone-hint { font-size: 0.75rem; font-family: monospace; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .drop-zone-file { font-size: 0.78rem; font-family: monospace; color: light-dark(var(--light-accent-color), var(--dark-accent-color)); font-weight: var(--font-weight-bold); } .upload-actions { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; } .create-promo-inline { margin-bottom: 1rem; padding: 0.75rem; border: 1px dashed light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 6px; } .upload-format { font-size: 0.72rem; font-family: monospace; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } /* Info note box */ .info-note { padding: 0.75rem 1rem; border: 1px solid light-dark(var(--light-accent-color), var(--dark-accent-color)); border-radius: 4px; background: light-dark(#f0fff4, #0a1a10); margin-top: 1.5rem; font-size: 0.82rem; } /* ------------------------------------------------------- Note recap chips & rows ------------------------------------------------------- */ .note-chip { display: inline-flex; align-items: center; padding: 0.15rem 0.55rem; border-radius: 10px; border: 1px solid currentColor; font-size: 0.78rem; font-weight: var(--font-weight-bold); font-family: monospace; white-space: nowrap; } .note-chip--ok { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .note-chip--fail { color: light-dark(#dc2626, #f87171); } .note-chip--none { color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .note-chip--promo { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); background: transparent; } .note-chip--ajust { color: #f59e0b; } .note-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); flex-wrap: wrap; } .note-row-label { flex: 1; min-width: 10rem; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; } .note-row-chip { font-size: 0.68rem; padding: 0.1rem 0.4rem; } .note-row-coef { font-size: 0.75rem; white-space: nowrap; } .ajust-section { margin-top: 0.75rem; padding-top: 0.65rem; border-top: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); } .ajust-title { font-size: 0.78rem; font-weight: var(--font-weight-bold); margin: 0 0 0.15rem; } .ajust-hint { font-size: 0.7rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-family: monospace; margin: 0 0 0.5rem; } /* ------------------------------------------------------- (end note recap) ------------------------------------------------------- */ /* ------------------------------------------------------- Modal overlay ------------------------------------------------------- */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 100; } .modal-box { background: light-dark(white, #1a172d); border: 1px solid light-dark(var(--light-foreground-dimmer), var(--dark-foreground-dimmer)); border-radius: 6px; padding: 1.25rem; min-width: 22rem; max-width: 90vw; } .modal-title { font-size: 0.95rem; font-weight: var(--font-weight-bold); margin: 0 0 1rem; } .modal-form { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; } .modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; } .info-note-dim { font-size: 0.7rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); font-family: monospace; margin-top: 0.25rem; } /* ------------------------------------------------------- Import result popup ------------------------------------------------------- */ .import-popup-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; } .import-popup { background: light-dark( var(--light-background-color), var(--dark-background-color) ); border: 1px solid light-dark(var(--light-border-color), var(--dark-border-color)); border-radius: 10px; padding: 1.5rem 2rem; min-width: 28rem; max-width: 40rem; max-height: 80vh; overflow-y: auto; } .import-popup-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; } .import-popup-title { font-size: 1.1rem; font-weight: var(--font-weight-bold); margin: 0; } .import-popup-badge { font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 4px; border: 1px solid; } .badge-error { color: #f5a623; border-color: #f5a623; } .badge-success { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .import-popup-stats { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; } .import-stat-row { display: flex; align-items: center; gap: 1.5rem; } .import-stat-label { min-width: 6rem; font-size: 0.85rem; color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); } .import-stat-value { font-size: 0.85rem; font-family: monospace; padding: 0.2rem 0.6rem; border-radius: 4px; border: 1px solid; min-width: 8rem; } .stat-added { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .stat-modified { color: light-dark(var(--light-accent-color), var(--dark-accent-color)); border-color: light-dark(var(--light-accent-color), var(--dark-accent-color)); } .stat-ignored { color: light-dark(var(--light-foreground-dim), var(--dark-foreground-dim)); border-color: light-dark(var(--light-border-color), var(--dark-border-color)); } .stat-errors { color: #f5a623; border-color: #f5a623; } .import-popup-actions { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; } .import-popup-details { border-top: 1px solid light-dark(var(--light-border-color), var(--dark-border-color)); padding-top: 0.75rem; font-family: monospace; font-size: 0.75rem; max-height: 12rem; overflow-y: auto; } .import-detail-change { margin: 0.15rem 0; color: light-dark( var(--light-foreground-color), var(--dark-foreground-color) ); } .import-detail-error { margin: 0.15rem 0; color: #f5a623; }