:root {
  --c-slate-900: #0F172A;
  --c-slate-100: #F1F5F9;
  --c-accent-500: #3B82F6;
  --c-emerald-500: #10B981;
  --c-rose-500: #E11D48;
  --font-display: Sora, Segoe UI, system-ui, sans-serif;
  --font-body: Inter, Source Sans Pro, system-ui, sans-serif;
}

body {
  font-family: "Inter", "Source Sans Pro", system-ui, sans-serif;
  color: #0F172A;
  font-feature-settings: "tnum" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
}

.wrapper,
body.sidebar-mini {
  background-color: #F1F5F9;
}

.content-wrapper {
  background-color: #F1F5F9;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: #0F172A;
}

.content-header h1 {
  font-weight: 700;
  font-size: 1.5rem;
}

.breadcrumb {
  background: transparent;
  font-size: 0.82rem;
}

.breadcrumb-item.active {
  color: #64748B;
}

.breadcrumb-item a {
  color: #2563EB;
}

.montant, .text-tnum {
  font-variant-numeric: tabular-nums;
}

::selection {
  background: rgba(59, 130, 246, 0.25);
}

.main-sidebar {
  position: relative;
  background: radial-gradient(420px 240px at 20% -6%, rgba(59, 130, 246, 0.16), transparent 62%), linear-gradient(180deg, #0F172A 0%, #0B1220 100%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.main-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, rgba(14, 165, 233, 0.55), transparent);
  z-index: 4;
}

.main-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2360A5FA' fill-opacity='0.20'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, transparent 55%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.main-sidebar .brand-link,
.main-sidebar .sidebar {
  position: relative;
  z-index: 1;
}

.sidebar {
  overflow-x: hidden;
}

.nav-sidebar,
.nav-treeview {
  overflow-x: hidden;
}

.brand-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-link .brand-text {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #F8FAFC;
}
.brand-link .brand-text b {
  color: #FFFFFF;
}
.brand-link::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22), 0 0 16px 1px rgba(96, 165, 250, 0.6);
  flex: 0 0 auto;
}

.nav-sidebar .nav-item {
  --menu-accent: #60A5FA;
  --menu-accent-soft: rgba(96, 165, 250, 0.16);
}

.nav-sidebar .nav-item.nav-group--accent {
  --menu-accent: #60A5FA;
  --menu-accent-soft: rgba(96, 165, 250, 0.16);
}

.nav-sidebar .nav-item.nav-group--sales {
  --menu-accent: #34D399;
  --menu-accent-soft: rgba(52, 211, 153, 0.16);
}

.nav-sidebar .nav-item.nav-group--purchase {
  --menu-accent: #FB7185;
  --menu-accent-soft: rgba(251, 113, 133, 0.16);
}

.nav-sidebar .nav-item.nav-group--catalog {
  --menu-accent: #38BDF8;
  --menu-accent-soft: rgba(56, 189, 248, 0.16);
}

.nav-sidebar .nav-item.nav-group--project {
  --menu-accent: #A78BFA;
  --menu-accent-soft: rgba(167, 139, 250, 0.16);
}

.nav-sidebar .nav-item.nav-group--admin {
  --menu-accent: #CBD5E1;
  --menu-accent-soft: rgba(203, 213, 225, 0.16);
}

.nav-sidebar {
  padding: 0 0.5rem;
}

.nav-sidebar .nav-link {
  color: #CBD5E1;
  border-radius: 6px;
  margin: 2px 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #F8FAFC;
}

.nav-sidebar > .nav-item > .nav-link > .nav-icon {
  color: var(--menu-accent);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.nav-sidebar > .nav-item > .nav-link:hover > .nav-icon {
  opacity: 1;
}

.nav-treeview .nav-link .nav-icon {
  color: #64748B;
  transition: color 0.15s ease;
}

.nav-treeview .nav-link:hover .nav-icon {
  color: #CBD5E1;
}

.nav-sidebar .nav-link.active {
  background: var(--menu-accent-soft) !important;
  color: var(--menu-accent) !important;
  box-shadow: none !important;
}
.nav-sidebar .nav-link.active .nav-icon {
  color: var(--menu-accent) !important;
  opacity: 1;
}
.nav-sidebar .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--menu-accent);
}

.nav-treeview {
  background: rgba(11, 18, 32, 0.35);
  border-radius: 6px;
  margin: 2px 0;
  padding: 2px 0;
}
.nav-treeview .nav-link {
  margin: 1px 0;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.nav-sidebar .nav-link .right {
  color: #64748B;
  transition: transform 0.2s ease;
}

.menu-open > .nav-link .right {
  transform: rotate(-90deg);
}

.main-header.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}
.main-header.navbar .nav-link {
  color: #334155;
}
.main-header.navbar .nav-link:hover {
  color: #2563EB;
}

