@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
.dashboard-container {
  background: #f1fbf5;
  min-height: 100vh;
  padding: 2rem 0;
}

.dashboard-card {
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(18, 32, 35, 0.08);
  border: 1px solid rgba(44, 70, 78, 0.1);
  overflow: hidden;
  background: white;
}
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(18, 32, 35, 0.15);
  border-color: rgba(46, 204, 64, 0.2);
}
.dashboard-card:hover .card-body::before {
  opacity: 1;
}
.dashboard-card .card-body {
  position: relative;
}
.dashboard-card .card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-header {
  border-radius: 0;
  background: linear-gradient(135deg, #122023 0%, #2c464e 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 1rem 1.5rem;
  border-bottom: 3px solid #2ecc40;
}
.dashboard-header .opacity-75 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.dashboard-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #122023;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  padding-left: 1rem;
}
.dashboard-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  border-radius: 2px;
}
.dashboard-section-title i {
  color: #2ecc40;
  font-size: 1.2rem;
}

.main-title {
  background: linear-gradient(135deg, #122023 0%, #2c464e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 2.5rem;
  position: relative;
}
.main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  border-radius: 10px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #122023;
}

.stat-label {
  font-size: 0.85rem;
  color: #2c464e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.balance-positive {
  color: #2ecc40 !important;
}

.balance-negative {
  color: #e74c3c !important;
}

.quick-action-btn {
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(46, 204, 64, 0.2);
}
.quick-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 64, 0.3);
  color: white;
  background: linear-gradient(135deg, #25a032 0%, #2ecc40 100%);
}

.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  color: #122023;
}
.metric-icon.icon-success {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #27ae60 0%, #2ecc40 100%);
  color: white;
}
.metric-icon.icon-warning {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
}
.metric-icon.icon-info {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}
.metric-icon.icon-danger {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}
.metric-icon.icon-secondary {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  color: #122023;
}

.welcome-banner {
  background: linear-gradient(135deg, #122023 0%, #2c464e 100%);
  border-radius: 12px;
  border: none;
  color: white;
  margin-bottom: 2.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-left: 5px solid #2ecc40;
}
.welcome-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 204, 64, 0.1));
}
.welcome-banner i {
  color: #2ecc40;
}

.performance-indicator.indicator-positive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(46, 204, 64, 0.2);
  background: rgba(46, 204, 64, 0.1);
  color: #2ecc40;
}
.performance-indicator.indicator-negative {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(231, 76, 60, 0.2);
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
}

.card-body-enhanced {
  padding: 1.8rem 1.5rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44, 70, 78, 0.1), transparent);
  margin: 2.5rem 0;
}

.text-success {
  color: #2ecc40 !important;
}

.text-info {
  color: #3498db !important;
}

.text-warning {
  color: #f39c12 !important;
}

.text-danger {
  color: #e74c3c !important;
}

.card-action {
  cursor: pointer;
  transition: all 0.2s ease;
}
.card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(18, 32, 35, 0.15);
}
.card-action:hover .card-body .action-icon {
  transform: scale(1.1);
  color: #2ecc40;
}
.card-action .card-body {
  text-align: center;
  padding: 2rem 1.5rem;
}
.card-action .card-body .action-icon {
  font-size: 2.5rem;
  color: #2c464e;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.card-action .card-body .action-title {
  font-weight: 600;
  color: #122023;
  margin-bottom: 0.5rem;
}
.card-action .card-body .action-description {
  color: #2c464e;
  font-size: 0.9rem;
}

.card-metric {
  text-align: center;
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}
.card-metric .card-body {
  padding: 2rem 1.5rem;
}
.card-metric .card-body .metric-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(46, 204, 64, 0.3);
}
.card-metric .card-body .metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #122023;
  margin-bottom: 0.5rem;
}
.card-metric .card-body .metric-value.trend-up {
  color: #2ecc40;
}
.card-metric .card-body .metric-value.trend-down {
  color: #e74c3c;
}
.card-metric .card-body .metric-label {
  font-size: 0.9rem;
  color: #2c464e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-metric .card-body .metric-change {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-weight: 600;
}
.card-metric .card-body .metric-change.positive {
  color: #2ecc40;
}
.card-metric .card-body .metric-change.negative {
  color: #e74c3c;
}
.card-metric .card-body .metric-change i {
  margin-right: 0.25rem;
}

