.main-content {
  padding: 16px !important;
  transition: margin-left 0.3s ease, background-color 0.5s ease;
  /* Thin scrollbar on every DMS page — Firefox / modern Chromium */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Thin scrollbar on every DMS page — WebKit (Chrome, Edge, Safari) */
.main-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.32);
}

body.dark-theme .main-content {
  background-color: #0f172a;
  scrollbar-color: #586171 transparent;
}

body.dark-theme .main-content::-webkit-scrollbar-thumb {
  background: #586171;
}

body.dark-theme .main-content::-webkit-scrollbar-thumb:hover {
  background: #6b7689;
}

.PageHeader {
  padding: 10px 15px !important;
}


.pc-page-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 12px;
  /* border-bottom: 1px solid #e5e9ef; */
  animation: pcHdIn 280ms var(cubic-bezier(.4, 0, .2, 1)) both;
}

body.dark-theme .pc-page-hd {
  border-color: var(--dark-border);
}

.pc-page-hd-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-hd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: transparent;
  font-family: 'Satoshi-Bold', sans-serif;
  font-size: .78rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms cubic-bezier(.4, 0, .2, 1);
  border: 1.5px solid #008000;
  white-space: nowrap;
}

.pc-hd-btn > svg {
  flex-shrink: 0;
  transition: transform 150ms cubic-bezier(.4, 0, .2, 1);
}

.pc-hd-btn--ghost {
  background: transparent;
  color: #008000
}

.pc-hd-btn--ghost:hover {
  background: #044704;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
}

.pc-hd-btn--ghost:hover > svg {
  transform: translateX(-4px);
}

body.dark-theme .pc-hd-btn--ghost:hover {
    background: #008000;
}

body.dark-theme .pc-hd-btn--ghost {
    background: transparent;
    border-color: #008000;
}


/* =========================================
   1. BUTTON & CONTROL STYLES
   ========================================= */

/* Primary Controls */
.cntrls {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #008000;
  color: #ffffff !important;
  border: 1.2px solid #008000;
  border-radius: 7px;
  height: 2.2rem;
  padding: 0 0.75rem;
  gap: .5rem;
  font-size: .85rem;
  font-family: 'Satoshi-Bold', sans-serif;
  cursor: pointer;
  text-transform: capitalize;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.cntrls:hover {
  scale: 1.05;
  text-decoration: none;
  border-color: #008000 !important;
  background-color: #008000;
}

/* Secondary Controls */
.cntrl {
  display: flex;
  align-items: center;
  background-color: transparent;
  color: #008000;
  border: 1.2px solid #008000;
  border-radius: 7px;
  height: 2.2rem;
  padding: 0 0.75rem;
  font-size: .85rem;
  font-family: 'Satoshi-Bold';
  cursor: pointer;
  text-transform: capitalize;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.cntrl:hover {
  border-radius: 10rem;
  background-color: #008000;
  color: white;
  text-decoration: none;
}

.cntrl svg {
  fill: #008000;
  margin-right: .5rem;
}

.cntrl:hover svg path {
  fill: white !important;
}


/* Button Icons */
.button-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
}


.action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
}

/* ── Action-Semantic Button Variants ── */

/* Delete — red */
.cntrl.delete-button,
.cntrls.delete-button {
  border-color: #dc2626;
  color: #dc2626;
  background-color: transparent;
}

.cntrl.delete-button:hover,
.cntrls.delete-button:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.cntrl.delete-button svg path,
.cntrls.delete-button svg path {
  fill: #dc2626;
}

.cntrl.delete-button:hover svg path,
.cntrls.delete-button:hover svg path {
  fill: #ffffff;
}

/* Edit — green (already default, but explicit for clarity) */
.cntrl.edit-button {
  border-color: #008000;
  color: #008000;
}

.cntrl.edit-button:hover {
  background-color: #008000;
  border-color: #008000;
  color: #ffffff;
}

