:root {
  --primary: #0b1f33;
  --primary-light: #1f3652;
  --accent: #c89b3c;
  --bg-light-custom: #f5f5f8;
  --text: #222222;
  --text-muted-custom: #666666;
  --white: #ffffff;
  --radius: 12px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --bs-body-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--white);
  --bs-primary: var(--primary);
}

body {
  line-height: 1.65;
  background-color: var(--white);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.navbar-brand.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-muted-custom);
  font-size: 0.95rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary);
}

.btn {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-cta {
  box-shadow: 0 10px 20px rgba(11, 31, 51, 0.25);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 12px 26px rgba(11, 31, 51, 0.3);
  transform: translateY(-1px);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 31, 51, 0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  border-radius: 999px;
}

.btn-table-action {
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.hero {
  color: var(--white);
  background: linear-gradient(to bottom right, rgba(11, 31, 51, 0.92), rgba(11, 31, 51, 0.75));
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.section-header p {
  max-width: 600px;
  margin: 0.6rem auto 0;
  color: var(--text-muted-custom);
  font-size: 0.95rem;
}

.card-hero {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: none;
  padding: 2.2rem 2.3rem 2rem;
  background-color: var(--white);
  color: var(--text);
}

.card-dashboard {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: none;
  background-color: var(--white);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.card-dashboard:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-dashboard .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(to right, rgba(11, 31, 51, 0.01), rgba(200, 155, 60, 0.04));
  border-radius: 16px 16px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-dashboard .card-body {
  font-size: 0.92rem;
  padding: 1.45rem 1.6rem 1.5rem;
  line-height: 1.7;
}

.bg-light-custom {
  background-color: var(--bg-light-custom);
}

#dashboard-section {
  background: radial-gradient(circle at top left, rgba(200, 155, 60, 0.14), transparent 55%), radial-gradient(circle at bottom right, rgba(11, 31, 51, 0.12), transparent 50%), var(--bg-light-custom);
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-control,
.form-select {
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.15rem rgba(11, 31, 51, 0.1);
}

textarea.form-control {
  border-radius: var(--radius);
  min-height: 140px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  resize: vertical;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted-custom);
  margin-top: 0.25rem;
}

.required::after {
  content: " *";
  color: #d9534f;
  font-weight: 600;
}

.info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-custom);
  margin-bottom: 0.15rem;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0;
}

.dashboard-topbar {
  background: linear-gradient(135deg, rgba(11, 31, 51, 0.04), rgba(200, 155, 60, 0.06));
  border-radius: 18px;
  padding: 1.4rem 1.75rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(11, 31, 51, 0.08);
}

.dashboard-topbar-title {
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.dashboard-topbar-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted-custom);
  margin-top: 0.15rem;
}

.dashboard-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-nav {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sidebar-nav-item {
  margin-bottom: 0.6rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-muted-custom);
  border: 1px solid transparent;
  background-color: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.badge-notif {
  margin-left: auto;
  min-width: 26px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #0b1f33);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(13, 110, 253, 0.25);
}

.sidebar-nav-link span.icon-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: rgba(11, 31, 51, 0.06);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  color: var(--primary);
}

.sidebar-nav-link:hover span.icon-dot {
  background-color: rgba(200, 155, 60, 0.16);
  color: var(--primary);
}

.sidebar-nav-link.active {
  background-color: #ffffff;
  border-color: rgba(11, 31, 51, 0.14);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.sidebar-nav-link.active span.icon-dot {
  background-color: rgba(200, 155, 60, 0.22);
  color: var(--primary);
}

.sidebar-section-title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-custom);
  margin-bottom: 0.7rem;
}

.dashboard-view.d-none {
  display: none !important;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(11, 31, 51, 0.06);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-hello {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted-custom);
}

.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.doc-status-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.status-afournir {
  background: rgba(200, 155, 60, 0.08);
  color: var(--primary);
}

