body.pad-bottom {
  padding-bottom: 300px;
}

.embed-wrapper iframe {
  max-width: 100%;
}

.form-headline {
  background-color: var(--bg-tertiary);
  color: #fff;
  padding: 5px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.card {
  margin-bottom: 15px;
}
.card.detail-card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card.detail-card .card-header {
  background-color: transparent;
  border-radius: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  margin-bottom: 5px;
  border: none;
}
.card.detail-card .card-header .card-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin: 0;
}
.card.detail-card .card-body {
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.card.detail-card .card-body.no-icon {
  padding-left: 0;
  padding-right: 0;
}
.card.detail-card .card-body.no-icon .card-content {
  padding-left: 0;
}
.card.detail-card .card-body .card-loader span {
  font-size: 3em;
  color: #8e7d53;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card.detail-card .contact-item {
  text-align: center;
  padding: 15px;
  background-color: var(--bg-tertiary);
  border-radius: 8px;
}
.card.detail-card .card-content {
  padding-left: 15px;
}
.card.detail-card .card-icon {
  position: absolute;
  top: 4px;
  left: 0;
  font-size: 1.2em;
  color: #8e7d53;
}
.card.detail-card .card-actions {
  position: static;
  transform: none;
  flex-shrink: 0;
}
.card.detail-card .card-actions .btn {
  padding: 5px 15px;
  border-radius: 6px;
}
.card.detail-card .card-actions .btn.btn-light {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.card.detail-card .card-actions .btn.btn-light:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-tertiary);
}
.card .deliveries-collection {
  margin-bottom: -30px;
}
.card .deliveries-collection.last-collection {
  margin-bottom: 0;
}
.card .deliveries-collection .date-group {
  margin-left: 15px;
  margin-top: 5px;
}
.card .deliveries-collection .stops-list .stop-item .stop-header {
  background-color: #d4f4dd;
  color: #2d5f3d;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  position: relative;
}
.card .deliveries-collection .stops-list .stop-item .collapse-toggle {
  position: absolute;
  right: 15px;
  font-size: 1.2em;
  cursor: pointer;
  width: 100%;
  text-align: right;
  height: 100%;
  top: 10px;
}
.card .deliveries-collection .stops-list .stop-item .stop-content {
  background-color: rgb(238.3265306122, 250.1734693878, 240.5204081633);
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 15px;
  margin-top: 10px;
  color: var(--text-primary);
  font-size: 0.9em;
}
.card .deliveries-collection .stops-list .stop-item .stop-today-meta {
  padding: 4px 15px 0 15px;
  font-size: 0.85em;
}
.card .deliveries-collection .stops-list .today-delivery-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 5px;
  margin-bottom: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-title {
  font-weight: 600;
  color: var(--text-primary);
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-driver {
  color: var(--text-secondary);
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-row {
  display: flex;
  margin-bottom: 6px;
  font-size: 0.9em;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-label {
  font-weight: 600;
  width: 90px;
  color: var(--text-primary);
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-card-value {
  color: var(--text-secondary);
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-order {
  background-color: var(--bg-success);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
  color: var(--text-success);
  font-size: 0.9em;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-order-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-order-title a {
  color: inherit;
  text-decoration: none;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-order-title a:hover {
  text-decoration: underline;
}
.card .deliveries-collection .stops-list .today-delivery-card .today-delivery-order-line {
  padding: 2px 0;
}

.navbar-nav {
  z-index: 1000;
}

.sidebar-dark {
  background-color: var(--sidebar-bg);
}
.sidebar .collapse-inner {
  background-color: var(--bg-secondary);
}

.nav-item {
  z-index: 1;
}

.sidebar.toggled .nav-item .collapse, .sidebar.toggled .nav-item .collapsing {
  z-index: 1000;
}

.full-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.pagination .current {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--text-primary);
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
}
.pagination .ellipse {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #4e73df;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.pagination li {
  margin-right: 5px;
}
.pagination li span, .pagination li a {
  border: none;
  border-radius: 5px;
  color: #17323b;
}
.pagination li span:hover, .pagination li a:hover {
  color: #17323b;
}
.pagination li.active span {
  background-color: #17323b;
  color: #fff;
  border: none;
}
.pagination .prev {
  display: none !important;
}
.pagination .next {
  display: none !important;
}

.shortcut-item {
  background-color: var(--bg-tertiary);
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.shortcut-item .shortcut-icon {
  text-align: center;
  font-size: 2em;
}
.shortcut-item .shortcut-title {
  display: block;
  text-align: center;
}

.container-fluid.no-padding {
  padding: 0;
}
.container-fluid.no-padding .page-title {
  padding-left: 1.25rem;
}

.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
}
.popup-wrapper .popup-inner {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  background-color: var(--bg-secondary);
  padding: 15px;
  border-radius: 5px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.popup-wrapper .popup-inner::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.popup-wrapper .popup-inner h1, .popup-wrapper .popup-inner h2, .popup-wrapper .popup-inner h3 {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  padding: 15px 0;
}
.popup-wrapper .close-popup {
  font-size: 1.2em;
  position: absolute;
  right: 15px;
  top: 15px;
}
.popup-wrapper .close-popup span {
  cursor: pointer;
  color: #000;
}
.popup-wrapper.active {
  visibility: visible;
  opacity: 1;
}

.bg-gradient-primary {
  background-color: var(--sidebar-bg);
  background-image: linear-gradient(180deg, #222 70%, #666 100%);
  background-size: cover;
}

.login-page .logo {
  max-width: 100%;
  width: 300px;
  margin: 0 auto 15px auto;
  display: block;
}
.login-page .subtitle {
  display: block;
  margin-top: -20px;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #8e7d53;
  border-color: #8e7d53;
}
.btn-primary:hover {
  background-color: rgb(168.68, 151, 107.32);
  border-color: rgb(168.68, 151, 107.32);
}

.cursor-pointer {
  cursor: pointer;
}

#content-wrapper {
  overflow-x: unset !important;
}

@media (min-width: 768px) {
  #content {
    padding-top: 1.5rem;
  }
}

.validation-summary-errors ul {
  margin: 0;
  padding: 0;
}
.validation-summary-errors ul li {
  list-style: none;
}

.fixed-brand-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--sidebar-bg);
}

.sidebar-brand {
  background-color: var(--sidebar-bg);
}

.sidebar-brand-image img {
  height: 50px;
}

.sidebar-toggled .sidebar-brand-image img {
  height: auto;
}

.fixed-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #343a40;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

tr.optimo-updated {
  animation: highlightRow 1s ease-out;
}

@keyframes highlightRow {
  0% {
    background-color: rgba(40, 167, 69, 0.3);
  }
  100% {
    background-color: transparent;
  }
}
tr.optimo-error {
  animation: highlightRowError 1s ease-out;
}

@keyframes highlightRowError {
  0% {
    background-color: rgba(220, 53, 69, 0.3);
  }
  100% {
    background-color: transparent;
  }
}
.sortable-table th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.sortable-table th.sortable:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.sortable-table th.sortable i {
  margin-left: 5px;
  font-size: 0.85em;
}
.sortable-table th.sortable.sort-asc i, .sortable-table th.sortable.sort-desc i {
  color: #8e7d53;
}

.customer-layout-relative {
  position: relative;
}

@media (min-width: 768px) {
  .customer-layout-relative .customer-aside {
    position: absolute;
    right: 0;
    top: 0;
    width: 33.3333333%;
  }
}

.dsiq-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dsiq-item {
  background-color: var(--bg-purple);
  border-radius: 10px;
  padding: 12px 14px;
}

.dsiq-item-clickable {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dsiq-item-clickable:hover {
  background-color: var(--bg-purple-hover);
}

.dsiq-popup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.dsiq-popup-row {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-purple);
  border-radius: 8px;
  padding: 10px 12px;
}

.dsiq-item-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dsiq-item-description {
  color: var(--text-secondary);
  font-size: 0.875em;
}

.dsiq-item-description a {
  color: inherit;
  text-decoration: underline;
}

.dsiq-section {
  margin-bottom: 20px;
}
.dsiq-section:last-child {
  margin-bottom: 0;
}

.dsiq-section-title {
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.dsiq-list {
  margin-bottom: 5px;
  padding-left: 20px;
  color: var(--text-primary);
  list-style-type: disc;
}
.dsiq-list li {
  margin-bottom: 3px;
}

.dsiq-numbered-list {
  margin-bottom: 5px;
  padding-left: 20px;
  color: var(--text-primary);
  list-style-type: decimal;
}
.dsiq-numbered-list > li {
  margin-bottom: 10px;
  font-weight: 500;
}
.dsiq-numbered-list > li .dsiq-list {
  font-weight: normal;
  margin-top: 5px;
}

.campaign-content {
  background-color: #e8e5f7;
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
}

.campaign-item {
  margin-bottom: 15px;
}
.campaign-item:last-child {
  margin-bottom: 0;
}

.campaign-name {
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.campaign-value {
  font-size: 2em;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.campaign-due {
  color: var(--text-secondary);
  font-size: 0.9em;
}

.card.detail-card:has(.timeline-tabs) {
  padding: 0;
}
.timeline-tabs.nav-tabs {
  border-bottom: 2px solid var(--border-light);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-secondary);
  border-radius: 12px 12px 0 0;
}
.timeline-tabs.nav-tabs .nav-item {
  margin-bottom: -2px;
}
.timeline-tabs.nav-tabs .nav-link {
  border: none;
  border-radius: 0;
  color: var(--text-secondary);
  padding: 12px 15px;
  font-size: 13px;
  transition: all 0.2s;
  background: transparent;
}
.timeline-tabs.nav-tabs .nav-link.active {
  background-color: #d4cfbf;
  color: var(--text-primary);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid #d4cfbf;
}
.timeline-tabs.nav-tabs .nav-item:first-child .nav-link {
  border-radius: 12px 0 0 0;
}
.timeline-tabs.nav-tabs .nav-link:hover:not(.active) {
  background-color: var(--bg-tertiary);
}

.timeline-content {
  overflow-x: auto;
}

.timeline-entry {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.timeline-entry:last-child {
  border-bottom: none;
}
.timeline-date {
  flex-shrink: 0;
  width: 100px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.4;
}
.timeline-body {
  flex: 1;
  min-width: 0;
}
.timeline-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.timeline-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.timeline-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 18px 0 4px;
}
.timeline-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.timeline-page:hover {
  background-color: var(--bg-hover);
  text-decoration: none;
  color: var(--text-primary);
}
.timeline-page.active {
  background-color: #d4cfbf;
  color: var(--text-primary);
  font-weight: 600;
}

/* Hardware tab */
.hardware-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-light);
}
.hardware-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.hardware-item:last-child {
  border-bottom: none;
}
.hardware-name {
  font-weight: 600;
  color: var(--text-primary);
}
.hardware-serial {
  color: var(--text-secondary);
  font-size: 13px;
}
.hardware-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.hardware-status.status-active {
  background: #d4f4dd;
  color: #2d5f3d;
}
.hardware-status.status-maintenance {
  background: #fff3cd;
  color: #856404;
}

/* Recommendations tab */
.recommendation-card {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.recommendation-title {
  font-weight: 600;
  color: var(--text-primary);
}
.recommendation-tag {
  background: #e8e5f7;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}
.recommendation-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.recommendation-products {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.recommendation-product {
  background: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-primary);
}

.timeline-row {
  display: flex;
  justify-content: flex-start;
  gap: 0;
}

.timeline-row-top {
  padding-bottom: 0;
}

.timeline-row-bottom {
  padding-top: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  text-align: center;
}

.timeline-item-offset {
  margin-left: 50px;
}

.timeline-label {
  font-size: 0.85em;
  color: var(--text-primary);
  line-height: 1.3;
  padding: 5px;
}

.timeline-bracket {
  width: 50px;
  height: 40px;
  position: relative;
}
.timeline-bracket::before, .timeline-bracket::after {
  content: "";
  position: absolute;
  background-color: currentColor;
}

.bracket-down-left::before {
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
}
.bracket-down-left::after {
  width: 50%;
  height: 3px;
  left: 50%;
  bottom: 0;
}

.bracket-down-right::before {
  width: 3px;
  height: 100%;
  right: 50%;
  top: 0;
}
.bracket-down-right::after {
  width: 50%;
  height: 3px;
  right: 50%;
  bottom: 0;
}

.bracket-up-left::before {
  width: 3px;
  height: 100%;
  left: 50%;
  bottom: 0;
}
.bracket-up-left::after {
  width: 50%;
  height: 3px;
  left: 50%;
  top: 0;
}

.bracket-up-right::before {
  width: 3px;
  height: 100%;
  right: 50%;
  bottom: 0;
}
.bracket-up-right::after {
  width: 50%;
  height: 3px;
  right: 50%;
  top: 0;
}

.bracket-gray {
  color: var(--text-secondary);
}

.bracket-green {
  color: #28a745;
}

.bracket-yellow {
  color: #ffc107;
}

.bracket-red {
  color: #dc3545;
}

.timeline-line {
  height: 2px;
  background-color: var(--border-color);
  margin: 0;
  width: 100%;
}

.btn-action-outline {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background-color: transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.btn-action-outline i {
  margin-right: 5px;
}
.btn-action-outline:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}
.btn-action-outline:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* ============================================
   Dark Mode — page-specific components
   Shell and Bootstrap primitives live in theme.css.
   ============================================ */

body.dark-mode .timeline-tabs.nav-tabs {
  background: var(--bg-secondary);
  border-bottom-color: var(--border-color);
}

body.dark-mode .timeline-tabs.nav-tabs .nav-link {
  color: var(--text-tertiary);
  background: transparent;
}

body.dark-mode .timeline-tabs.nav-tabs .nav-link.active {
  background-color: var(--bg-accent);
  color: var(--text-primary);
  border-bottom-color: var(--bg-accent);
}

body.dark-mode .timeline-tabs.nav-tabs .nav-link:hover:not(.active) {
  background-color: var(--bg-tertiary);
}

body.dark-mode .timeline-entry {
  border-bottom-color: var(--border-color);
}

body.dark-mode .timeline-title {
  color: var(--text-primary);
}

body.dark-mode .timeline-description {
  color: var(--text-tertiary);
}

body.dark-mode .timeline-page {
  color: var(--text-tertiary);
}

body.dark-mode .timeline-page:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

body.dark-mode .timeline-page.active {
  background-color: var(--bg-accent);
  color: var(--text-primary);
}

/* Hardware tab dark mode */
body.dark-mode .hardware-header {
  color: var(--text-tertiary);
  border-bottom-color: var(--border-color);
}

body.dark-mode .hardware-item {
  border-bottom-color: var(--border-color);
  color: var(--text-tertiary);
}

body.dark-mode .hardware-name {
  color: var(--text-primary);
}

body.dark-mode .hardware-serial {
  color: var(--text-tertiary);
}

body.dark-mode .hardware-status.status-active {
  background: #2d4a35;
  color: #90d4a0;
}

body.dark-mode .hardware-status.status-maintenance {
  background: #4a4520;
  color: #d4c490;
}

/* Kreditstatus tab */
.credit-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.credit-card {
  padding: 20px;
  border-radius: 8px;
}

.credit-card-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.credit-card-value {
  font-size: 24px;
  font-weight: 600;
}

.credit-card-success {
  background: #d4f4dd;
}

.credit-card-success .credit-card-value {
  color: #2d5f3d;
}

.credit-card-warning {
  background: #fff3cd;
}

.credit-card-warning .credit-card-value {
  color: #856404;
}

.credit-card-info {
  background: #d1ecf1;
}

.credit-card-info .credit-card-value {
  color: #0c5460;
}

/* Specialpriser tab */
.special-price-original {
  text-decoration: line-through;
  color: var(--text-tertiary);
}

.special-price-customer {
  font-weight: 600;
  color: #2d5f3d;
}

.special-price-discount {
  font-weight: 600;
  color: #2d5f3d;
}

/* Notifications tab */
.notification-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 15px;
}

.notification-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 10px 0;
  padding-left: 20px;
  padding-right: 30px;
  border-bottom: 1px solid var(--border-light);
  gap: 15px;
}

.notification-row:last-child {
  border-bottom: none;
}

.notification-event {
  font-size: 14px;
  color: var(--text-primary);
}

.notification-channel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-channel input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.notification-channel label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

/* Send SMS tab */
.sms-form {
  max-width: 500px;
}

.sms-field {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  margin-bottom: 15px;
  align-items: start;
}

.sms-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  padding-top: 8px;
}

.sms-input {
  min-width: 0;
}

.sms-char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* Recommendations tab dark mode */
body.dark-mode .recommendation-card {
  background: var(--bg-tertiary);
}

body.dark-mode .recommendation-title {
  color: var(--text-primary);
}

body.dark-mode .recommendation-tag {
  background: #3a3549;
  color: var(--text-primary);
}

body.dark-mode .recommendation-description {
  color: var(--text-tertiary);
}

body.dark-mode .recommendation-product {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Kreditstatus tab dark mode */
body.dark-mode .credit-card-label {
  color: var(--text-tertiary);
}

body.dark-mode .credit-card-success {
  background: #2d4a35;
}

body.dark-mode .credit-card-success .credit-card-value {
  color: #90d4a0;
}

body.dark-mode .credit-card-warning {
  background: #4a4520;
}

body.dark-mode .credit-card-warning .credit-card-value {
  color: #d4c490;
}

body.dark-mode .credit-card-info {
  background: #1a3a4a;
}

body.dark-mode .credit-card-info .credit-card-value {
  color: #a0d0e0;
}

/* Specialpriser tab dark mode */
body.dark-mode .special-price-original {
  color: var(--text-tertiary);
}

body.dark-mode .special-price-customer,
body.dark-mode .special-price-discount {
  color: #90d4a0;
}

/* Notifications tab dark mode */
body.dark-mode .notification-hint {
  color: var(--text-tertiary);
}

body.dark-mode .notification-row {
  border-bottom-color: var(--border-color);
}

body.dark-mode .notification-event {
  color: var(--text-primary);
}

body.dark-mode .notification-channel label {
  color: var(--text-primary);
}

/* Send SMS tab dark mode */
body.dark-mode .sms-label {
  color: var(--text-primary);
}

body.dark-mode .sms-char-count {
  color: var(--text-tertiary);
}

/* Customer service overview specific */
body.dark-mode .cs-tab-bar {
  background-color: #2d2d2d;
  border-color: var(--bg-hover);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Order section headers (create order popup) */
body.dark-mode .order-section-header {
  background-color: #3a4a5a !important;
  color: var(--text-primary) !important;
}

body.dark-mode .dsiq-content {
  background-color: #2a2535;
  color: var(--text-primary);
}

body.dark-mode .dsiq-content .text-muted {
  color: var(--text-secondary) !important;
}

body.dark-mode .dsiq-section-title {
  color: var(--text-primary);
}

body.dark-mode .dsiq-list,
body.dark-mode .dsiq-numbered-list {
  color: var(--text-primary);
}

body.dark-mode .campaign-content {
  background-color: #2a2535;
  color: var(--text-primary);
}

body.dark-mode .campaign-name {
  color: var(--text-primary);
}

body.dark-mode .campaign-value {
  color: var(--text-primary);
}

body.dark-mode .campaign-due {
  color: var(--text-secondary);
}

/* Delivery stops */
body.dark-mode .stops-list .stop-item .stop-header {
  background-color: #2d4a35 !important;
  color: #90d4a0 !important;
}

body.dark-mode .stops-list .stop-item .stop-content {
  background-color: #253a2d;
  color: var(--text-primary);
}

body.dark-mode .stop-content .border-top {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Overview tables */
body.dark-mode .overview-completed {
  opacity: 0.5;
}

body.dark-mode .overview-skipped {
  opacity: 0.4;
}

/* Shortcut items */
body.dark-mode .shortcut-item {
  background-color: var(--bg-tertiary);
}
