Spaces:
Paused

yaz / src /static /css /azul-panel.css
anaselamr's picture
fix: brand Yaz, Surgio UI/UX auto-load feed + search + blocked_count
d80907b
Raw History Blame Contribute Delete
57.8 kB
/* ════════════════════════════════════════════════════════════════ Azul Panel — Actes & Courbe d'apprentissage Scoped to .azul-panel, removes all inline styles from template. ════════════════════════════════════════════════════════════════ */ .azul-panel { display: flex; flex-direction: column; gap: 0.875rem; padding: 0 1.125rem 1.25rem; } /* ── Panel header ── */ .azul-panel__header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); } .azul-panel__title { display: flex; align-items: center; gap: 0.375rem; min-width: 0; flex: 1; overflow: hidden; } .azul-panel__title-icon { width: 13px; height: 13px; color: var(--text-muted); } .azul-panel__title-text { font-size: 0.8125rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .azul-panel__title-sub { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; } .azul-panel__voir-tout { font-size: 0.6875rem; color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.2rem; transition: color var(--duration-fast) var(--ease-default); } .azul-panel__voir-tout:hover { color: var(--text); } /* ── KPI grid ── */ .azul-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 0.5rem; } .azul-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.625rem 0.875rem; transition: border-color var(--duration-fast) var(--ease-default); } .azul-kpi:hover { border-color: var(--border-strong); } .azul-kpi__label { font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem; line-height: 1.3; } .azul-kpi__value { font-size: 1.125rem; font-weight: 700; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; } .azul-kpi__value--accent { color: var(--primary); } .azul-kpi__value--purple { color: var(--c-primary-400, #7c8ab8); } /* ── Section card ── */ .azul-section { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; } .azul-section__head { padding: 0.75rem 1rem 0.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; } .azul-section__title { font-size: 0.8125rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 0.4rem; } .azul-section__count { font-size: 0.6875rem; color: var(--text-muted); font-variant-numeric: tabular-nums; } /* ── Data table ── */ .azul-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; } .azul-table th { padding: 0.4375rem 0.75rem; text-align: left; font-weight: 500; color: var(--text-muted); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; background: var(--surface-sunken); border-bottom: 1px solid var(--border); } .azul-table th.th-center { text-align: center; } .azul-table th.th-right { text-align: right; } .azul-table td { padding: 0.5625rem 0.75rem; border-top: 1px solid var(--border-subtle); vertical-align: middle; } .azul-table tbody tr { transition: background var(--duration-fast) var(--ease-default); } .azul-table tbody tr:hover { background: var(--surface-hover); } /* Cell types */ .azul-cell--name { font-weight: 600; color: var(--text); line-height: 1.3; } .azul-cell--sub { font-size: 0.6875rem; color: var(--text-muted); margin-top: 1px; } .azul-cell--center { text-align: center; } .azul-cell--right { text-align: right; font-variant-numeric: tabular-nums; } /* NGAP code badge */ .azul-ngap { font-family: var(--font-mono, monospace); font-size: 0.75rem; font-weight: 700; color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); padding: 0.125rem 0.4375rem; border-radius: 5px; white-space: nowrap; } /* Tarif — neutral weight */ .azul-tarif { font-weight: 600; color: var(--text); } /* Dépassement — subtle amber instead of harsh red */ .azul-dep { font-weight: 600; color: var(--warning); font-variant-numeric: tabular-nums; } .azul-dep--none { color: var(--text-muted); } /* Experience level badge */ .azul-level { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 9999px; white-space: nowrap; } .azul-level--decouverte { color: var(--text-muted); background: var(--surface-active); } .azul-level--apprentissage { color: var(--c-primary-600, #4a5ab8); background: var(--c-primary-50, #f0f1fa); } .azul-level--competent { color: var(--c-success-600, #2d8555); background: var(--c-success-50, #edfdf4); } .azul-level--avance { color: var(--c-warning-600, #b37a1f); background: var(--c-warning-50, #fef9ee); } .azul-level--expert { color: var(--c-primary-700, #3d4b9e); background: var(--c-primary-100, #dfe2f4); } [data-theme="dark"] .azul-level--decouverte { background: var(--surface-raised); } [data-theme="dark"] .azul-level--apprentissage { color: var(--c-primary-300, #9da6de); background: rgba(92,107,192,0.12); } [data-theme="dark"] .azul-level--competent { color: var(--c-success-400, #4caf7c); background: rgba(56,161,105,0.12); } [data-theme="dark"] .azul-level--avance { color: var(--c-warning-400, #e5a84c); background: rgba(212,150,48,0.12); } [data-theme="dark"] .azul-level--expert { color: var(--c-primary-200, #c4c9ec); background: rgba(92,107,192,0.15); } /* Status badge (for cases list) */ .azul-status { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 9999px; white-space: nowrap; } /* Footer link */ .azul-footer { text-align: center; padding-top: 0.25rem; } .azul-footer__link { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; transition: color var(--duration-fast) var(--ease-default); } .azul-footer__link:hover { color: var(--text); } /* ════════════════════════════════════════════════════════════ Azul Dashboard Templates (migrated from inline <style> blocks) ════════════════════════════════════════════════════════════ */ /* ── azul_dashboard ────────────────────────────────────────────────── */ /* ── Azul Core Layout ──────────────────────────────────────────── */ .az-body { display: flex; flex-direction: column; gap: 1.125rem; } /* ── KPI Strip ─────────────────────────────────────────────────── */ .az-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.625rem; } .az-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.875rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; } .az-kpi__value { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--text); letter-spacing: -0.03em; } .az-kpi__label { font-size: 0.6875rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; } .az-kpi__badge { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.625rem; font-weight: 600; padding: 0.1rem 0.4rem; border-radius: 999px; margin-top: 0.125rem; width: fit-content; } .az-kpi__badge--public { background: rgba(16,185,129,0.12); color: #059669; } .az-kpi__badge--private { background: rgba(139,92,246,0.12); color: #7c3aed; } .az-kpi__badge--fast { background: rgba(245,158,11,0.12); color: #d97706; } .az-kpi__badge--warning { background: rgba(239,68,68,0.12); color: #dc2626; } /* ── Section card ──────────────────────────────────────────────── */ .az-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); } .az-card__header { padding: 0.875rem 1.125rem 0.625rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .az-card__title { font-size: 0.8125rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 0.4rem; } .az-card__action { font-size: 0.75rem; color: var(--primary, #0284c7); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 0.2rem; } .az-card__action:hover { text-decoration: underline; } /* ── Pathway table ─────────────────────────────────────────────── */ .az-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; } .az-table th { padding: 0.5rem 0.875rem; text-align: left; font-weight: 600; color: var(--text-muted); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; border-bottom: 1px solid var(--border); } .az-table td { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,.04)); vertical-align: middle; } .az-table tr:last-child td { border-bottom: none; } .az-table tbody tr { transition: background 0.1s; cursor: pointer; } .az-table tbody tr:hover { background: var(--surface-hover, rgba(2,132,199,0.04)); } /* ── Pathway type pill ─────────────────────────────────────────── */ .az-pill { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; } .az-pill--public { background: rgba(16,185,129,0.1); color: #059669; } .az-pill--private { background: rgba(139,92,246,0.1); color: #7c3aed; } .az-pill--fast { background: rgba(245,158,11,0.1); color: #d97706; } .az-pill--mixed { background: rgba(107,114,128,0.1); color: #6b7280; } /* ── Status dot ────────────────────────────────────────────────── */ .az-status { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); } .az-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; } .az-status--pending::before { background: #f59e0b; } .az-status--validated::before { background: #3b82f6; } .az-status--scheduled::before { background: #8b5cf6; } .az-status--completed::before { background: #10b981; } .az-status--cancelled::before { background: #6b7280; } /* ── Revenue section ───────────────────────────────────────────── */ .az-revenue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; padding: 1rem 1.125rem; } .az-rev-item { display: flex; flex-direction: column; gap: 0.2rem; } .az-rev-label { font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; } .az-rev-value { font-size: 1.125rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; } .az-rev-sub { font-size: 0.6875rem; color: var(--text-muted); } /* ── Partner list ──────────────────────────────────────────────── */ .az-partner-list { display: flex; flex-direction: column; } .az-partner-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 1.125rem; border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,.04)); transition: background 0.1s; text-decoration: none; color: inherit; } .az-partner-row:last-child { border-bottom: none; } .az-partner-row:hover { background: var(--surface-hover, rgba(2,132,199,0.04)); } .az-partner-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: rgba(2,132,199,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; } .az-partner-name { font-weight: 600; font-size: 0.8125rem; color: var(--text); } .az-partner-cat { font-size: 0.6875rem; color: var(--text-muted); } .az-partner-sector { margin-left: auto; } /* ── Pathway type toggle (filter buttons) ──────────────────────── */ .az-filter-row { display: flex; gap: 0.375rem; flex-wrap: wrap; padding: 0.75rem 1.125rem; border-bottom: 1px solid var(--border); } .az-filter-btn { padding: 0.3rem 0.75rem; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; font-size: 0.75rem; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: all 0.15s; } .az-filter-btn:hover, .az-filter-btn.active { background: rgba(2,132,199,0.1); border-color: #0284c7; color: #0284c7; } /* ── Quick entry modal ─────────────────────────────────────────── */ .az-modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); align-items: center; justify-content: center; animation: fadeInOverlay 0.15s ease both; } .az-modal-overlay.open { display: flex; } @keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } } .az-modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl, 1.25rem); box-shadow: var(--shadow-xl, 0 20px 60px rgba(0,0,0,0.2)); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; animation: slideUpModal 0.2s var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1)) both; } @keyframes slideUpModal { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } } .az-modal__header { padding: 1.125rem 1.25rem 0.75rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; } .az-modal__title { font-size: 1rem; font-weight: 700; color: var(--text); } .az-modal__close { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--surface-raised, rgba(0,0,0,0.06)); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1rem; transition: background 0.15s; } .az-modal__close:hover { background: var(--surface-hover); } .az-modal__body { padding: 1.125rem 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; } .az-modal__footer { padding: 0.875rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; justify-content: flex-end; } /* ── Form controls ─────────────────────────────────────────────── */ .az-field { display: flex; flex-direction: column; gap: 0.3rem; } .az-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; } .az-label--required::after { content: ' *'; color: #ef4444; } .az-input, .az-select, .az-textarea { padding: 0.625rem 0.875rem; border-radius: 0.625rem; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.875rem; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; } .az-input:focus, .az-select:focus, .az-textarea:focus { outline: none; border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2,132,199,0.12); } .az-textarea { resize: vertical; min-height: 72px; } .az-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; } /* ── Pathway type selector ─────────────────────────────────────── */ .az-pathway-group { display: flex; gap: 0.5rem; } .az-pathway-opt { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.625rem 0.5rem; border-radius: 0.75rem; border: 2px solid var(--border); cursor: pointer; transition: all 0.15s; background: var(--surface); font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); text-align: center; } .az-pathway-opt input[type="radio"] { display: none; } .az-pathway-opt:has(input:checked), .az-pathway-opt.selected { border-color: #0284c7; background: rgba(2,132,199,0.08); color: #0284c7; } .az-pathway-opt .opt-icon { font-size: 1.25rem; } /* ── Submit button ─────────────────────────────────────────────── */ .az-btn-primary { padding: 0.625rem 1.25rem; border-radius: 0.75rem; border: none; background: linear-gradient(135deg, #0284c7, #0d9488); color: white; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: opacity 0.15s, transform 0.1s; display: flex; align-items: center; gap: 0.4rem; } .az-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); } .az-btn-primary:active { transform: translateY(0); } .az-btn-secondary { padding: 0.625rem 1rem; border-radius: 0.75rem; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted); font-size: 0.875rem; font-weight: 600; cursor: pointer; } .az-btn-secondary:hover { background: var(--surface-hover); border-color: var(--text-muted); } /* ── Empty state ───────────────────────────────────────────────── */ .az-empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-muted); font-size: 0.875rem; } .az-empty__icon { font-size: 2.5rem; margin-bottom: 0.5rem; } .az-empty__text { font-weight: 600; color: var(--text); margin-bottom: 0.25rem; } /* ── Responsive ────────────────────────────────────────────────── */ @media (max-width: 640px) { .az-field-row { grid-template-columns: 1fr; } .az-kpi-grid { grid-template-columns: repeat(2, 1fr); } .az-modal { margin: 0.75rem; max-width: none; } .az-pathway-group { flex-wrap: wrap; } .az-pathway-opt { min-width: 80px; } } @keyframes spin { to { transform: rotate(360deg); } } /* ── azul_case_detail ────────────────────────────────────────────────── */ .ca-body { display:flex; flex-direction:column; gap:1rem; max-width:800px; margin:0 auto; } /* ── Header card ──────────────────────────────────────────────── */ .ca-head { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.25rem; display:flex; flex-direction:column; gap:.875rem; box-shadow:var(--shadow-xs); } .ca-head-row { display:flex; align-items:flex-start; justify-content:space-between; gap:.75rem; flex-wrap:wrap; } .ca-ref { font-size:1.25rem; font-weight:900; color:var(--text); letter-spacing:-.025em; font-variant-numeric: tabular-nums; } .ca-diag { font-size:.9375rem; color:var(--text); margin-top:.2rem; } .ca-meta-row { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; } /* ── GO/NO-GO badge ──────────────────────────────────────────── */ .gng-badge { display:inline-flex; align-items:center; gap:.4rem; padding:.375rem 1rem; border-radius:999px; font-size:.875rem; font-weight:800; border:2px solid; } .gng-badge--go { color:#059669; border-color:#10b981; background:rgba(16,185,129,.1); } .gng-badge--cond { color:#d97706; border-color:#f59e0b; background:rgba(245,158,11,.1); } .gng-badge--nogo { color:#dc2626; border-color:#ef4444; background:rgba(239,68,68,.1); } .gng-badge--pending { color:#6b7280; border-color:#9ca3af; background:rgba(107,114,128,.1); } /* ── Readiness bar ────────────────────────────────────────────── */ .readiness-wrap { display:flex; flex-direction:column; gap:.375rem; } .readiness-label { font-size:.75rem; font-weight:700; color:var(--text-muted); display:flex; justify-content:space-between; } .readiness-bar { height:8px; border-radius:999px; background:var(--border); overflow:hidden; } .readiness-fill { height:100%; border-radius:999px; transition:width .4s ease; } .readiness-fill--low { background:#ef4444; } .readiness-fill--mid { background:#f59e0b; } .readiness-fill--high { background:#10b981; } /* ── 2-col grid ───────────────────────────────────────────────── */ .ca-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; } @media(max-width:640px){ .ca-grid { grid-template-columns:1fr; } } /* ── Card ─────────────────────────────────────────────────────── */ .ca-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); } .ca-card__hd { padding:.75rem 1rem .5rem; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; } .ca-card__title { font-size:.8125rem; font-weight:700; color:var(--text); } .ca-card__body { padding:.875rem 1rem; } /* ── Check list ───────────────────────────────────────────────── */ .check-list { display:flex; flex-direction:column; gap:.5rem; } .check-item { display:flex; align-items:center; gap:.625rem; font-size:.8125rem; } .check-item__icon { width:18px; height:18px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:.625rem; font-weight:800; } .check-item__icon--done { background:rgba(16,185,129,.15); color:#059669; } .check-item__icon--missing { background:rgba(239,68,68,.15); color:#dc2626; } .check-item__icon--warn { background:rgba(245,158,11,.15); color:#d97706; } .check-item__text { flex:1; color:var(--text); } .check-item__text.missing { color:var(--text-muted); text-decoration:line-through; } /* ── Tariff breakdown ─────────────────────────────────────────── */ .tariff-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:.5rem; } .tariff-box { border-radius:.625rem; padding:.625rem .875rem; display:flex; flex-direction:column; gap:.2rem; } .tariff-box--cnss { background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.2); } .tariff-box--cnops { background:rgba(59,130,246,.08); border:1px solid rgba(59,130,246,.2); } .tariff-box--payant { background:rgba(139,92,246,.08); border:1px solid rgba(139,92,246,.2); } .tariff-box--active { ring:2px solid; } .tariff-box__label { font-size:.625rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); } .tariff-box__base { font-size:.875rem; font-weight:700; color:var(--text); } .tariff-box__dep { font-size:.6875rem; color:var(--text-muted); } .tariff-box__total { font-size:1.0625rem; font-weight:900; margin-top:.2rem; } .tariff-box--cnss .tariff-box__total { color:#059669; } .tariff-box--cnops .tariff-box__total { color:#2563eb; } .tariff-box--payant .tariff-box__total { color:#7c3aed; } /* ── Action buttons ───────────────────────────────────────────── */ .ca-actions { display:flex; gap:.5rem; flex-wrap:wrap; padding:.875rem 1rem; border-top:1px solid var(--border); } /* Scoped to .ca-actions to avoid overriding global .btn (e.g. surgio.css) */ .ca-actions .btn { display:inline-flex; align-items:center; gap:.375rem; padding:.5rem 1rem; border-radius:.75rem; font-size:.8125rem; font-weight:700; cursor:pointer; text-decoration:none; transition:opacity .15s; border:none; } .ca-actions .btn:hover { opacity:.85; } .ca-actions .btn--primary { background:linear-gradient(135deg,#1e40af,#0d9488); color:#fff; } .ca-actions .btn--green { background:rgba(16,185,129,.12); color:#059669; border:1.5px solid rgba(16,185,129,.25); } .ca-actions .btn--orange { background:rgba(245,158,11,.12); color:#d97706; border:1.5px solid rgba(245,158,11,.25); } .ca-actions .btn--outline { background:transparent; color:var(--text-muted); border:1.5px solid var(--border); } .ca-actions .btn--danger { background:rgba(239,68,68,.1); color:#dc2626; border:1.5px solid rgba(239,68,68,.25); } /* ── Pill ─────────────────────────────────────────────────────── */ .pill { display:inline-flex; align-items:center; padding:.2rem .6rem; border-radius:999px; font-size:.6875rem; font-weight:700; } .pill--low { background:rgba(16,185,129,.1); color:#059669; } .pill--moderate{ background:rgba(245,158,11,.1); color:#d97706; } .pill--high { background:rgba(239,68,68,.1); color:#dc2626; } .pill--public { background:rgba(16,185,129,.1); color:#059669; } .pill--private { background:rgba(139,92,246,.1); color:#7c3aed; } /* ── azul_case_add ────────────────────────────────────────────────── */ .add-body { max-width: 680px; margin: 0 auto; display:flex; flex-direction:column; gap:1rem; } /* ── Progress bar ─────────────────────────────────────────────── */ .add-progress { display:flex; align-items:center; gap:.375rem; font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); } .add-progress__step { display:flex; align-items:center; gap:.25rem; } .add-progress__dot { width:22px; height:22px; border-radius:50%; border:2px solid var(--border); background:var(--surface); display:flex; align-items:center; justify-content:center; font-size:.625rem; font-weight:800; color:var(--text-muted); transition:all .2s; } .add-progress__dot.active { background:linear-gradient(135deg,#1e40af,#0d9488); border-color:transparent; color:#fff; } .add-progress__dot.done { background:rgba(16,185,129,.15); border-color:#10b981; color:#059669; } .add-progress__line { flex:1; height:2px; background:var(--border); border-radius:999px; min-width:16px; } /* ── Card ─────────────────────────────────────────────────────── */ .add-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.25rem; box-shadow:var(--shadow-xs); } .add-section-title { font-size:.8125rem; font-weight:700; color:var(--text); display:flex; align-items:center; gap:.4rem; margin-bottom:.875rem; } .add-section-title span { color:var(--text-muted); font-weight:500; } /* ── Field ────────────────────────────────────────────────────── */ .f { display:flex; flex-direction:column; gap:.3rem; } .f label { font-size:.75rem; font-weight:700; color:var(--text-muted); letter-spacing:.02em; } .f label .req { color:#ef4444; } .f input, .f select, .f textarea { padding:.625rem .875rem; border-radius:.625rem; border:1.5px solid var(--border); background:var(--surface); color:var(--text); font-size:.875rem; width:100%; transition:border-color .15s, box-shadow .15s; } .f input:focus, .f select:focus, .f textarea:focus { outline:none; border-color:#0284c7; box-shadow:0 0 0 3px rgba(2,132,199,.12); } .f textarea { resize:vertical; min-height:60px; } .f-row { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; } .f-row-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:.75rem; } @media(max-width:540px){ .f-row,.f-row-3 { grid-template-columns:1fr; } } /* ── Location selector ────────────────────────────────────────── */ .loc-group { display:flex; gap:.5rem; } .loc-opt { flex:1; display:flex; flex-direction:column; align-items:center; gap:.3rem; padding:.75rem .5rem; border-radius:.875rem; border:2px solid var(--border); cursor:pointer; transition:all .15s; background:var(--surface); text-align:center; } .loc-opt input[type="radio"] { display:none; } .loc-opt .loc-icon { font-size:1.5rem; } .loc-opt .loc-label { font-size:.6875rem; font-weight:700; color:var(--text-muted); } .loc-opt .loc-sub { font-size:.625rem; color:var(--text-muted); } .loc-opt.selected, .loc-opt:has(input:checked) { border-color:#0284c7; background:rgba(2,132,199,.07); color:#0284c7; } .loc-opt.selected .loc-label, .loc-opt:has(input:checked) .loc-label { color:#0284c7; } /* ── Payer selector ───────────────────────────────────────────── */ .payer-group { display:flex; gap:.375rem; flex-wrap:wrap; } .payer-btn { padding:.375rem .875rem; border-radius:999px; border:1.5px solid var(--border); background:var(--surface); font-size:.75rem; font-weight:700; cursor:pointer; transition:all .15s; color:var(--text-muted); } .payer-btn:hover { border-color:#6366f1; color:#6366f1; } .payer-btn.sel-cnss { background:rgba(16,185,129,.1); border-color:#10b981; color:#059669; } .payer-btn.sel-cnops { background:rgba(59,130,246,.1); border-color:#3b82f6; color:#2563eb; } .payer-btn.sel-payant { background:rgba(139,92,246,.1); border-color:#8b5cf6; color:#7c3aed; } .payer-btn.sel-ramed { background:rgba(107,114,128,.1); border-color:#6b7280; color:#6b7280; } /* ── Tariff preview ───────────────────────────────────────────── */ .tariff-preview { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:.5rem; padding:.875rem; background:rgba(30,64,175,.04); border-radius:.75rem; border:1px solid rgba(30,64,175,.12); } .tariff-item { display:flex; flex-direction:column; gap:.2rem; } .tariff-item__label { font-size:.625rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); } .tariff-item__value { font-size:1.125rem; font-weight:800; color:var(--text); font-variant-numeric:tabular-nums; } .tariff-item__sub { font-size:.625rem; color:var(--text-muted); } .tariff-item--total .tariff-item__value { color:#0284c7; } /* ── Submit ───────────────────────────────────────────────────── */ .add-footer { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding-top:.25rem; flex-wrap:wrap; } /* Scoped to .add-footer to avoid overriding global .btn-primary (e.g. surgio.css green) */ .add-footer .btn-primary { padding:.7rem 1.5rem; border-radius:.875rem; border:none; background:linear-gradient(135deg,#1e40af,#0d9488); color:#fff; font-size:.9375rem; font-weight:700; cursor:pointer; transition:opacity .15s,transform .1s; display:flex; align-items:center; gap:.5rem; } .add-footer .btn-primary:hover { opacity:.9; transform:translateY(-1px); } .add-footer .btn-primary:disabled { opacity:.5; cursor:default; transform:none; } .add-footer .btn-secondary { padding:.65rem 1.125rem; border-radius:.875rem; border:1.5px solid var(--border); background:transparent; color:var(--text-muted); font-size:.875rem; font-weight:600; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; } .add-footer .btn-secondary:hover { border-color:var(--text-muted); } /* ── Timer ────────────────────────────────────────────────────── */ .add-timer { font-size:.6875rem; font-weight:700; color:var(--text-muted); font-variant-numeric:tabular-nums; } .add-timer.warn { color:#f59e0b; } .add-timer.ok { color:#10b981; } /* ── Procedure lookup results ─────────────────────────────────── */ .proc-results { position:absolute; z-index:100; width:100%; background:var(--surface); border:1.5px solid var(--border); border-radius:.75rem; box-shadow:var(--shadow-lg,0 8px 32px rgba(0,0,0,.15)); max-height:280px; overflow-y:auto; display:none; } .proc-results.show { display:block; } .proc-result-item { display:flex; align-items:center; gap:.625rem; padding:.625rem 1rem; cursor:pointer; border-bottom:1px solid var(--border-subtle,rgba(0,0,0,.04)); transition:background .1s; } .proc-result-item:last-child { border-bottom:none; } .proc-result-item:hover { background:var(--surface-hover,rgba(0,0,0,.04)); } .proc-item__name { font-size:.8125rem; font-weight:700; color:var(--text); flex:1; } .proc-item__cim { font-size:.6875rem; color:var(--text-muted); } .proc-item__k { font-size:.75rem; font-weight:700; color:#0284c7; } .proc-item__risk { font-size:.625rem; padding:.15rem .4rem; border-radius:999px; font-weight:700; } .proc-item__risk--low { background:rgba(16,185,129,.1); color:#059669; } .proc-item__risk--moderate { background:rgba(245,158,11,.1); color:#d97706; } .proc-item__risk--high { background:rgba(239,68,68,.1); color:#dc2626; } .proc-wrap { position:relative; } /* ── azul_practice ────────────────────────────────────────────────── */ /* ── Layout ──────────────────────────────────────────────────── */ .pr-body { display:flex; flex-direction:column; gap:1rem; } /* ── Location split ──────────────────────────────────────────── */ .pr-split { display:grid; grid-template-columns:1fr 1fr; gap:1rem; } @media(max-width:680px){ .pr-split { grid-template-columns:1fr; } } /* ── Pillar card ─────────────────────────────────────────────── */ .pr-pillar { border-radius:var(--radius-lg); overflow:hidden; border:1.5px solid var(--border); box-shadow:var(--shadow-xs); } .pr-pillar__head { padding:.875rem 1rem .625rem; display:flex; align-items:center; gap:.625rem; } .pr-pillar__head--public { background:linear-gradient(135deg,rgba(16,185,129,.12),rgba(5,150,105,.06)); border-bottom:1px solid rgba(16,185,129,.18); } .pr-pillar__head--private { background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(124,58,237,.06)); border-bottom:1px solid rgba(139,92,246,.18); } .pr-pillar__icon { font-size:1.375rem; } .pr-pillar__label { font-size:.8125rem; font-weight:800; letter-spacing:-.01em; } .pr-pillar__sub { font-size:.6875rem; color:var(--text-muted); margin-top:1px; } /* ── Stat mini-grid ──────────────────────────────────────────── */ .pr-stat-row { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--border); } .pr-stat { padding:.625rem .875rem; display:flex; flex-direction:column; gap:.125rem; border-right:1px solid var(--border); } .pr-stat:last-child { border-right:none; } .pr-stat__n { font-size:1.375rem; font-weight:800; letter-spacing:-.03em; color:var(--text); } .pr-stat__l { font-size:.625rem; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); } /* ── Case list ───────────────────────────────────────────────── */ .pr-case-list { display:flex; flex-direction:column; } .pr-case-row { display:flex; align-items:center; gap:.625rem; padding:.625rem 1rem; border-bottom:1px solid var(--border-subtle,rgba(0,0,0,.04)); text-decoration:none; color:inherit; transition:background .12s; cursor:pointer; } .pr-case-row:last-child { border-bottom:none; } .pr-case-row:hover { background:var(--surface-hover,rgba(0,0,0,.03)); } .pr-case-ref { font-size:.75rem; font-weight:700; color:var(--text); min-width:100px; font-variant-numeric:tabular-nums; } .pr-case-diag { flex:1; font-size:.8125rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .pr-case-meta { display:flex; align-items:center; gap:.375rem; flex-shrink:0; } /* ── Pill badges ─────────────────────────────────────────────── */ .pill { display:inline-flex; align-items:center; padding:.175rem .5rem; border-radius:999px; font-size:.625rem; font-weight:700; white-space:nowrap; } .pill--cnss { background:rgba(16,185,129,.1); color:#059669; } .pill--cnops { background:rgba(59,130,246,.1); color:#2563eb; } .pill--payant { background:rgba(139,92,246,.1); color:#7c3aed; } .pill--ramed { background:rgba(107,114,128,.1); color:#6b7280; } .pill--urgent { background:rgba(239,68,68,.1); color:#dc2626; } .pill--elective{ background:rgba(16,185,129,.08); color:#059669; } .pill--pending { background:rgba(245,158,11,.1); color:#d97706; } .pill--ready { background:rgba(59,130,246,.1); color:#2563eb; } .pill--danger { background:rgba(239,68,68,.12); color:#dc2626; } .pill--go { background:rgba(16,185,129,.12); color:#059669; } /* ── Alert strip ─────────────────────────────────────────────── */ .pr-alert-strip { display:flex; flex-direction:column; gap:.375rem; padding:.875rem 1rem; } .pr-alert { display:flex; align-items:center; gap:.625rem; padding:.5rem .75rem; border-radius:.625rem; font-size:.8125rem; } .pr-alert--warn { background:rgba(245,158,11,.1); border-left:3px solid #f59e0b; } .pr-alert--error { background:rgba(239,68,68,.1); border-left:3px solid #ef4444; } .pr-alert--info { background:rgba(59,130,246,.08); border-left:3px solid #3b82f6; } .pr-alert__icon { font-size:1rem; flex-shrink:0; } .pr-alert__text { font-weight:600; color:var(--text); flex:1; } .pr-alert__link { font-size:.75rem; color:var(--primary,#0284c7); text-decoration:none; white-space:nowrap; } /* ── Quick action buttons ────────────────────────────────────── */ .pr-actions { display:flex; gap:.5rem; flex-wrap:wrap; padding:.875rem 1rem; border-top:1px solid var(--border); } .pr-btn { display:inline-flex; align-items:center; gap:.375rem; padding:.5rem 1rem; border-radius:.75rem; font-size:.8125rem; font-weight:700; cursor:pointer; text-decoration:none; transition:opacity .15s,transform .1s; border:none; } .pr-btn:hover { opacity:.85; transform:translateY(-1px); } .pr-btn--primary { background:linear-gradient(135deg,#1e40af,#0d9488); color:#fff; } .pr-btn--outline { background:transparent; border:1.5px solid var(--border); color:var(--text-muted); } .pr-btn--green { background:rgba(16,185,129,.12); color:#059669; border:1.5px solid rgba(16,185,129,.25); } .pr-btn--purple { background:rgba(139,92,246,.12); color:#7c3aed; border:1.5px solid rgba(139,92,246,.25); } /* ── Section card ────────────────────────────────────────────── */ .pr-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); } .pr-card__hd { padding:.75rem 1rem .5rem; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); } .pr-card__title { font-size:.8125rem; font-weight:700; color:var(--text); display:flex; align-items:center; gap:.375rem; } .pr-card__link { font-size:.75rem; color:var(--primary,#0284c7); text-decoration:none; font-weight:600; } .pr-card__link:hover { text-decoration:underline; } /* ── Spin loader ─────────────────────────────────────────────── */ @keyframes spin { to { transform:rotate(360deg); } } .spin-loader { width:20px; height:20px; border:2px solid var(--border); border-top-color:var(--primary,#0284c7); border-radius:50%; animation:spin .6s linear infinite; margin:0 auto; } /* ── azul_bloc ────────────────────────────────────────────────── */ /* ── Bloc toolbar ── */ .bloc-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; margin-bottom:1rem; } .week-nav { display:flex; align-items:center; gap:.5rem; background:var(--surface); border:1px solid var(--border); border-radius:.75rem; padding:.3rem .5rem; } .week-nav__btn { width:32px; height:32px; border:none; background:transparent; border-radius:.5rem; cursor:pointer; font-size:1.125rem; color:var(--text-muted); display:flex; align-items:center; justify-content:center; transition:all .15s; } .week-nav__btn:hover { background:var(--bg); color:var(--text); } .week-nav__label { font-size:.875rem; font-weight:700; color:var(--text); min-width:140px; text-align:center; } .loc-toggle { display:flex; gap:.25rem; background:var(--bg); border:1px solid var(--border); border-radius:.75rem; padding:.25rem; } .loc-btn { padding:.375rem .875rem; border-radius:.5rem; font-size:.8rem; font-weight:700; cursor:pointer; border:none; background:transparent; color:var(--text-muted); transition:all .15s; } .loc-btn.active { background:var(--surface); color:var(--text); box-shadow:var(--shadow-xs); } /* ── Weekly grid ── */ .bloc-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:.75rem; } @media(max-width:900px){ .bloc-grid { grid-template-columns:repeat(2,1fr); } } @media(max-width:560px){ .bloc-grid { grid-template-columns:1fr; } } .bloc-col { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); display:flex; flex-direction:column; } .bloc-col__hd { padding:.75rem 1rem; border-bottom:1px solid var(--border); } .bloc-col__day { font-size:.8125rem; font-weight:900; color:var(--text); } .bloc-col__type { font-size:.6875rem; font-weight:600; margin-top:.1rem; } .bloc-col__type--indication { color:#059669; } .bloc-col__type--small { color:#3b82f6; } .bloc-col__type--complex { color:#7c3aed; } .bloc-col__type--consult { color:#d97706; } .bloc-col__slots { flex:1; padding:.75rem; display:flex; flex-direction:column; gap:.5rem; min-height:160px; } /* Drop zone */ .bloc-col__slots[data-droptarget="true"] { border:2px dashed rgba(30,64,175,.3); border-radius:.625rem; } /* ── Slot card ── */ .slot-card { background:var(--bg); border:1px solid var(--border); border-radius:.625rem; padding:.625rem .75rem; font-size:.8rem; cursor:pointer; transition:box-shadow .15s; position:relative; } .slot-card:hover { box-shadow:var(--shadow-sm); } .slot-card__ref { font-weight:800; color:var(--text); } .slot-card__act { color:var(--text-muted); font-size:.75rem; margin-top:.125rem; } .slot-card__dur { position:absolute; top:.5rem; right:.625rem; font-size:.6875rem; font-weight:700; color:var(--text-muted); } .slot-card--confirmed { border-left:3px solid #10b981; } .slot-card--scheduled { border-left:3px solid #3b82f6; } .slot-card--cancelled { border-left:3px solid #ef4444; opacity:.6; } .slot-add-btn { display:flex; align-items:center; justify-content:center; gap:.4rem; padding:.5rem; border-radius:.5rem; border:1.5px dashed var(--border); font-size:.75rem; color:var(--text-muted); cursor:pointer; transition:all .15s; background:transparent; text-decoration:none; } .slot-add-btn:hover { border-color:rgba(30,64,175,.4); color:#1e40af; background:rgba(30,64,175,.05); } /* ── Unscheduled cases panel ── */ .unscheduled-panel { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1rem; box-shadow:var(--shadow-xs); margin-top:1rem; } .unscheduled-panel__hd { font-size:.875rem; font-weight:800; color:var(--text); margin-bottom:.75rem; display:flex; align-items:center; justify-content:space-between; } .unscheduled-list { display:flex; flex-direction:column; gap:.5rem; } .unscheduled-item { background:var(--bg); border:1px solid var(--border); border-radius:.625rem; padding:.625rem .875rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; font-size:.8125rem; } .unscheduled-item__ref { font-weight:800; color:var(--text); } .unscheduled-item__act { color:var(--text-muted); font-size:.75rem; } .plan-btn { padding:.3rem .75rem; border-radius:.625rem; font-size:.6875rem; font-weight:700; background:rgba(30,64,175,.1); color:#1e40af; border:1px solid rgba(30,64,175,.2); cursor:pointer; text-decoration:none; transition:opacity .15s; } .plan-btn:hover { opacity:.8; } /* ── azul_facturation_new ────────────────────────────────────────────────── */ .billing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-xs); max-width: 680px; margin: 0 auto; } .billing-section-title { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .75rem; padding-bottom: .375rem; border-bottom: 1px solid var(--border); } .billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; margin-bottom: 1.125rem; } @media (max-width: 540px) { .billing-grid { grid-template-columns: 1fr; } } .billing-field label { display: block; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: .3rem; } .billing-input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: .625rem; padding: .5rem .75rem; font-size: .875rem; color: var(--text); box-sizing: border-box; transition: border-color .15s; } .billing-input:focus { outline: none; border-color: #1e40af; } .billing-input[readonly] { opacity: .7; cursor: default; } .payer-grid { display: flex; gap: .375rem; flex-wrap: wrap; margin-bottom: 1.125rem; } .payer-btn { padding: .375rem 1rem; border-radius: .625rem; font-size: .8125rem; font-weight: 700; cursor: pointer; border: 1.5px solid var(--border); background: var(--bg); color: var(--text-muted); transition: all .15s; } .payer-btn.active-cnss { background: rgba(16,185,129,.1); border-color: #10b981; color: #059669; } .payer-btn.active-cnops { background: rgba(59,130,246,.1); border-color: #3b82f6; color: #1d4ed8; } .payer-btn.active-payant { background: rgba(139,92,246,.1); border-color: #8b5cf6; color: #7c3aed; } .payer-btn.active-ramed { background: rgba(107,114,128,.1); border-color: #6b7280; color: #374151; } .tariff-preview { background: var(--bg); border: 1px solid var(--border); border-radius: .75rem; padding: .875rem 1rem; margin-bottom: 1.125rem; display: flex; flex-wrap: wrap; gap: .875rem; align-items: flex-end; } .tariff-preview-box { flex: 1; min-width: 100px; } .tariff-preview-label { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); } .tariff-preview-val { font-size: 1.125rem; font-weight: 900; color: var(--text); } .tariff-preview-val--total { color: #7c3aed; } .billing-submit-btn { width: 100%; background: linear-gradient(135deg, #1e40af, #0d9488); color: #fff; border: none; border-radius: .75rem; padding: .75rem 1.5rem; font-size: .9375rem; font-weight: 800; cursor: pointer; transition: opacity .15s; } .billing-submit-btn:hover { opacity: .9; } .billing-submit-btn:disabled { opacity: .6; cursor: not-allowed; } .act-select-wrap { position: relative; } .act-dropdown { position: absolute; z-index: 10; background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 220px; overflow-y: auto; width: 100%; top: calc(100% + .25rem); display: none; } .act-option { padding: .5rem .875rem; cursor: pointer; font-size: .8125rem; border-bottom: 1px solid var(--border); } .act-option:last-child { border-bottom: none; } .act-option:hover { background: var(--bg); } .act-option-label { font-weight: 700; } .act-option-meta { font-size: .6875rem; color: var(--text-muted); } /* ── azul_facturation ────────────────────────────────────────────────── */ .fact-toolbar { display:flex; flex-wrap:wrap; gap:.625rem; align-items:center; margin-bottom:1rem; } .fact-filter { background:var(--surface); border:1px solid var(--border); border-radius:.75rem; padding:.4rem .875rem; font-size:.8125rem; color:var(--text); cursor:pointer; transition:all .15s; } .fact-filter.active, .fact-filter:hover { background:rgba(30,64,175,.1); border-color:rgba(30,64,175,.25); color:#1e40af; } .fact-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); } .fact-table { width:100%; border-collapse:collapse; font-size:.8125rem; } .fact-table th { background:var(--bg); border-bottom:1px solid var(--border); padding:.75rem .875rem; text-align:left; font-size:.6875rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); white-space:nowrap; } .fact-table td { padding:.75rem .875rem; border-bottom:1px solid var(--border); vertical-align:middle; } .fact-table tr:last-child td { border-bottom:none; } .fact-table tr:hover td { background:var(--bg); } .payer-dot { display:inline-flex; align-items:center; gap:.35rem; font-weight:700; } .payer-dot::before { content:''; width:8px; height:8px; border-radius:50%; flex-shrink:0; } .payer-dot--cnss::before { background:#10b981; } .payer-dot--cnops::before { background:#3b82f6; } .payer-dot--payant::before { background:#8b5cf6; } .payer-dot--ramed::before { background:#6b7280; } .pay-status { display:inline-flex; align-items:center; padding:.2rem .625rem; border-radius:999px; font-size:.6875rem; font-weight:700; } .pay-status--paid { background:rgba(16,185,129,.1); color:#059669; } .pay-status--partial { background:rgba(245,158,11,.1); color:#d97706; } .pay-status--pending { background:rgba(107,114,128,.1); color:#6b7280; } .quittance-btn { display:inline-flex; align-items:center; gap:.3rem; padding:.3rem .75rem; border-radius:.625rem; font-size:.6875rem; font-weight:700; cursor:pointer; background:rgba(30,64,175,.08); color:#1e40af; border:1px solid rgba(30,64,175,.2); text-decoration:none; transition:opacity .15s; } .quittance-btn:hover { opacity:.8; } .fact-total-row { display:flex; flex-wrap:wrap; gap:.75rem; padding:1rem; background:var(--bg); border-top:2px solid var(--border); } .fact-total-box { flex:1; min-width:120px; background:var(--surface); border:1px solid var(--border); border-radius:.75rem; padding:.75rem; } .fact-total-box__label { font-size:.625rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); } .fact-total-box__val { font-size:1.125rem; font-weight:900; color:var(--text); margin-top:.25rem; } /* location toggle */ .loc-toggle { display:flex; gap:.25rem; background:var(--bg); border:1px solid var(--border); border-radius:.75rem; padding:.25rem; } .loc-btn { padding:.375rem .875rem; border-radius:.5rem; font-size:.8rem; font-weight:700; cursor:pointer; border:none; background:transparent; color:var(--text-muted); transition:all .15s; } .loc-btn.active { background:var(--surface); color:var(--text); box-shadow:var(--shadow-xs); } /* ── azul_outcomes ────────────────────────────────────────────────── */ /* ── Toolbar ── */ .out-toolbar { display:flex; flex-wrap:wrap; gap:.625rem; align-items:center; margin-bottom:1rem; } .date-input { background:var(--surface); border:1px solid var(--border); border-radius:.75rem; padding:.4rem .875rem; font-size:.8125rem; color:var(--text); appearance:none; } .export-btn { display:inline-flex; align-items:center; gap:.375rem; padding:.4rem 1rem; border-radius:.75rem; font-size:.8125rem; font-weight:700; background:linear-gradient(135deg,#1e40af,#0d9488); color:#fff; text-decoration:none; border:none; cursor:pointer; transition:opacity .15s; } .export-btn:hover { opacity:.85; } /* ── KPI grid ── */ .kpi-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.75rem; margin-bottom:1rem; } .kpi-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1rem 1.125rem; box-shadow:var(--shadow-xs); display:flex; flex-direction:column; gap:.25rem; } .kpi-card__icon { font-size:1.25rem; } .kpi-card__label { font-size:.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); } .kpi-card__value { font-size:1.625rem; font-weight:900; color:var(--text); line-height:1; } .kpi-card__sub { font-size:.75rem; color:var(--text-muted); } .kpi-card--green .kpi-card__value { color:#059669; } .kpi-card--blue .kpi-card__value { color:#2563eb; } .kpi-card--red .kpi-card__value { color:#dc2626; } .kpi-card--purple.kpi-card__value { color:#7c3aed; } /* ── Section card ── */ .out-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); margin-bottom:1rem; } .out-card__hd { padding:.75rem 1rem; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; } .out-card__title { font-size:.875rem; font-weight:800; color:var(--text); } .out-card__body { padding:.875rem 1rem; } /* ── Procedure breakdown table ── */ .proc-table { width:100%; border-collapse:collapse; font-size:.8125rem; } .proc-table th { text-align:left; padding:.5rem .75rem; font-size:.6875rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); border-bottom:1px solid var(--border); background:var(--bg); } .proc-table td { padding:.625rem .75rem; border-bottom:1px solid var(--border); } .proc-table tr:last-child td { border-bottom:none; } .proc-table tr:hover td { background:var(--bg); } /* ── Rate bar ── */ .rate-bar { height:6px; border-radius:999px; background:var(--border); overflow:hidden; display:inline-block; width:60px; vertical-align:middle; } .rate-fill { height:100%; border-radius:999px; background:linear-gradient(90deg,#1e40af,#0d9488); } /* ── Complication badge ── */ .compl-badge { display:inline-flex; align-items:center; padding:.175rem .5rem; border-radius:999px; font-size:.625rem; font-weight:700; } .compl-badge--0 { background:rgba(16,185,129,.1); color:#059669; } .compl-badge--1 { background:rgba(245,158,11,.1); color:#d97706; } .compl-badge--2 { background:rgba(239,68,68,.1); color:#dc2626; } .compl-badge--3 { background:rgba(239,68,68,.2); color:#b91c1c; }
/* ════════════════════════════════════════════════════════════════
Azul Panel — Actes & Courbe d'apprentissage
Scoped to .azul-panel, removes all inline styles from template.
════════════════════════════════════════════════════════════════ */
.azul-panel {
display: flex;
flex-direction: column;
gap: 0.875rem;
padding: 0 1.125rem 1.25rem;
}
/* ── Panel header ── */
.azul-panel__header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--border);
}
.azul-panel__title {
display: flex;
align-items: center;
gap: 0.375rem;
min-width: 0;
flex: 1;
overflow: hidden;
}
.azul-panel__title-icon {
width: 13px;
height: 13px;
color: var(--text-muted);
}
.azul-panel__title-text {
font-size: 0.8125rem;
font-weight: 600;
color: var(--text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.azul-panel__title-sub {
font-size: 0.75rem;
color: var(--text-muted);
white-space: nowrap;
flex-shrink: 0;
}
.azul-panel__voir-tout {
font-size: 0.6875rem;
color: var(--text-muted);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.2rem;
transition: color var(--duration-fast) var(--ease-default);
}
.azul-panel__voir-tout:hover {
color: var(--text);
}
/* ── KPI grid ── */
.azul-kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 0.5rem;
}
.azul-kpi {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.625rem 0.875rem;
transition: border-color var(--duration-fast) var(--ease-default);
}
.azul-kpi:hover {
border-color: var(--border-strong);
}
.azul-kpi__label {
font-size: 0.6875rem;
color: var(--text-muted);
font-weight: 500;
margin-bottom: 0.25rem;
line-height: 1.3;
}
.azul-kpi__value {
font-size: 1.125rem;
font-weight: 700;
line-height: 1;
color: var(--text);
font-variant-numeric: tabular-nums;
letter-spacing: -0.02em;