.card-feature {
  border: none;
  background: white;
  box-shadow: 0 4px 20px rgba(18, 32, 35, 0.08);
}
.card-feature:hover .feature-icon {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 204, 64, 0.4);
}
.card-feature .card-body {
  padding: 2.5rem 2rem;
  text-align: center;
}
.card-feature .card-body .feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 64, 0.2);
}
.card-feature .card-body .feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #122023;
  margin-bottom: 1rem;
}
.card-feature .card-body .feature-description {
  color: #2c464e;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.card-feature .card-body .feature-link {
  color: #2ecc40;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-feature .card-body .feature-link:hover {
  color: rgb(36.616, 162.384, 50.944);
  text-decoration: underline;
}

.card-profile .card-header {
  background: linear-gradient(135deg, #122023 0%, #2c464e 100%);
  color: white;
  text-align: center;
  padding: 2rem 1.5rem 0;
  border-bottom: none;
}
.card-profile .card-header .profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.card-profile .card-header .profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-profile .card-header .profile-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.card-profile .card-body .profile-stat {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 70, 78, 0.1);
}
.card-profile .card-body .profile-stat:last-child {
  border-bottom: none;
}
.card-profile .card-body .profile-stat .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2ecc40;
  display: block;
}
.card-profile .card-body .profile-stat .stat-label {
  font-size: 0.8rem;
  color: #2c464e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-notification {
  border-left: 4px solid #2ecc40;
  margin-bottom: 1rem;
}
.card-notification.notification-warning {
  border-left-color: #f39c12;
}
.card-notification.notification-warning .notification-icon {
  color: #f39c12;
}
.card-notification.notification-danger {
  border-left-color: #e74c3c;
}
.card-notification.notification-danger .notification-icon {
  color: #e74c3c;
}
.card-notification.notification-info {
  border-left-color: #3498db;
}
.card-notification.notification-info .notification-icon {
  color: #3498db;
}
.card-notification .card-body {
  padding: 1rem 1.5rem;
}
.card-notification .card-body .notification-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.card-notification .card-body .notification-content .notification-icon {
  font-size: 1.25rem;
  color: #2ecc40;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.card-notification .card-body .notification-content .notification-text {
  flex: 1;
}
.card-notification .card-body .notification-content .notification-text .notification-title {
  font-weight: 600;
  color: #122023;
  margin-bottom: 0.25rem;
}
.card-notification .card-body .notification-content .notification-text .notification-message {
  color: #2c464e;
  font-size: 0.9rem;
  line-height: 1.5;
}
.card-notification .card-body .notification-content .notification-text .notification-time {
  font-size: 0.8rem;
  color: rgba(44, 70, 78, 0.6);
  margin-top: 0.5rem;
}