.main-header .navbar-nav .user-menu > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.main-header .navbar-nav .user-menu > .nav-link:hover, .main-header .navbar-nav .user-menu > .nav-link[aria-expanded=true] {
  background: #F1F5F9;
}
.main-header .navbar-nav .user-menu > .nav-link .user-trigger-name {
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}
.main-header .navbar-nav .user-menu > .nav-link::after {
  color: #64748B;
  transition: transform 0.18s ease;
}
.main-header .navbar-nav .user-menu > .nav-link[aria-expanded=true]::after {
  transform: rotate(180deg);
}

.user-avatar,
.user-header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  border-radius: 999px;
  line-height: 1;
}

.user-avatar {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.35);
}

.user-menu .dropdown-menu {
  padding-top: 0;
  min-width: 15rem;
  overflow: hidden;
}
.user-menu .dropdown-menu .user-header {
  height: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.05rem;
  background: linear-gradient(135deg, #0F172A, #1E293B) !important;
  text-align: left;
}
.user-menu .dropdown-menu .user-header-avatar {
  width: 2.9rem;
  height: 2.9rem;
  font-size: 1.15rem;
  flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(11, 18, 32, 0.4);
}
.user-menu .dropdown-menu .user-header-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.user-menu .dropdown-menu .user-header-name {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-menu .dropdown-menu .user-header-email {
  font-size: 0.78rem;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-menu .dropdown-menu .user-header-role {
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.16);
  border-radius: 999px;
}

.dropdown-menu {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.28);
}
.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  color: #334155;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus {
  background: #F1F5F9;
  color: #1D4ED8;
}
.dropdown-menu .dropdown-item:hover i, .dropdown-menu .dropdown-item:focus i {
  color: #2563EB;
}
.dropdown-menu .dropdown-item:active {
  background: #3B82F6;
  color: #FFFFFF;
}
.dropdown-menu .dropdown-item:active i {
  color: #FFFFFF;
}
.dropdown-menu .dropdown-item i {
  width: 1.4rem;
  color: #64748B;
  font-size: 0.95rem;
}
.dropdown-menu .dropdown-divider {
  margin: 0.35rem 0;
}

.card {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}

.card-header {
  border-bottom: 1px solid #E2E8F0;
  background: transparent;
}
.card-header .card-title {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
}

.card-primary:not(.card-outline) > .card-header {
  background: #0F172A;
}

.card-primary.card-outline {
  border-top: 3px solid #3B82F6;
}