/* Details/Info — blue */
.cntrl.details-button,
.cntrl.info-button {
  border-color: #2563eb;
  color: #2563eb;
}

.cntrl.details-button:hover,
.cntrl.info-button:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.cntrl.details-button svg path,
.cntrl.info-button svg path {
  fill: #2563eb;
}

.cntrl.details-button:hover svg path,
.cntrl.info-button:hover svg path {
  fill: #ffffff;
}

/* Download — teal */
.cntrl.download-button {
  border-color: #0d9488;
  color: #0d9488;
}

.cntrl.download-button:hover {
  background-color: #0d9488;
  border-color: #0d9488;
  color: #ffffff;
}

.cntrl.download-button svg path,
.cntrl.download-button img {
  fill: #0d9488;
}

.cntrl.download-button:hover svg path {
  fill: #ffffff;
}


body.dark-theme .cntrl.delete-button:hover,
body.dark-theme .cntrls.delete-button:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

/* body.dark-theme .cntrl.delete-button svg path,
body.dark-theme .cntrls.delete-button svg path {
  fill: #f87171;
} */

body.dark-theme .cntrl.delete-button:hover svg path,
body.dark-theme .cntrls.delete-button:hover svg path {
  fill: #ffffff;
}

body.dark-theme .cntrl.details-button,
body.dark-theme .cntrl.info-button {
  border-color: #60a5fa;
  color: #60a5fa;
  background-color: rgba(37, 99, 235, 0.08);
}

body.dark-theme .cntrl.details-button:hover,
body.dark-theme .cntrl.info-button:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

body.dark-theme .cntrl.details-button svg path,
body.dark-theme .cntrl.info-button svg path {
  fill: #60a5fa;
}

body.dark-theme .cntrl.details-button:hover svg path,
body.dark-theme .cntrl.info-button:hover svg path {
  fill: #ffffff;
}

body.dark-theme .cntrl.download-button {
  border-color: #2dd4bf;
  color: #2dd4bf;
  background-color: rgba(13, 148, 136, 0.08);
}

body.dark-theme .cntrl.download-button:hover {
  background-color: #0d9488;
  border-color: #0d9488;
  color: #ffffff;
}

body.dark-theme .cntrl.download-button svg path {
  fill: #2dd4bf;
}

body.dark-theme .cntrl.download-button:hover svg path {
  fill: #ffffff;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: .5rem;
}


/* =========================================
   2. MODAL STYLES
   ========================================= */

/* Modal Layout */
.uk-modal-dialog {
  border-radius: 12px !important;
  width: 450px !important;
}

.uk-modal {
  background-color: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: fadeIn 0.3s;
}

.uk-modal-header {
  padding: 1.5rem !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}

[class*=uk-modal-close-] {
  position: absolute;
  z-index: 1010;
  top: 20px !important;
  right: 20px !important;
  padding: 5px;
}

.modal-title {
  font-size: 1.3rem !important;
  font-family: 'Satoshi-Medium', sans-serif;
  color: #1a1a1a !important;
  margin: 0;
}

