.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:2rem}.error-content{max-width:500px;text-align:center;background:#fff;border-radius:12px;padding:2.5rem;box-shadow:0 4px 24px #00000014}.error-icon{font-size:3rem;margin-bottom:1rem}.error-content h1{color:#1e293b;font-size:1.5rem;font-weight:600;margin:0 0 .75rem}.error-content p{color:#64748b;font-size:.9375rem;line-height:1.6;margin:0 0 1.5rem}.error-details{margin-bottom:1.5rem;text-align:left}.error-details summary{cursor:pointer;color:#64748b;font-size:.875rem;margin-bottom:.5rem}.error-details pre{background:#f1f5f9;border-radius:6px;padding:1rem;font-size:.8125rem;color:#dc2626;overflow-x:auto;margin:0}.error-actions{display:flex;gap:.75rem;justify-content:center}.error-actions .btn-primary{background:#2563eb;color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.error-actions .btn-primary:hover{background:#1d4ed8}.error-actions .btn-secondary{background:#f1f5f9;color:#475569;border:none;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.error-actions .btn-secondary:hover{background:#e2e8f0}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,sans-serif;background:#f8f9fa;color:#1a1a1a}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.login-card{background:#fff;border-radius:16px;padding:3rem;box-shadow:0 20px 60px #0000004d;max-width:440px;width:100%}.login-card h1{font-size:2rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem;text-align:center}.login-subtitle{color:#64748b;text-align:center;margin-bottom:2rem;font-size:.875rem}.login-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column}.form-group label{font-size:.875rem;font-weight:500;color:#475569;margin-bottom:.5rem}.form-group input{padding:.75rem 1rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background-color:#f1f5f9;cursor:not-allowed}.error-message{background-color:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.75rem 1rem;border-radius:8px;font-size:.875rem}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.875rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:.5rem}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading{display:flex;justify-content:center;align-items:center;min-height:400px;font-size:1.125rem;color:#64748b}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:Inter, system-ui, "Segoe UI", Roboto, Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-500:oklch(55.1% .027 264.364);--spacing:.25rem;--font-weight-semibold:600;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:#f1f5f9;--color-background-dark:#0f172a;--color-card:#fff;--color-card-border:#e2e8f0;--color-foreground:#0f172a;--color-foreground-soft:#64748b;--color-border:#cbd5e1;--color-primary:#2563eb}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-screen{height:100vh}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.border{border-style:var(--tw-border-style);border-width:1px}.p-8{padding:calc(var(--spacing) * 8)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-gray-500{color:var(--color-gray-500)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}*{box-sizing:border-box;margin:0;padding:0}.dark{--color-background:var(--color-background-dark);--color-card:#1e293b;--color-foreground:#e5e7eb;--color-foreground-soft:#cbd5e1;--color-border:#374151;--color-border-hover:#4b5563}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--color-background);color:var(--color-foreground);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.dark body{background-color:var(--color-background-dark);color:#e5e7eb}.dark .sidebar{background:#111827}.dark .navigation{color:#e5e7eb;background:#0f172a}.dark .nav-brand a,.dark .nav-links a,.dark .nav-user-dropdown .user-dropdown-trigger{color:#e5e7eb}.dark .nav-links a:hover{background:#ffffff26}.dark .user-dropdown-menu{color:#e5e7eb;background:#1e293b}.dark .sidebar-link{color:#ffffffd9}.dark .sidebar-link.active{background:linear-gradient(90deg,#2563eb,#1d4ed8)}.dark .app,.dark img,.dark video{filter:invert(.9)hue-rotate(180deg)}.dark .admin-container,.dark .operateur-management,.dark .add-operateur-section,.dark .operateurs-list-section,.dark .api-key-card,.dark .appearance-config{color:#e5e7eb;background:#1e293b}.dark .users-table th,.dark .users-table td,.dark .operateurs-table th,.dark .operateurs-table td{border-color:#374151}.dark .admin-tab.active{color:#fff;background:#2563eb}.app{min-height:100vh}.loading{justify-content:center;align-items:center;height:100vh;font-size:18px;display:flex}.login-container{background:linear-gradient(135deg,#667eea,#764ba2);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:8px;width:100%;max-width:400px;padding:2rem;box-shadow:0 4px 6px #0000001a}.login-card h1{text-align:center;color:#333;margin-bottom:.5rem;font-size:2rem;font-weight:700}.login-subtitle{text-align:center;color:#666;margin-bottom:2rem}.login-form{flex-direction:column;display:flex}.form-group{margin-bottom:1rem}.form-group label{color:#333;margin-bottom:.5rem;font-weight:500;display:block}.form-group input,.form-group select{border:1px solid #ddd;border-radius:4px;width:100%;padding:.75rem;font-size:1rem}.form-group input:focus,.form-group select:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 2px #667eea1a}.login-button{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:4px;margin-top:1rem;padding:.75rem;font-size:1rem}.login-button:hover{background:#5a6fd8}.login-button:disabled{cursor:not-allowed;background:#ccc}.error-message{color:#c33;background:#fee;border:1px solid #fcc;border-radius:4px;margin-bottom:1rem;padding:.75rem}.navigation{color:#fff;background:#1e293b;justify-content:space-between;align-items:center;min-height:56px;padding:.75rem 1.5rem;display:flex}.nav-brand a{color:#fff;font-size:1.5rem;font-weight:700;text-decoration:none}.nav-links{align-items:center;gap:2rem;display:flex}.nav-links a{color:#fff;border-radius:4px;padding:.5rem 1rem;text-decoration:none;transition:background-color .2s}.nav-links a:hover{background:#ffffff1a}.nav-links.hidden{display:none}.nav-user-dropdown{position:relative}.user-dropdown-trigger{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:background .2s,border-color .2s;display:flex}.user-dropdown-trigger:hover{background:#ffffff1a;border-color:#ffffff80}.user-name{white-space:nowrap}.dropdown-arrow{opacity:.7;font-size:.625rem}.user-dropdown-menu{z-index:1000;background:#fff;border-radius:8px;min-width:200px;position:absolute;top:calc(100% + .5rem);right:0;overflow:hidden;box-shadow:0 4px 20px #00000026}.dropdown-header{background:#f8f9fa;border-bottom:1px solid #eee;padding:1rem}.dropdown-user-name{color:#333;margin-bottom:.25rem;font-weight:600}.dropdown-user-role{color:#666;font-size:.75rem}.dropdown-divider{background:#eee;height:1px}.dropdown-item{text-align:left;color:#333;cursor:pointer;background:0 0;border:none;width:100%;padding:.75rem 1rem;font-size:.875rem;transition:background .2s;display:block}.dropdown-item:hover{background:#f8f9fa}.dropdown-item.danger{color:#dc3545}.dropdown-item.danger:hover{background:#fef2f2}.dashboard{min-height:100vh}.dashboard-content{max-width:1200px;margin:0 auto;padding:2rem}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{margin-bottom:1rem}.user-info{color:#666}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;display:grid}.dashboard-card{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 4px #0000001a}.dashboard-card h2{color:#333;margin-bottom:1rem}.dashboard-card p{color:#666;margin-bottom:1.5rem}.card-button{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem;text-decoration:none;display:inline-block}.card-button:hover{background:#5a6fd8}.card-button:disabled{cursor:not-allowed;background:#ccc}.operations{min-height:100vh}.operations-content{max-width:1200px;margin:0 auto;padding:2rem}.operations-header{justify-content:space-between;align-items:center;margin-bottom:2rem;display:flex}.add-button{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem}.add-button:hover{background:#218838}.operation-form-container{background:#fff;border-radius:8px;margin-bottom:2rem;padding:2rem;box-shadow:0 2px 4px #0000001a}.operation-form h2{margin-bottom:1.5rem}.form-actions{gap:1rem;margin-top:1.5rem;display:flex}.submit-button{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem}.submit-button:hover{background:#218838}.cancel-button{color:#fff;cursor:pointer;background:#6c757d;border:none;border-radius:4px;padding:.75rem 1.5rem;font-size:1rem}.cancel-button:hover{background:#5a6268}.operations-list{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.operations-table{border-collapse:collapse;width:100%}.operations-table th,.operations-table td{text-align:left;border-bottom:1px solid #eee;padding:1rem}.operations-table th{background:#f8f9fa;font-weight:600}.status-badge{border-radius:12px;padding:.25rem .75rem;font-size:.875rem;font-weight:500}.status-planning{color:#856404;background:#fff3cd}.status-active{color:#0c5460;background:#d1ecf1}.status-closed{color:#155724;background:#d4edda}@media(max-width:768px){.navigation{flex-direction:column;gap:1rem;padding:1rem}.nav-links{gap:1rem}.dashboard-content,.operations-content{padding:1rem}.operations-header{flex-direction:column;align-items:flex-start;gap:1rem}.form-actions{flex-direction:column}.operations-table{font-size:.875rem}.operations-table th,.operations-table td{padding:.5rem}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