.btn {
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.05s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-group > form {
  display: inline-flex;
  margin-left: -1px;
}
.btn-group > form .btn {
  border-radius: 0;
  position: relative;
}
.btn-group > form:first-child .btn {
  margin-left: 0;
}
.btn-group > form:last-child .btn {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.btn-group > form .btn:hover, .btn-group > form .btn:focus, .btn-group > form .btn:active {
  z-index: 1;
}

.btn-primary {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

.btn-outline-primary {
  color: #2563EB;
  border-color: #3B82F6;
}
.btn-outline-primary:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.btn-secondary {
  background: #334155;
  border-color: #334155;
}

.btn-success {
  background: #10B981;
  border-color: #10B981;
}

.btn-danger {
  background: #E11D48;
  border-color: #E11D48;
}

a {
  color: #2563EB;
}

a:hover {
  color: #2563EB;
}

.content-wrapper a:not(.btn):not(.nav-link):not(.page-link):not(.dropdown-item):hover {
  text-decoration: underline;
}

.table thead th {
  font-family: "Inter", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  border-bottom: 1px solid #E2E8F0;
  font-weight: 700;
}

.table td, .table th {
  border-top-color: #F1F5F9;
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: #F8FAFC;
}

.badge {
  font-weight: 600;
  padding: 0.38em 0.6em;
  border-radius: 999px;
}

.badge-success {
  background: #ECFDF5;
  color: #0b815a;
}

.badge-danger {
  background: #FFF1F2;
  color: #E11D48;
}

.badge-warning {
  background: #FEF3C7;
  color: #D97706;
}

.badge-secondary {
  background: #F1F5F9;
  color: #64748B;
}

.form-control, .custom-select {
  border-color: #E2E8F0;
  border-radius: 6px;
  color: #0F172A;
}
.form-control:focus, .custom-select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.input-group-text {
  border-color: #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
}

label {
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
}

.alert {
  border: 0;
  border-radius: 10px;
  border-left: 4px solid;
}

.alert-success {
  background: #ECFDF5;
  border-left-color: #10B981;
  color: #096546;
}

.alert-danger {
  background: #FFF1F2;
  border-left-color: #E11D48;
  color: #bd183c;
}

.alert-warning {
  background: #FEF3C7;
  border-left-color: #F59E0B;
  color: #D97706;
}

.alert-info {
  background: #E0F2FE;
  border-left-color: #0EA5E9;
  color: #086189;
}

.alert a, .alert .alert-link {
  color: inherit;
  text-decoration: underline;
}

.page-item.active .page-link {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

.page-link {
  color: #2563EB;
}

.small-box {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.small-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(11, 18, 32, 0.08);
}
.small-box .inner h3 {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}
.small-box > .icon {
  opacity: 0.22;
  transition: opacity 0.12s ease;
}
.small-box:hover > .icon {
  opacity: 0.3;
}
.small-box .small-box-footer {
  background: rgba(11, 18, 32, 0.12);
  transition: background-color 0.12s ease;
}
.small-box:hover .small-box-footer {
  background: rgba(11, 18, 32, 0.2);
}
.small-box, .small-box .inner h3, .small-box .inner p, .small-box .small-box-footer {
  color: #FFFFFF;
}
.small-box.bg-info {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}
.small-box.bg-success {
  background: linear-gradient(135deg, #10B981 0%, #0a7753 100%);
}
.small-box.bg-warning {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}
.small-box.bg-warning, .small-box.bg-warning .inner h3, .small-box.bg-warning .inner p, .small-box.bg-warning .small-box-footer {
  color: #FFFFFF;
}
.small-box.bg-danger {
  background: linear-gradient(135deg, #E11D48 0%, #ab1637 100%);
}

.info-box {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}
.info-box .progress-description {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}
.info-box .info-box-number {
  white-space: normal;
}

.modal-content {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.28);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  padding: 1rem 1.25rem;
}
.modal-header .modal-title {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0F172A;
  display: flex;
  align-items: center;
}
.modal-header .close {
  color: #64748B;
  opacity: 1;
  text-shadow: none;
  transition: color 0.12s ease;
}
.modal-header .close:hover {
  color: #0F172A;
}

.modal-body {
  padding: 1.5rem 1.25rem;
  color: #334155;
  line-height: 1.55;
}

.modal-footer {
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  padding: 0.85rem 1.25rem;
  gap: 0.5rem;
}
.modal-footer > .btn {
  margin: 0;
}

.modal-backdrop.show {
  opacity: 0.55;
}

#confirmModal .modal-body p {
  margin-bottom: 0;
  font-size: 0.975rem;
}
#confirmModal .modal-content {
  border-top: 3px solid #E11D48;
}
#confirmModal .modal-content.confirm--primary {
  border-top-color: #3B82F6;
}
#confirmModal .modal-content.confirm--success {
  border-top-color: #10B981;
}
#confirmModal .modal-content.confirm--warning {
  border-top-color: #F59E0B;
}
#confirmModal .modal-title i {
  color: #E11D48;
}
#confirmModal .confirm--primary .modal-title i {
  color: #3B82F6;
}
#confirmModal .confirm--success .modal-title i {
  color: #10B981;
}
#confirmModal .confirm--warning .modal-title i {
  color: #F59E0B;
}

.projet-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #A78BFA;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}

.projet-entete-principal {
  flex: 1 1 22rem;
  min-width: 0;
}

.projet-entete-titre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.3;
}

.projet-entete-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
}

.projet-entete-faits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  font-size: 0.8125rem;
  color: #64748B;
}
.projet-entete-faits > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.projet-entete-faits i {
  opacity: 0.7;
}

.projet-entete-description {
  margin: 0.6rem 0 0;
  font-size: 0.8125rem;
  color: #334155;
  white-space: pre-line;
}

.projet-entete-cote {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex: 0 0 auto;
}
@media (max-width: 767.98px) {
  .projet-entete-cote {
    align-items: flex-start;
    width: 100%;
  }
}

.projet-entete-montant {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.1;
  white-space: nowrap;
}

.projet-entete-montant-label {
  display: block;
  font-family: "Inter", "Source Sans Pro", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.projet-onglets.nav-tabs {
  border-bottom: 1px solid #E2E8F0;
  gap: 0.25rem;
}
.projet-onglets.nav-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.65rem 1rem;
  font-weight: 500;
  color: #64748B;
}
.projet-onglets.nav-tabs .nav-link:hover {
  color: #2563EB;
  background: transparent;
  border-bottom-color: #E2E8F0;
}
.projet-onglets.nav-tabs .nav-link.active {
  color: #1D4ED8;
  background: transparent;
  border-bottom-color: #2563EB;
}
.projet-onglets.nav-tabs .nav-link i {
  margin-right: 0.35rem;
  opacity: 0.8;
}
.projet-onglets.nav-tabs .badge {
  font-size: 0.6875rem;
  vertical-align: middle;
}