.status-recu {
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.status-valide {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.status-invalide {
  background: rgba(220, 53, 69, 0.12);
  color: #c82333;
}

.task-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.task-afaire {
  background: rgba(220, 53, 69, 0.08);
  color: #c82333;
}

.task-encours {
  background: rgba(253, 193, 7, 0.18);
  color: #856404;
}

.task-termine {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.task-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.task-item:last-child {
  border-bottom: none;
}

.task-label {
  font-size: 0.9rem;
}

.task-label small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted-custom);
  margin-top: 0.1rem;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(200, 155, 60, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

.plan-chip i {
  font-size: 0.85rem;
}

.message-item {
  padding: 0.9rem 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  background: rgba(255, 255, 255, 0.9);
}

.message-item + .message-item {
  margin-top: 0.45rem;
}

.message-item:last-child {
  border-bottom: none;
}

.message-item:hover {
  background-color: rgba(11, 31, 51, 0.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.message-item:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(11, 31, 51, 0.1), 0 10px 22px rgba(0, 0, 0, 0.05);
}

.message-item.message-item-active {
  background-color: rgba(200, 155, 60, 0.1);
  border-color: rgba(200, 155, 60, 0.28);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

.message-title {
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.message-meta {
  font-size: 0.8rem;
  color: var(--text-muted-custom);
}

.message-unread .message-title {
  font-weight: 650;
}

.message-unread .message-badge {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.message-read .message-badge {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted-custom);
}

.message-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.messages-compose-sticky {
  position: sticky;
  top: 110px;
}

.message-read-content {
  white-space: normal;
}

.message-read-content table {
  margin: 0 !important;
}

.message-read-content td,
.message-read-content th {
  padding: 0 !important;
}

.message-read-content p,
.message-read-content h1,
.message-read-content h2,
.message-read-content h3,
.message-read-content ul,
.message-read-content ol {
  margin: 0 0 0.6rem;
}

.message-read-content li {
  margin-bottom: 0.3rem;
}

.docs-missing-alert {
  background: #fff7e6;
  border: 1px solid rgba(225, 162, 60, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(225, 162, 60, 0.12);
  animation: docs-missing-pop 220ms ease;
}

.docs-missing-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e1a23c;
  color: #0b2540;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(225, 162, 60, 0.35);
}

.docs-missing-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a4b00;
  margin: 0;
}

.docs-missing-subtitle {
  font-size: 0.9rem;
  color: #704600;
}

.docs-missing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.docs-missing-chip {
  background: #f7e3a3;
  color: #7a4b00;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(122, 75, 0, 0.14);
}

.docs-missing-cta {
  box-shadow: 0 10px 24px rgba(11, 37, 64, 0.28);
}

@keyframes docs-missing-pop {
  0% { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.courrier-filters {
  background: rgba(11, 37, 64, 0.03);
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(11, 37, 64, 0.05);
}

.courrier-filter {
  border: 1px solid rgba(11, 37, 64, 0.25);
  background: white;
  color: #0b2540;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.courrier-filter.active {
  background: #0b2540;
  color: #fff;
  border-color: #0b2540;
  box-shadow: 0 8px 20px rgba(11, 37, 64, 0.25);
}

.courrier-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  margin-bottom: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.courrier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.courrier-card .courrier-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.courrier-card .courrier-meta {
  font-size: 0.85rem;
  color: var(--text-muted-custom);
}

.courrier-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 37, 64, 0.08);
  background: rgba(13,110,253,0.08);
  color: #0b2540;
}

.courrier-status-pill.unread {
  background: rgba(225, 162, 60, 0.18);
  color: #7a4b00;
  border-color: rgba(225, 162, 60, 0.35);
}
}

.card-dashboard.card-static:hover {
  transform: none !important;
  box-shadow: var(--shadow-soft) !important;
}

#messagePreviewModal .modal-content {
  border: none;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

#messagePreviewModal .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(to right, rgba(11, 31, 51, 0.01), rgba(200, 155, 60, 0.05));
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

#messagePreviewModal .modal-title {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.modal-message-meta {
  font-size: 0.82rem;
  color: var(--text-muted-custom);
}

.modal-message-subject {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(245, 245, 248, 0.55);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.table-factures th,
.table-factures td {
  font-size: 0.88rem;
  vertical-align: middle;
  padding: 0.75rem 0.9rem;
}

.table-factures tbody tr:hover {
  background-color: rgba(11, 31, 51, 0.02);
}

.badge-facture {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-payee {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.badge-impayee {
  background: rgba(220, 53, 69, 0.12);
  color: #c82333;
}

.year-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.year-pill {
  border: 1px solid rgba(11, 31, 51, 0.18);
  background-color: #fff;
  color: var(--text-muted-custom);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.year-pill:hover {
  border-color: rgba(11, 31, 51, 0.35);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.year-pill.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(11, 31, 51, 0.25);
}

.timeline {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.timeline li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.timeline li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  position: absolute;
  left: 0;
  top: 0.4rem;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.12);
}

.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.footer h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.footer-links a {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.cni-upload-panel {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background-color: var(--bg-light-custom);
  border: 1px solid rgba(11, 31, 51, 0.08);
}

.cni-upload-panel-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-custom);
  margin-bottom: 0.5rem;
}

.cni-dropzones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cni-dropzone {
  flex: 1 1 180px;
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px dashed rgba(11, 31, 51, 0.25);
  padding: 0.75rem 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.cni-dropzone:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  background-color: #ffffff;
}

.cni-dropzone-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.cni-dropzone-icon {
  margin-bottom: 0.25rem;
  font-size: 1.4rem;
  color: var(--primary);
}

.cni-dropzone-text {
  font-size: 0.78rem;
  color: var(--text-muted-custom);
}

.cni-dropzone-filled {
  border-style: solid;
  border-color: #198754;
  background-color: rgba(25, 135, 84, 0.04);
}

.cni-dropzone-filled .cni-dropzone-icon {
  color: #198754;
}

.cni-dropzone-filled .cni-dropzone-text {
  color: #198754;
  font-weight: 500;
}

.cni-preview-card {
  border-radius: var(--radius);
  border: 1px solid rgba(11, 31, 51, 0.08);
  padding: 0.9rem 1rem;
  background-color: #ffffff;
  height: 100%;
}

.cni-preview-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.cni-preview-status {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.cni-preview-status.ok {
  color: #198754;
  font-weight: 600;
}

.cni-preview-status.missing {
  color: #c82333;
  font-weight: 600;
}

.cni-preview-filename {
  font-size: 0.8rem;
  color: var(--text-muted-custom);
  word-break: break-all;
}

.account-table-card .table > :not(caption) > * > * {
  padding: 0.7rem 0.8rem;
}

.year-pill {
  min-width: 72px;
  text-align: center;
}

.section-anchor {
  position: relative;
  top: -100px;
}

@media (max-width: 992px) {
  .hero {
    padding-top: 3rem;
  }

  .dashboard-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .dashboard-topbar {
    padding: 1.2rem 1.2rem;
  }

  .messages-compose-sticky {
    position: static;
    top: auto;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .card-dashboard .card-body {
    padding: 1.3rem 1.25rem 1.35rem;
  }

  .dashboard-topbar {
    padding: 1.1rem 1.1rem;
  }

  .year-filter {
    width: 100%;
  }

  .year-pill {
    flex: 1 1 auto;
    text-align: center;
  }

  .cni-dropzone {
    flex: 1 1 100%;
  }
}