.modal-body {
  padding: 0;
  overflow-y: auto;
  height: 60dvh !important;
  display: flow-root;
  padding: 1rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-body p {
  margin-top: 0;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.modal-footer,
.uk-modal-footer {
  display: flex !important;
  justify-content: flex-end;
  gap: 1rem;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  padding: 1.5rem !important;
  border-top: 1px solid #dedede6c;
}

/* Modal Form Elements */
.modal-input,
.modal-select:not([multiple]):not([size]) {
  height: 2.5rem;
  vertical-align: middle;
  display: inline-block;
}

.modal-input,
.modal-select {
  display: block;
  max-width: 100%;
  width: 100%;
  padding: 0 10px;
  background: #fff;
  color: #666;
  border: 1px solid #dedede;
  transition: border-color 0.2s;
  font-family: 'Satoshi-Regular';
  box-sizing: border-box;
  margin: 0 !important;
  font-size: .8rem;
}

.modal-select {
  appearance: none;
  background: white url('./assets/icons/select-icon.svg') no-repeat;
  background-position: right 5px center;
  background-size: 22px;
  padding-right: 30px;
}


.form-group {
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
}

.form-group label.uk-form-label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  font-family: 'Satoshi-Medium', sans-serif;
  opacity: 0.85;
}

.form-group .uk-form-controls {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group .uk-input,
.form-group .uk-select {
  width: 100%;
  min-height: 2.2rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid #dedede;
  padding: 0 10px;
  font-family: 'Satoshi-Regular', sans-serif;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-group .uk-input:focus,
.form-group .uk-select:focus {
  border: 1px solid #008000;
  outline: none;
}

.form-group .uk-form-help-text {
  color: #008000;
  font-size: 0.75rem;
  margin-top: 0.15rem;
  font-family: 'Satoshi-Regular', sans-serif;
  opacity: 0.85;
}


/* Form Controls */
.uk-input,
.uk-select,
.uk-textarea {
  color: #1a1a1a;
  font-family: 'Satoshi-Regular';
  font-size: .8rem !important;
  border-radius: 6px !important;
}

.uk-select {
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem;
  border-radius: 6px;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus,
.modal-input:focus,
.modal-select:focus {
  border: 1px solid #008000 !important;
  outline: none;
}

label {
  display: block;
  margin-bottom: .5rem;
  font-size: .8rem;
  color: #1a1a1a;
  opacity: .8;
  font-family: 'Satoshi-Medium';
}

.uk-form-label {
  font-size: .8rem !important;
  text-transform: capitalize !important;
}

/* .uk-dropdown {
  padding: 15px !important;
} */

.uk-margin {
  margin: 0.5rem 0 0.5rem 0 !important;
}

.uk-dropdown-nav>li>a {
  color: #999;
  font-size: .8rem;
}

.uk-drop {
  display: none;
  position: absolute;
  z-index: 1020;
  box-sizing: border-box;
  width: 100px !important;
}

/* Modal Media Queries */
@media (min-width: 640px) {
  .uk-modal {
    padding: 30px 30px !important;
  }
}


.uk-modal-close-default {
  width: 30px;
  height: 30px;
  margin-top: 1.5rem;
  margin-right: 1.5rem;
  padding: 0;
  border-radius: 10px !important;
  background-color: #dc2626 !important;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: white;
  cursor: pointer;
}

.uk-modal-close-default:hover {
  background-color: #b91c1c;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.uk-modal-close-default:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.uk-modal-close-default svg {
  width: 14px;
  height: 14px;
}

.uk-modal-close-default svg line {
  stroke: #ffffff !important;
  stroke-width: 2;
}




/* =========================================
   3. KPI & CARD STYLES
   ========================================= */





/* =============================================
       PROFILE DASHBOARD KPI CARDS
       Refined Data-Forward Design
       ============================================= */

.profile-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  zoom: 0.9;
  padding: 0.675rem 0 0.9rem;
}

.profile-kpi-card {
  position: relative;
  background: #ffffff;
  border-radius: 9px;
  padding: 0.9rem 1.125rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.profile-kpi-card:hover {
  transform: translateY(-2.7px);
  box-shadow: 0 7.2px 21.6px rgba(0, 0, 0, 0.08), 0 1.8px 7.2px rgba(0, 0, 0, 0.04);
}

/* Color Variants */
.profile-kpi-card--total .profile-kpi-card__icon {
  background: rgba(0, 128, 0, 0.12);
}

.profile-kpi-card--total .profile-kpi-card__icon svg {
  fill: #008000;
  color: #008000;
}

.profile-kpi-card--total .profile-kpi-card__count {
  color: #008000;
}

.profile-kpi-card--active .profile-kpi-card__icon {
  background: rgba(13, 124, 95, 0.14);
}

.profile-kpi-card--active .profile-kpi-card__icon svg {
  fill: #0d7c5f;
  color: #0d7c5f;
}

.profile-kpi-card--active .profile-kpi-card__count {
  color: #0d7c5f;
}

.profile-kpi-card--rejected .profile-kpi-card__icon {
  background: rgba(192, 57, 43, 0.12);
}

.profile-kpi-card--rejected .profile-kpi-card__icon svg {
  fill: #c0392b;
  color: #c0392b;
}

.profile-kpi-card--rejected .profile-kpi-card__count {
  color: #c0392b;
}

.profile-kpi-card--pending .profile-kpi-card__icon {
  background: rgba(194, 124, 14, 0.13);
}

.profile-kpi-card--pending .profile-kpi-card__icon svg {
  fill: #c27c0e;
  color: #c27c0e;
}

.profile-kpi-card--pending .profile-kpi-card__count {
  color: #c27c0e;
}

/* Card Inner Layout */
.profile-kpi-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.profile-kpi-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.profile-kpi-card:hover .profile-kpi-card__icon {
  transform: scale(1.08);
}

.profile-kpi-card__icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.profile-kpi-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: 'Satoshi-Medium', sans-serif;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.profile-kpi-card--total .profile-kpi-card__badge {
  background: rgba(0, 128, 0, 0.08);
  color: #008000;
}

.profile-kpi-card--active .profile-kpi-card__badge {
  background: rgba(13, 124, 95, 0.08);
  color: #0d7c5f;
}

.profile-kpi-card--rejected .profile-kpi-card__badge {
  background: rgba(192, 57, 43, 0.07);
  color: #c0392b;
}

.profile-kpi-card--pending .profile-kpi-card__badge {
  background: rgba(194, 124, 14, 0.08);
  color: #c27c0e;
}



/* Diagrams — Blue */
.profile-kpi-card--diagrams .profile-kpi-card__icon {
  background: rgba(37, 99, 235, 0.10);
}

.profile-kpi-card--diagrams .profile-kpi-card__icon svg {
  fill: #2563eb;
  color: #2563eb;
}

.profile-kpi-card--diagrams .profile-kpi-card__count {
  color: #2563eb;
}

/* Plans — Purple */
.profile-kpi-card--plans .profile-kpi-card__icon {
  background: rgba(124, 58, 237, 0.10);
}

.profile-kpi-card--plans .profile-kpi-card__icon svg {
  fill: #7c3aed;
  color: #7c3aed;
}

.profile-kpi-card--plans .profile-kpi-card__count {
  color: #7c3aed;
}

/* Maps — Orange */
.profile-kpi-card--maps .profile-kpi-card__icon {
  background: rgba(234, 88, 12, 0.10);
}

.profile-kpi-card--maps .profile-kpi-card__icon svg {
  fill: #ea580c;
  color: #ea580c;
}

.profile-kpi-card--maps .profile-kpi-card__count {
  color: #ea580c;
}

.profile-kpi-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.profile-kpi-card__count {
  font-size: 1.8rem;
  font-family: 'Satoshi-Black', 'Satoshi-Bold', sans-serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.03em;
}

.profile-kpi-card__label {
  font-size: 0.8rem;
  color: #64748b;
  font-family: 'Satoshi-Medium', sans-serif;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Staggered entrance animation */
.profile-kpi-card {
  opacity: 0;
  transform: translateY(12px);
  animation: kpiCardReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.profile-kpi-card:nth-child(1) {
  animation-delay: 0.05s;
}

.profile-kpi-card:nth-child(2) {
  animation-delay: 0.12s;
}

.profile-kpi-card:nth-child(3) {
  animation-delay: 0.19s;
}

.profile-kpi-card:nth-child(4) {
  animation-delay: 0.26s;
}

@keyframes kpiCardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.profile-kpi-card--diagrams .profile-kpi-card__badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.profile-kpi-card--plans .profile-kpi-card__badge {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.profile-kpi-card--maps .profile-kpi-card__badge {
  background: rgba(234, 88, 12, 0.08);
  color: #ea580c;
}

/* Responsive */
@media (max-width: 1024px) {
  .profile-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .profile-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .profile-kpi-card {
    padding: 0.9rem 1rem 0.8rem;
  }

  .profile-kpi-card__count {
    font-size: 1.45rem;
  }

  .profile-kpi-card__label {
    font-size: 0.72rem;
  }

  .profile-kpi-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .profile-kpi-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .profile-kpi-card__badge {
    display: none;
  }
}

@media screen and (min-width: 1920px) {
  .profile-kpi-grid {
    gap: 1.5rem;
    /* max-width: 1800px; */
  }

  .profile-kpi-card {
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .profile-kpi-card__count {
    font-size: 2.2rem;
  }

  .profile-kpi-card__label {
    font-size: 0.9rem;
  }

  .profile-kpi-card__icon {
    width: 48px;
    height: 48px;
  }

  .profile-kpi-card__icon svg {
    width: 26px;
    height: 26px;
  }
}

/* Dark mode support */
.dark-theme .profile-kpi-card {
  background: #1e2a45;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark-theme .profile-kpi-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .profile-kpi-card__label {
  color: #94a3b8;
}

.dark-theme .profile-kpi-card--total .profile-kpi-card__icon {
  background: rgba(74, 222, 128, 0.12);
}

.dark-theme .profile-kpi-card--total .profile-kpi-card__icon svg {
  fill: #4ade80;
  color: #4ade80;
}

.dark-theme .profile-kpi-card--total .profile-kpi-card__count {
  color: #4ade80;
}

.dark-theme .profile-kpi-card--total .profile-kpi-card__badge {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}

.dark-theme .profile-kpi-card--active .profile-kpi-card__icon {
  background: rgba(52, 211, 153, 0.12);
}

.dark-theme .profile-kpi-card--active .profile-kpi-card__icon svg {
  fill: #34d399;
  color: #34d399;
}

.dark-theme .profile-kpi-card--active .profile-kpi-card__count {
  color: #34d399;
}

.dark-theme .profile-kpi-card--active .profile-kpi-card__badge {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.dark-theme .profile-kpi-card--rejected .profile-kpi-card__icon {
  background: rgba(248, 113, 113, 0.12);
}

.dark-theme .profile-kpi-card--rejected .profile-kpi-card__icon svg {
  fill: #f87171;
  color: #f87171;
}

.dark-theme .profile-kpi-card--rejected .profile-kpi-card__count {
  color: #f87171;
}

.dark-theme .profile-kpi-card--rejected .profile-kpi-card__badge {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.dark-theme .profile-kpi-card--pending .profile-kpi-card__icon {
  background: rgba(251, 191, 36, 0.12);
}

.dark-theme .profile-kpi-card--pending .profile-kpi-card__icon svg {
  fill: #fbbf24;
  color: #fbbf24;
}

.dark-theme .profile-kpi-card--pending .profile-kpi-card__count {
  color: #fbbf24;
}

.dark-theme .profile-kpi-card--pending .profile-kpi-card__badge {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}




/* Diagrams — Blue (dark) */
.dark-theme .profile-kpi-card--diagrams .profile-kpi-card__icon {
  background: rgba(96, 165, 250, 0.12);
}

.dark-theme .profile-kpi-card--diagrams .profile-kpi-card__icon svg {
  fill: #60a5fa;
  color: #60a5fa;
}

.dark-theme .profile-kpi-card--diagrams .profile-kpi-card__count {
  color: #60a5fa;
}

.dark-theme .profile-kpi-card--diagrams .profile-kpi-card__badge {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
}

/* Plans — Purple (dark) */
.dark-theme .profile-kpi-card--plans .profile-kpi-card__icon {
  background: rgba(167, 139, 250, 0.12);
}

.dark-theme .profile-kpi-card--plans .profile-kpi-card__icon svg {
  fill: #a78bfa;
  color: #a78bfa;
}

.dark-theme .profile-kpi-card--plans .profile-kpi-card__count {
  color: #a78bfa;
}

.dark-theme .profile-kpi-card--plans .profile-kpi-card__badge {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
}

/* Maps — Orange (dark) */
.dark-theme .profile-kpi-card--maps .profile-kpi-card__icon {
  background: rgba(251, 146, 60, 0.12);
}

.dark-theme .profile-kpi-card--maps .profile-kpi-card__icon svg {
  fill: #fb923c;
  color: #fb923c;
}

.dark-theme .profile-kpi-card--maps .profile-kpi-card__count {
  color: #fb923c;
}

.dark-theme .profile-kpi-card--maps .profile-kpi-card__badge {
  background: rgba(251, 146, 60, 0.1);
  color: #fb923c;
}








/* .card-container {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
  margin: 16px 0;
  justify-content: space-between;
}


.card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 0.5rem;
  width: 25%;
  height: fit-content;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 2px 4px rgba(51, 63, 79, 0.02), 0 1px 2px rgba(51, 63, 79, 0.03);
}

.card:hover {
  box-shadow: 0 4px 12px rgba(51, 63, 79, 0.08),
    0 2px 4px rgba(51, 63, 79, 0.04);
  border-color: rgba(51, 63, 79, 0.1);
}


.icon,
.kpicon,
.sicon,
.sricon {
  width: 30px;
  height: 30px;
  background-color: rgba(0, 128, 0, 0.17);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.icon img {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}

.icon svg {
  width: 22.5px;
  height: 22.5px;
  flex-shrink: 0;
}

.sicon svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.icon svg {
  width: 22.5px;
  width: 22.5px;
  flex-shrink: 0;
}


.sricon img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.kpicon img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sicon img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}




.card:hover .kpicon svg {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.kpicon svg {
  transition: transform 0.3s ease;
}


.card:hover .icon img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.icon img {
  transition: transform 0.3s ease;
}

.card:hover .kpicon img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.kpicon img {
  transition: transform 0.3s ease;
}

.card:hover .sricon svg {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.sricon svg {
  transition: transform 0.3s ease;
}

.card:hover .icon svg {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.icon svg {
  transition: transform 0.3s ease;
}

.card:hover .sricon img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.sricon img {
  transition: transform 0.3s ease;
}


.card-title {
  display: flex;
  font-size: 1.25rem;
  font-family: 'Satoshi-Bold';
  color: #008000;
  padding: 8px 0px 0px 8px;
  margin: 0;
}

.card-text {
  font-size: .8rem;
  color: #1a1a1acc;
  margin: 0;
  margin-bottom: 0;
  font-family: 'Satoshi-Medium';
}

.kpInfo {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 5px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1.5rem;
}

.profile-count {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 5px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1.5rem;
}

@media screen and (min-width: 1920px) {

  .card-container {
    gap: 1.25rem;
  }

  .card {
    padding: 10px 15px;
    width: 23%;
  }

  .icon,
  .kpicon,
  .sicon,
  .sricon {
    width: 40px;
    height: 40px;
  }

  .card-title {
    font-size: 1.5rem;
    padding: 15px 0px 0px 15px;
  }

  .card-text {
    font-size: 1rem;
  }

  .kpInfo {
    gap: 2rem;
    padding: 0 10px;
  }
}

@media screen and (min-width: 1920px) {
  .icon svg {
    width: 26px;
    height: 26px;
  }


  .sicon svg {
    width: 30px;
    height: 30px;
  }

  .icon img {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
  }

  .sricon img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
  }

  .kpicon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
  }

  .sicon img {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
  }
} */




/* =========================================
   4. TABLE STYLES
   ========================================= */


/* .table-container {
  border-radius: 0.5rem;
  background-color: #f9f9f9;
  margin-top: 2rem;
}

.px-4 {
  margin: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: auto;
}


.table-container .table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.table-container .table-header .table-filter {
  display: flex;
  flex-direction: row;
  gap: .5rem;
}


.table th,
.table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

.table td {
  color: #1a1a1a;
  font-size: 12px;
  min-width: 90px;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table th {
  font-size: 13px;
  color: #394F68;
  background-color: #f2f2f2;
}

.table th .sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: .25rem;
  width: fit-content;
  padding: 0.25rem 0.5rem;
}

.table th .sortable:hover {
  background-color: #20202009;
  border-radius: 4px;
}

.table th .sort-icon {
  opacity: 0;
  margin-left: 5px;
  font-size: 10px;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.table th .sortable:hover .sort-icon {
  opacity: 1;
}


.table tbody tr:hover,
.recent-files-container tbody tr:hover {
  background-color: #f1f1f1;
}


.src {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: satoshi-medium;
}

.src svg {
  margin-right: 0.5rem;
}

.recent-file a svg+span {
  font-size: 12px !important;
  color: #008000 !important;
  font-family: 'satoshi-medium', sans-serif;
  transition: all 0.3s ease;
  padding: 0 2px;
}

@media screen and (min-width: 1920px) {
  .table-container .table-header {
    padding: 1.5rem 2rem;
  }

  .table-container .table-header .table-filter {
    gap: 1rem;
  }

  .recent-file svg {
    height: 24px;
    width: 24px;
  }

  .recent-file a svg+span {
    font-size: 14px !important;
  }

  .table th,
  .table td {
    padding: 1rem 1rem;
  }

  .table td {
    font-size: 15px;
    min-width: 100px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .table th {
    font-size: 16px;
  }

  .table th .sortable {
    gap: .5rem;
    padding: 0.5rem 0.75rem;
  }

  .table th .sort-icon {
    margin-left: 8px;
    font-size: 12px;
  }
} */


/* =========================================
   5. USER ACTIONS & LINKS
   ========================================= */

.user-link {
  color: #008000;
  text-decoration: none;
}

.user-link:hover {
  text-decoration: none;
  color: #008000;
}

.src {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Satoshi-Medium', sans-serif;
}

.src svg {
  margin-right: 0.5rem;
}

.recent-file a svg+span {
  font-size: 12px !important;
  color: #008000 !important;
  font-family: 'satoshi-medium', sans-serif;
  transition: all 0.3s ease;
  padding: 0 2px;
}


.actions {
  display: flex;
  align-items: center;
  position: relative;
}


.vertical-line {
  width: 1px;
  background-color: #ccc;
  height: 15px;
  margin: 0 10px;
}

.menu-icon svg {
  width: 14px;
  height: 14px;
}

.details-button svg {
  width: 16px;
  height: 16px;
}

.download-record-button img,
.download-button img,
.details-button img {
  width: 14px;
  height: 14px;
}

@media screen and (min-width: 1920px) {

  .menu-icon svg {
    width: 16px;
    height: 16px;
  }

  .details-button svg {
    width: 18px;
    height: 18px;
  }


  .delete-button svg,
  .viewInfo-button svg {
    width: 18px;
    height: 18px;
  }

  .edit-button svg {
    width: 16px;
    height: 16px;
  }

  .download-record-button img,
  .download-button img,
  .details-button img {
    width: 16px;
    height: 16px;
  }
}

.delete-icon,
.editprofile-icon {
  width: 15px;
  height: 18px;
}

@media screen and (min-width: 1920px) {
  .vertical-line {
    height: 20px;
    margin: 0 15px;
  }

  .delete-icon,
  .editprofile-icon {
    width: 18px;
    height: 22px;
  }
}

/* =========================================
  5.5. UK TITLE TOOLTIP
  ========================================= */

[uk-title] {
  position: relative;
  cursor: pointer;
}

[uk-title]:after {
  content: attr(uk-title);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2.5px 5px;
  background-color: rgba(56, 56, 56, 0.8);
  color: #fff;
  font-size: 0.65rem;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  width: max-content;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1500;
  pointer-events: none;
  font-family: 'Satoshi-Regular', sans-serif;
}

[uk-title]:hover:after {
  visibility: visible;
  opacity: 1;
}


.table [uk-title]:after {
  top: -15px;
}

@media screen and (min-width: 1920px) {
  [uk-title]:after {
    padding: 3px 6px;
    font-size: 0.8rem;
    top: -40px;
  }

  .table [uk-title]:after {
    top: -18px;
  }
}

/* =========================================
 6. DROPDOWN MENU
 ========================================= */

.menu-container {
  position: relative;
}

.dropdown-container {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: -110px;
  background-color: #ffffff;
  border: 1px solid #efeeee;
  border-radius: 5px;
  z-index: 1000;
  min-width: 130px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-container a {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .5rem 1rem;
  font-family: 'Satoshi-Medium', sans-serif;
}

.dropdown-container a:hover {
  text-decoration: none;
  background-color: #f7f7f7;
}

.delete-text {
  color: #666;
  margin-left: .5rem;
  font-size: .85rem;
}

.delete-text:hover {
  text-decoration: none !important;
  color: #1a1a1acc;
}



@media screen and (min-width: 1920px) {
  .dropdown-container {
    left: -130px;
    min-width: 155px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .dropdown-container a {
    padding: .75rem 1.5rem;
    gap: .4rem;
  }

  .delete-text {
    font-size: 1rem;
    margin-left: .75rem;
  }
}


/* =========================================
 8. FORM CONTROLS
 ========================================= */

.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 90%;
  padding: 6px;
  border: 1px solid #ccccccb0;
  border-radius: 5px;
  font-size: 12px;
  font-family: 'satoshi-regular';
  color: #333;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

/* Form Control Scrollbar */
.form-control::-webkit-scrollbar {
  width: 6px;
}

.form-control::-webkit-scrollbar-track {
  background: transparent;
}

.form-control::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.form-control::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ── UIkit notification — global professional toast ── */
.uk-notification { top: 20px !important; right: 20px !important; }
.uk-notification-message {
    position: relative;
    padding: 14px 44px 14px 18px;
    border-radius: 10px;
    font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
    min-width: 260px; max-width: 380px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.07);
    border: none !important; border-left: 4px solid !important;
    line-height: 1.5; cursor: default;
}
.uk-notification-message .uk-notification-close {
    position: absolute; top: 12px; right: 12px; opacity: 0.45;
}
.uk-notification-message .uk-notification-close:hover { opacity: 1; }
.app-toast { display: flex; align-items: flex-start; gap: 10px; }
.app-toast__icon {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff; line-height: 1;
    margin-top: 1px;
}
.uk-notification-message-success  { background: #f0fdf4; color: #166534; border-left-color: #16a34a !important; }
.uk-notification-message-success  .app-toast__icon { background: #16a34a; }
.uk-notification-message-warning  { background: #fffbeb; color: #92400e; border-left-color: #d97706 !important; }
.uk-notification-message-warning  .app-toast__icon { background: #d97706; }
.uk-notification-message-danger   { background: #fff1f2; color: #9f1239; border-left-color: #e11d48 !important; }
.uk-notification-message-danger   .app-toast__icon { background: #e11d48; }
.uk-notification-message-primary  { background: #eff6ff; color: #1e40af; border-left-color: #3b82f6 !important; }
.uk-notification-message-primary  .app-toast__icon { background: #3b82f6; }
body.dark-theme .uk-notification-message { box-shadow: 0 8px 28px rgba(0,0,0,.40); }
body.dark-theme .uk-notification-message-success  { background: rgba(22,163,74,.16);  color: #86efac; }
body.dark-theme .uk-notification-message-warning  { background: rgba(217,119,6,.16);  color: #fcd34d; }
body.dark-theme .uk-notification-message-danger   { background: rgba(225,29,72,.16);  color: #fda4af; }
body.dark-theme .uk-notification-message-primary  { background: rgba(59,130,246,.16); color: #93c5fd; }