.echeancier-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.echeancier-chiffres {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.echeancier-chiffre {
  display: flex;
  flex-direction: column;
}

.echeancier-chiffre-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.echeancier-chiffre-valeur {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
}

.echeancier-actions {
  flex: 0 0 auto;
  white-space: nowrap;
}

.echeancier-jauge {
  height: 6px;
  margin-bottom: 1rem;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}
.echeancier-jauge .progress-bar {
  border-radius: 999px;
}

.table-echeancier {
  margin-bottom: 0;
}
.table-echeancier thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
  border-top: none;
  border-bottom: 1px solid #E2E8F0;
  padding: 0.5rem 0.5rem;
  white-space: nowrap;
}
.table-echeancier tbody td {
  padding: 0.6rem 0.5rem;
  vertical-align: middle;
  border-top: 1px solid #F1F5F9;
}
.table-echeancier .col-select {
  width: 2.25rem;
}
.table-echeancier .col-num {
  width: 2.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table-echeancier .col-actions {
  width: 5.5rem;
}
.table-echeancier .echeance-outils {
  opacity: 0;
  transition: opacity 0.12s ease-in-out;
}
.table-echeancier tr:hover .echeance-outils,
.table-echeancier .echeance-outils:focus-within {
  opacity: 1;
}
@media (hover: none) {
  .table-echeancier .echeance-outils {
    opacity: 1;
  }
}

.echeance-libelle {
  font-weight: 500;
  color: #0F172A;
  line-height: 1.35;
}

.echeance-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.75rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #64748B;
}
.echeance-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.echeance-meta i {
  opacity: 0.75;
}

.echeance-montant {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0F172A;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.echeance-facture-lien {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.echeance-annulee {
  color: #64748B;
}
.echeance-annulee .echeance-libelle {
  text-decoration: line-through;
  font-weight: 400;
}
.echeance-annulee .echeance-montant {
  font-weight: 400;
  color: #64748B;
}

.echeancier-barre-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
}
.echeancier-barre-action[hidden] {
  display: none;
}

.echeancier-barre-resume {
  font-size: 0.875rem;
  color: #334155;
  margin-right: auto;
}
.echeancier-barre-resume strong {
  color: #0F172A;
  font-variant-numeric: tabular-nums;
}

.echeancier-vide,
.taches-vide {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748B;
}
.echeancier-vide > i,
.taches-vide > i {
  font-size: 1.75rem;
  color: #CBD5E1;
  margin-bottom: 0.6rem;
}

.echeancier-vide-titre,
.taches-vide-titre {
  margin: 0 0 0.2rem;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  color: #334155;
}

.echeancier-vide-aide,
.taches-vide-aide {
  font-size: 0.8125rem;
  margin-bottom: 0.9rem;
}

.taches-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.taches-avancement {
  flex: 1 1 12rem;
  min-width: 0;
}
.taches-avancement .progress {
  height: 6px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}
.taches-avancement .progress-bar {
  border-radius: 999px;
}

.taches-avancement-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.tache-carte {
  border: 1px solid #E2E8F0;
  border-left: 3px solid #CBD5E1;
  border-radius: 10px;
  background: #FFFFFF;
  margin-bottom: 0.6rem;
}
.tache-carte.est-terminee {
  border-left-color: #34D399;
  background: #F8FAFC;
}
.tache-carte.est-en-cours {
  border-left-color: #60A5FA;
}
.tache-carte.est-en-retard {
  border-left-color: #FB7185;
}

.tache-tete {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
}

.tache-titre {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
}
.est-terminee .tache-titre {
  color: #64748B;
  text-decoration: line-through;
}

.tache-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.75rem;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748B;
}
.tache-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tache-outils {
  flex: 0 0 auto;
  opacity: 0;
  transition: opacity 0.12s ease-in-out;
}
.tache-carte:hover .tache-outils, .tache-outils:focus-within {
  opacity: 1;
}
@media (hover: none) {
  .tache-outils {
    opacity: 1;
  }
}

.tache-corps {
  padding: 0 0.75rem 0.6rem;
}