.card-collapsible .card-header {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.card-collapsible .card-header:hover {
  background: linear-gradient(135deg, rgb(14.5358490566, 25.841509434, 28.2641509434) 0%, rgb(40.3213114754, 64.1475409836, 71.4786885246) 100%);
}
.card-collapsible .card-header .collapse-icon {
  transition: transform 0.3s ease;
  float: right;
  margin-top: 0.25rem;
}
.card-collapsible .card-header .collapse-icon.collapsed {
  transform: rotate(-90deg);
}

@media (max-width: 768px) {
  .card-action .card-body,
  .card-metric .card-body,
  .card-feature .card-body {
    padding: 1.5rem 1rem;
  }
  .card-feature .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .card-metric .metric-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .card-metric .metric-value {
    font-size: 1.8rem;
  }
}
.card:has(.chosen-container) {
  overflow: visible;
}

html {
  font-size: 14px;
  font-family: "Urbanist", sans-serif;
}
html body {
  font-family: "Urbanist", sans-serif;
  background: #2c464e;
  color: #ffffff;
}
html body a {
  color: #2ecc40;
  text-decoration: none;
}
html body a:hover {
  color: rgb(36.616, 162.384, 50.944);
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #2ecc40;
  border-color: #2ecc40;
}
.btn-primary:hover {
  color: #ffffff;
  background-color: rgb(36.616, 162.384, 50.944);
  border-color: rgb(36.616, 162.384, 50.944);
}

.btn-outline-primary {
  color: #2ecc40;
  background-color: transparent;
  border-color: #2ecc40;
}
.btn-outline-primary:hover {
  color: #ffffff;
  background-color: #2ecc40;
  border-color: #2ecc40;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
body > .page-loading-message {
  display: none;
}
body.page-loading::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  background-image: url(../img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 200px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-loading > .page-loading-message {
  display: block;
  position: fixed;
  top: calc(50% - 100px);
  transform: translateX(-50%);
  left: 50%;
  font-size: 20px;
  color: #2c464e;
  z-index: 10000;
  font-weight: bold;
}

.text-id-output {
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.homeIconImg {
  width: 150px;
  margin: 50px;
  height: auto !important;
  border-radius: 10px;
  box-shadow: 0px 0px 20px -10px;
}

.admin-home-tiles {
  margin: 20px 0;
}
.admin-home-tiles ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  margin: -5px;
}
.admin-home-tiles ul li {
  display: flex;
  border: 1px solid;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 15px;
  margin: 5px;
  border: none;
  background-color: #122023;
  flex-basis: 140px;
}
.admin-home-tiles ul li a {
  display: block;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
}
.admin-home-tiles ul li a i {
  display: block;
  color: #2ecc40;
  text-decoration: none;
}

.card {
  color: #122023;
  background: #ffffff;
  border: 1px solid rgba(44, 70, 78, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(18, 32, 35, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  position: relative;
}
.card.use-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(18, 32, 35, 0.15);
  border-color: rgba(46, 204, 64, 0.2);
}
.card.use-hover-effect:hover .card-body::before {
  opacity: 1;
}
.card .card-body {
  position: relative;
}
.card .card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card .card-header {
  background: linear-gradient(135deg, #122023 0%, #2c464e 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 1rem 1.5rem;
  border-bottom: 3px solid #2ecc40;
  border-radius: 12px 12px 0 0 !important;
}
.card .card-header i {
  color: #2ecc40;
  margin-right: 0.5rem;
}
.card .card-header .opacity-75,
.card .card-header .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem;
}
.card .card-body {
  padding: 1.5rem;
  position: relative;
}
.card .card-title {
  color: #122023;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card .card-title i {
  color: #2ecc40;
  font-size: 1.1rem;
}
.card .card-text {
  color: #2c464e;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card .card-footer {
  background: rgba(248, 249, 250, 0.8);
  border-top: 1px solid rgba(44, 70, 78, 0.1);
  padding: 1rem 1.5rem;
  color: #2c464e;
  font-size: 0.9rem;
}
.card .list-group-item {
  border-color: rgba(44, 70, 78, 0.1);
}
.card .list-group-item:first-child {
  border-top: none;
}
.card .list-group-item .badge {
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  color: white;
  font-weight: 600;
}

.card-primary {
  border-left: 5px solid #2ecc40;
}
.card-primary .card-header {
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
}

.card-success {
  border-left: 5px solid #27ae60;
}
.card-success .card-header {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc40 100%);
}

.card-warning {
  border-left: 5px solid #f39c12;
}
.card-warning .card-header {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card-danger {
  border-left: 5px solid #e74c3c;
}
.card-danger .card-header {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.card-info {
  border-left: 5px solid #3498db;
}
.card-info .card-header {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.card-compact .card-header {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.card-compact .card-body {
  padding: 1rem;
}

.card-enhanced {
  box-shadow: 0 8px 30px rgba(18, 32, 35, 0.12);
  border: 2px solid rgba(46, 204, 64, 0.1);
}
.card-enhanced:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(18, 32, 35, 0.2);
  border-color: rgba(46, 204, 64, 0.3);
}
.card-enhanced .card-body::before {
  height: 4px;
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 50%, #27ae60 100%);
}

.modal {
  color: #122023;
}

.main-login-panel {
  color: #122023;
}

.card-details {
  width: 350px;
  height: 200px;
  padding: 20px;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  border-radius: 15px;
  color: white;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-family: "Courier New", Courier, monospace;
}

.card-details .card-logo {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-details .chip {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 50px;
  height: 35px;
  background-color: gold;
  border-radius: 5px;
}

.card-details .card-number {
  position: absolute;
  top: 90px;
  left: 20px;
  font-size: 20px;
  letter-spacing: 3px;
}

.card-details .card-holder {
  position: absolute;
  bottom: 30px;
  left: 20px;
  text-transform: uppercase;
  font-size: 14px;
}

.card-details .expiry-date {
  position: absolute;
  bottom: 30px;
  right: 20px;
  font-size: 14px;
  text-align: right;
}

.product-image-wrappper {
  max-width: 140px;
  max-height: 140px;
  padding: 15px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  text-align: center;
}

.product-image-wrappper img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

.main-login-panel {
  border-radius: 15px;
  border: 1px solid;
}

.left-nav-wrap {
  background-color: #122023;
  border-right: 1px solid #3c3c3c;
  padding: 15px 15px 50px 15px;
  position: fixed;
  top: 50px;
  bottom: 0;
  left: 0;
  overflow: auto;
  width: 240px;
}
.left-nav-wrap + div[class*=col-] {
  padding: 0;
  margin-left: 255px;
  width: calc(100vw - 240px - 45px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
header > nav {
  background-color: #122023 !important;
  border-bottom: 1px solid #3c3c3c;
  color: #ffffff;
}
header > nav .navbar-brand {
  color: #2ecc40;
}
header > nav ul li .nav-link {
  color: #ffffff;
  text-decoration: none;
}
header > nav ul li .nav-link:hover {
  color: #2ecc40;
}

body {
  padding-top: 70px;
}

.field-flash {
  animation: field-flash-anim 1s ease-in-out;
}

@keyframes field-flash-anim {
  0% {
    background-color: #d4edda;
  }
  70% {
    background-color: #d4edda;
  }
  100% {
    background-color: transparent;
  }
}
table tr.table-flash {
  background-color: #d4edda;
  transition: background-color 0.5s ease-in-out;
}
table tr.table-flash.negative {
  background-color: #f8d7da;
}
table tr th,
table tr td {
  vertical-align: middle;
}
table tr th.client-list-logo img,
table tr td.client-list-logo img {
  max-width: 80px;
  max-height: 50px;
  width: auto !important;
  height: auto !important;
}
table tr th.text-ellipsis,
table tr td.text-ellipsis {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
table tr th.text-nowrap,
table tr td.text-nowrap {
  white-space: nowrap;
}
table tr th.cell-address,
table tr td.cell-address {
  max-width: 190px;
}
table tr th.transaction-actions > div,
table tr td.transaction-actions > div {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
table tr th.invoice-payment-status .invoice-revert-paid-btn,
table tr td.invoice-payment-status .invoice-revert-paid-btn {
  color: #dc3545;
  text-decoration: none;
  font-size: 12px;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
table tr th.invoice-payment-status .invoice-mark-paid-btn,
table tr td.invoice-payment-status .invoice-mark-paid-btn {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
table tr th.invoice-payment-status:hover .invoice-revert-paid-btn,
table tr td.invoice-payment-status:hover .invoice-revert-paid-btn {
  opacity: 1;
}
table tr th.invoice-payment-status:hover .invoice-mark-paid-btn,
table tr td.invoice-payment-status:hover .invoice-mark-paid-btn {
  opacity: 1;
}
table tr th .badge,
table tr td .badge {
  font-weight: normal;
  font-size: 11px;
  height: 14px;
  border-radius: 7px;
  line-height: 14px;
  padding: 0px 7px;
}
table tr:hover .transaction-actions > div {
  opacity: 1;
}

.transaction-choose-type {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 -5px;
  flex-wrap: nowrap;
}
.transaction-choose-type .btn {
  white-space: nowrap;
  flex: 1;
  width: 65px;
  margin: 0 5px;
  font-size: 11px;
  border-radius: 5px;
  height: 14px;
  border: 1px solid #333;
  line-height: 12px;
  padding: 0 7px;
}
.logged-in-navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.logged-in-navbar ul li {
  margin: 5px 0;
}
.logged-in-navbar ul li a {
  display: block;
  height: 38px;
  line-height: 38px;
  text-decoration: none;
  padding: 0 5px;
  border-left: 5px solid #2ecc40;
  color: #ffffff;
}
.logged-in-navbar ul li a.active {
  border-color: rgb(36.616, 162.384, 50.944);
  background-color: rgb(9.3396226415, 16.6037735849, 18.1603773585) !important;
}

.dashboard-stats .dashboard-item {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dashboard-stats .dashboard-item .dashboard-item-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.dashboard-stats .dashboard-item .dashboard-value {
  font-size: 24px;
  font-weight: bold;
  color: green;
}
.dashboard-stats .dashboard-item .dashboard-value.negative {
  color: indianred;
}

.invoice-line-amount {
  width: 200px;
}

.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 240px;
  right: 0;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  z-index: 1000;
}
.fixed-bottom-bar .btn {
  margin-right: 10px;
}

#route-map-modal iframe {
  width: 100%;
  height: 500px;
  border: none;
}

span.set-biz-tx-cat {
  cursor: pointer;
}

.card-stats .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #122023;
}
.card-stats .stat-value.positive {
  color: #2ecc40;
}
.card-stats .stat-value.negative {
  color: #e74c3c;
}
.card-stats .stat-label {
  font-size: 0.85rem;
  color: #2c464e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-stats .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #2ecc40 0%, #25a032 100%);
  color: white;
}
.card-stats .stat-icon.icon-secondary {
  background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
  color: #122023;
}

.card-gradient {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  border: 1px solid rgba(46, 204, 64, 0.1);
}

.card-pattern {
  position: relative;
}
.card-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(46, 204, 64, 0.02) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(46, 204, 64, 0.02) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(46, 204, 64, 0.02) 0%, transparent 50%);
  pointer-events: none;
}
.card-pattern .card-body,
.card-pattern .card-header {
  position: relative;
  z-index: 1;
}

.card-loading {
  position: relative;
  overflow: hidden;
}
.card-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 204, 64, 0.1), transparent);
  animation: card-shimmer 1.5s infinite;
}

@keyframes card-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
#changeCategoryModal .modal-body {
  max-height: 500px;
  overflow: auto;
}
#changeCategoryModal .modal-body table tr label:hover {
  background-color: #e2f1ff;
  cursor: pointer;
}

.transactions-card .transactions-table tr:has(.transaction-checkbox:checked) {
  background-color: rgba(46, 204, 64, 0.1);
}

.file-item {
  transition: all 0.3s ease;
}

.file-item.file-uploading {
  background-color: #fff3cd;
  border-color: #ffc107;
}

.file-item.file-success {
  background-color: #d1edff;
  border-color: #0d6efd;
}

.file-item.file-error {
  background-color: #f8d7da;
  border-color: #dc3545;
}

.status-icon {
  margin-left: 8px;
  min-width: 16px;
}

#fileUploadProgress {
  max-height: 400px;
  overflow-y: auto;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: #2c464e;
  color: #ffffff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.TaxReportTable {
  border: 1px solid #122023;
}
.TaxReportTable th {
  background-color: #2c464e;
  color: #ffffff;
  border: none;
}
.TaxReportTable.TaxReportTotalsBottom tr td:first-child {
  font-weight: bold;
}