.tache-description {
  font-size: 0.8125rem;
  color: #334155;
  white-space: pre-line;
  margin-bottom: 0.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
  font-size: 0.875rem;
}
.checklist-item.est-faite > .checklist-libelle {
  color: #64748B;
  text-decoration: line-through;
}

.checklist-libelle {
  flex: 1 1 auto;
  min-width: 0;
  color: #334155;
}

.checklist-bouton {
  border: none;
  background: none;
  padding: 0;
  line-height: 1;
  color: #CBD5E1;
}
.checklist-bouton:hover {
  color: #2563EB;
}
.checklist-bouton.est-faite {
  color: #10B981;
}

.checklist-supprimer {
  opacity: 0;
  transition: opacity 0.12s ease-in-out;
}
.checklist-item:hover .checklist-supprimer, .checklist-supprimer:focus {
  opacity: 1;
}
@media (hover: none) {
  .checklist-supprimer {
    opacity: 1;
  }
}

.checklist-ajout .form-control {
  border-color: transparent;
  background: #F8FAFC;
  font-size: 0.8125rem;
}
.checklist-ajout .form-control:focus {
  border-color: #93C5FD;
  background: #FFFFFF;
}

.preparation-ligne {
  padding: 1rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-left: 3px solid #A78BFA;
  border-radius: 10px;
  background: #F8FAFC;
}
.preparation-ligne + .preparation-ligne {
  margin-top: 1rem;
}
.preparation-ligne .form-control {
  background: #FFFFFF;
}
.preparation-ligne label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.preparation-recap {
  position: sticky;
  top: 1rem;
}

.preparation-recap-liste {
  margin-bottom: 0;
}
.preparation-recap-liste dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748B;
}
.preparation-recap-liste dd {
  margin-bottom: 0.625rem;
  color: #1E293B;
}

.preparation-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
}

.preparation-total-ttc {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid #E2E8F0;
  font-size: 1.0625rem;
  color: #0F172A;
}

body.login-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(1100px 620px at 12% -12%, rgba(59, 130, 246, 0.16), transparent 58%), radial-gradient(820px 520px at 104% 112%, rgba(14, 165, 233, 0.12), transparent 55%), linear-gradient(160deg, #0F172A 0%, #0B1220 100%);
}

body.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2360A5FA' fill-opacity='0.14'/%3E%3C/svg%3E");
  background-size: 36px 36px;
  mask-image: radial-gradient(120% 90% at 50% 40%, transparent 24%, #000 68%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, transparent 24%, #000 68%);
  pointer-events: none;
  z-index: 0;
}

body.login-page::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 62%, rgba(96, 165, 250, 0.1) 63%, transparent 66%), radial-gradient(closest-side, transparent 74%, rgba(14, 165, 233, 0.12) 75%, transparent 78%), radial-gradient(closest-side, transparent 86%, rgba(16, 185, 129, 0.1) 87%, transparent 90%);
  pointer-events: none;
  z-index: 0;
  animation: login-orbit 60s linear infinite;
}

@keyframes login-orbit {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.login-page::after {
    animation: none;
  }
}
.login-page .login-box {
  position: relative;
  z-index: 1;
}

.login-page .login-box {
  width: 380px;
}

.login-page .login-logo {
  margin-bottom: 1.4rem;
}
.login-page .login-logo a {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.9rem;
  color: #F8FAFC;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.login-page .login-logo a::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.22), 0 0 22px 2px rgba(96, 165, 250, 0.55);
}
.login-page .login-logo a b {
  color: #FFFFFF;
}
.login-page .login-logo a:hover {
  color: #FFFFFF;
}

.login-page .card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.28), 0 0 60px -12px rgba(59, 130, 246, 0.35);
  overflow: hidden;
}

.login-page .card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.login-page .login-card-body {
  padding: 1.8rem 1.9rem 1.6rem;
}

.login-page .login-box-msg {
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  color: #0F172A;
  font-weight: 600;
  padding-top: 0;
}

.login-page .input-group {
  margin-bottom: 1rem;
}
.login-page .form-control {
  height: calc(2.25rem + 6px);
  border-color: #E2E8F0;
}
.login-page .form-control:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.login-page .input-group-text {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #64748B;
}
.login-page .btn-primary {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #FFFFFF;
  font-weight: 700;
  height: calc(2.25rem + 6px);
}
.login-page .btn-primary:hover {
  background: #2563EB;
  border-color: #2563EB;
}
.login-page a {
  color: #2563EB;
}
.login-page .icheck-primary > input:first-child:checked + label::before {
  background-color: #3B82F6;
  border-color: #3B82F6;
}

/*# sourceMappingURL=app-7d1043473d.output.css.map */
