:root {
    /* Color Theme Variables */
    --primary-blue: #0d6efd;
    --primary-purple: #8b5cf6;
    --primary-green: #10b981;
    --primary-orange: #f59e0b;
    --primary-teal: #0d9488;
    --primary-pink: #ec4899;
    --primary-indigo: #6366f1;
    --primary-red: #ef4444;
    
    /* Page Title Colors */
    --title-dashboard: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --title-boe: linear-gradient(135deg, #10b981, #059669);
    --title-manifest: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --title-settings: linear-gradient(135deg, #f59e0b, #d97706);
    --title-reports: linear-gradient(135deg, #ec4899, #db2777);
    --title-help: linear-gradient(135deg, #6366f1, #4f46e5);
    --title-default: linear-gradient(135deg, #64748b, #475569);
    
    /* Accent Colors */
    --accent-light: rgba(59, 130, 246, 0.1);
    --accent-medium: rgba(59, 130, 246, 0.2);
    --text-dark: #1a202c;
    --text-medium: #64748b;
    --text-light: #94a3b8;
}

body {
  /*background-color: #e6ecf2;*/
  background-color: #ffffff !important;
  font-family: Open Sans, sans-serif;
  font-size: 14px;
}

[x-cloak] {
  display: none !important;
}

.form-group label {
  margin-bottom: 0px;
  font-weight: 700;
  color: #6e6e6e;
  font-size: 13px;
}

.btn {
  font-size: 15px !important;
}

.btn-tiny {
  padding: 0.04rem 0.6rem;
}

.font-size-13 {
  font-size: 13px !important;
}

.main-content {
  font-size: 14px;
  min-height: 100vh;
}

.dash-page {
  background: #f8fafc;
  min-height: 100vh;
  margin: -20px;
  padding: 40px;
}

/* Dashboard Header Styles */
.dashboard-header {
  margin-bottom: 2rem;
  padding: 0.5rem 0;  
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 400;
  margin-bottom: 1rem;
}

.dashboard-date {
  background: #f8fafc;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-block;
}

/* Modern Stats Cards */
.stats-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stats-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 12px 12px 0 0;
  z-index: 2;
}

.stats-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

.stats-card-today::before {
  background: #3b82f6;
}

.stats-card-today::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Ccircle cx='350' cy='50' r='80' fill='%233b82f6' opacity='0.4'/%3E%3Cpath d='M-20,100 Q100,50 220,180 Q300,250 450,200' stroke='%235b9cf6' stroke-width='3' fill='none' opacity='0.6'/%3E%3Cpath d='M50,300 Q150,250 250,320 Q350,380 450,350' stroke='%233b82f6' stroke-width='2' fill='none' opacity='0.5'/%3E%3C/svg%3E");
}

.stats-card-month::before {
  background: #8b5cf6;
}

.stats-card-month::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cellipse cx='80' cy='320' rx='120' ry='60' fill='%238b5cf6' opacity='0.3'/%3E%3Cpath d='M200,50 Q280,120 350,80 Q380,150 450,120' stroke='%23a78bf8' stroke-width='4' fill='none' opacity='0.6'/%3E%3Cpath d='M-50,200 Q50,160 150,220 Q250,280 350,240' stroke='%238b5cf6' stroke-width='3' fill='none' opacity='0.5'/%3E%3Ccircle cx='320' cy='180' r='25' fill='%23a78bf8' opacity='0.4'/%3E%3C/svg%3E");
}

.stats-card-lastmonth::before {
  background: #10b981;
}

.stats-card-lastmonth::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Ccircle cx='60' cy='80' r='40' fill='%2310b981' opacity='0.4'/%3E%3Cpath d='M150,20 Q200,80 280,40 Q350,100 420,60' stroke='%2334d399' stroke-width='3' fill='none' opacity='0.6'/%3E%3Cpath d='M20,250 Q120,200 200,280 Q280,360 380,300' stroke='%2310b981' stroke-width='4' fill='none' opacity='0.5'/%3E%3Cellipse cx='300' cy='350' rx='80' ry='40' fill='%2334d399' opacity='0.3'/%3E%3Cpath d='M100,150 Q150,180 200,140 Q250,100 300,160' stroke='%2359e0a8' stroke-width='2' fill='none' opacity='0.7'/%3E%3C/svg%3E");
}

.stats-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 3;
}

.stats-nav-buttons {
  display: flex;
  gap: 0.25rem;
}

.stats-nav-buttons .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.6);
  background: transparent;
  color: #64748b;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.stats-nav-buttons .btn:hover {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  transform: none;
}

.stats-nav-buttons .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.stats-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  color: white;
  position: relative;
  z-index: 4;
}

.stats-card-today .stats-icon {
  background: #3b82f6;
}

.stats-card-month .stats-icon {
  background: #8b5cf6;
}

.stats-card-lastmonth .stats-icon {
  background: #10b981;
}

.stats-info {
  flex: 1;
  text-align: left;
}

.stats-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.25rem;
  text-align: left;
}

.stats-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
  text-align: left;
}

.stats-content {
  margin-top: 0.25rem;
  position: relative;
  z-index: 3;
  flex: 1;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 3;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 600;
  color: #1a202c;
  font-size: 1.125rem;
  padding: 0.375rem 0.75rem;
  background: #f8fafc;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

/* Dashboard Widget (Open Cases) */
.dashboard-widget {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.2s ease;
}

.dashboard-widget:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget-header {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #f1f5f9;
}

.widget-title-section {
  display: flex;
  align-items: flex-start;
}

.widget-icon {
  width: 48px;
  height: 48px;
  background: #f59e0b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  color: white;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.widget-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
}

.case-count-badge {
  background: #f59e0b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
}

.widget-content {
  padding: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Cases Table */
.cases-table-container {
  max-height: 400px;
  overflow-y: auto;
}

.cases-table {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.cases-table thead th {
  background: #f8fafc;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #374151;
  padding: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.case-row {
  border: none;
  transition: all 0.2s ease;
}

.case-row:hover {
  background: #f8fafc;
}

.case-row td {
  padding: 0.75rem;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.case-badge {
  background: #3b82f6;
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.8125rem;
}

.case-date {
  color: #64748b;
  font-weight: 500;
}

.boe-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.boe-link:hover {
  color: #2563eb;
  text-decoration: none;
}

.lrn-text {
  font-family: 'Courier New', monospace;
  background: #f1f5f9;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #374151;
  border: 1px solid #e2e8f0;
}

.user-text {
  color: #475569;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dash-page {
    padding: 20px;
  }
  
  .dashboard-header {
    text-align: center;
    padding: 1rem 0;
  }
  
  .dashboard-title {
    font-size: 1.75rem;
  }
  
  .dashboard-date {
    margin-top: 1rem;
    display: inline-block;
  }
  
  .stats-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .stats-card-header {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .stats-info {
    text-align: left;
    width: 100%;
  }
  
  .stats-title {
    text-align: left;
  }
  
  .stats-subtitle {
    text-align: left;
  }
  
  .stats-icon {
    margin-right: 1rem;
    margin-bottom: 0;
  }
  
  .widget-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
  }
  
  .widget-title-section {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .widget-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  
  .cases-table thead th,
  .case-row td {
    padding: 0.5rem;
  }
  
  /* Make tabs even more compact on small screens */
  .nav-tabs .nav-link,
  #myTab.nav-tabs .nav-link,
  .nav-tabs.nav-flat .nav-link {
    padding: 0.1875rem 0.375rem !important;
    font-size: 0.8125rem;
    margin-right: 1px;
  }
  
  .modal-nav-tab .nav-link {
    padding: 0.1875rem 0.375rem;
    font-size: 0.8125rem;
    margin-right: 1px;        
  }
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem 0.3rem;
}

.seltariff-desc {
  color: black;
  padding: 3px 3px;
  border-bottom: 1px dashed #c7c7c7;
  border-radius: 3px;
}

.seltariff-desc .subheading {
  font-weight: 600;
}

.select2-sm .select2-container--bootstrap4 .select2-selection--single {
  /*    height: 26px;
    padding: .4rem 1.45rem .4rem .7rem;*/
}

.content {
  padding: 1.5rem 2.5rem 1.5rem;
}

.table-action-btn {
  border: 0;
  background-color: transparent;
  padding: 0 3px;
  color: #888e93;
}

.page-item>.page-number {
  padding: 6px 15px;
  display: inline-block;
}

.edi-sent {
  background-color: #fff361;
}

.edi-positive {
  color: #004000;
}

td .edi-positive {
  background-color: #71c571;
}

.edi-negative {
  color: #b71212;
}

td .edi-negative {
  background-color: #ffa6a6;
}

.edi-history-table .edi-none {
  background-color: #dbe9e8;
}

tr th {
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2 !important;
  background-color: #f5f6f7 !important;
  vertical-align: middle;
}

.manifest-band1 {
  padding: 10px;
  background-color: #e2e7ea;
  border-radius: 3px;
}

.highlight-value {
  background-color: #eee;
  padding: 5px 15px 8px 10px;
  margin-right: 1px;
}

.badge-vocstatus {
  margin-left: 5px;
}

/*.navbar-light {
    background-color: #004450 !important;
    box-shadow: 2px -1px 0px 2px rgb(239 242 245);
}

    .navbar-light .navbar-nav .nav-link {
        color: #ecf2ff;
    }

    .navbar-light .navbar-brand {
        color: #ecf2ff;
    }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
        color: #90dbff;
    }*/
.header-label {
  font-weight: bold;
  color: rgb(88, 102, 126);
  font-size: 0.94em;
  margin-bottom: -0.2em;
}

.header-labelvalue {
  color: rgb(70 75 97);
}

[x-cloak] {
  display: none !important;
}

.table-btn-cell {
  padding-right: 2px !important;
  padding-left: 2px !important;
  margin: 0 !important;
}

.table-btn-cell>div {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#search-tariff-result {
  min-height: 200px;
}

#search-tariff-result .headingDesc {
  font-size: 13px;
  color: #1c77a2;
}

#search-tariff-result .subHeadingDesc {
  font-size: 13px;
  color: #004065;
  font-weight: 600;
}

.toast-style {
  border-radius: 3px;
}

.boelist-edi-status {
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.manifestlist-edi-status {
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.boe-summary {
  border-radius: 3px;
}

.boe-summary-row {
  padding: 0 10px;
}

.boe-summary-row:not(:last-child) {
  border-bottom: 1px dashed #adb3b9;
}

.boe-summary-table {
  border: 1px dashed #adb3b9;
  border-radius: 3px;
  background-color: #f3f5f7;
}

.boe-summary-label {
  margin-right: 4px;
}

.boe-summary-header {
  font-weight: bold;
  color: #123d9d;
}

.invoice-summary {
  font-weight: bold;
  color: #123d9d;
}

.boe-summary-value {
  font-weight: bold;
  color: #012e80;
  font-size: 1.1em;
  min-width: 100px;
  text-align: right;
}

.login-wrapper {
  padding: 26px 40px;
  background-color: #ebeef4;
  border-radius: 24px;
  /* box-shadow: 0px 1px 6px 3px #d6d6d6; */
  border: 1px solid #e3e5e8;
}

.flex-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.min-vh-100 {
  min-height: 100vh;
}

.pb-6,
.py-6 {
  padding-bottom: 4rem !important;
}

.pt-6,
.py-6 {
  padding-top: 4rem !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.header-1 {
  margin: -25px -100px 20px -108px;
  background-color: #efefef;
  padding: 16px 92px 16px 100px;
}

.ts-input {
  max-height: calc(1.5em + 0.75rem + 2px);
}

label.hasItemError,
span.hasItemError {
  color: red;
}

.mainTopHeader {
  background-color: #ffffff;
  padding: 22px 0px 10px 0px;
  border-radius: 3px 3px 0px 0px;
}

.page-title {
  font-weight: 800;
  font-size: 26px;
}

.header-info-list {
  padding: 0px;
  border: 1px solid #c8dff396;
  border-radius: 0px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  background-color: #f0f8ff;
  padding: 4px 18px;
  border-radius: 6px;
}

.header-info-list>li {
  display: inline-block;
  margin-right: 2rem !important;
  padding: 0.5rem 0;
}

.header-label {
  font-size: 0.90rem;
  color: #444444;
  font-weight: normal;
  line-height: 1.5;
}

.header-labelvalue {
  /* font-size: 1rem; */
  font-weight: 600;
  color: #05305a;
}

.boe-list-table td {
  border-bottom: 1px solid #f5f6f7;
  color: #000;
  font-size: 0.95em;
}

.boe-list-table td .btn-table {
  border-radius: 0.3rem;
  border-color: #d4d6d6;
  border-width: 0;
}

.boe-list-table td .btn-send {
  border-radius: 0.3rem;
  border-color: #d4d6d6;
}

.boe-list-exporter>span {
  color: rgb(42 129 186);
  white-space: normal;
  text-decoration: none;
}

.boe-list-importer>span {
  font-size: 0.9em;
  white-space: normal;
  color: #464646;
  text-decoration: none;
}

.manifest-list-table td {
  border-bottom: 1px solid #f5f6f7;
  color: #54585a;
  font-size: 0.95em;
}

.manifest-list-table td .btn-table {
  border-radius: 0.3rem;
  border-color: #d4d6d6;
  border-width: 0;
}

.manifest-list-table td .btn-send {
  border-radius: 0.3rem;
  border-color: #d4d6d6;
}

.boe-list-table th {
  /* background-color: #e7f1f3 !important;
    border-bottom: 1px solid #cbe6ea !important;
    border-top: 1px solid #cbe6ea !important;*/
}

.boe-list-table .btn-outline-primary.disabled,
.boe-list-table .btn-outline-primary:disabled,
.manifest-list-table .btn-outline-primary.disabled,
.manifest-list-table .btn-outline-primary:disabled {
  color: #4f5a69;
  background-color: transparent;
}

#lineItemsTable .boe-customsvalue {
  min-width: 90px;
}

#lineItemsTable .boe-vat {
  min-width: 75px;
}

#lineItemsTable .boe-itemdesc {
  font-size: 13px;
}

#lineItemsTable .boe-tariffcode {
  min-width: 90px;
}

#lineItemsTable tbody>tr {
  cursor: pointer;
}

.countries-arrow {
  color: #00505f;
}

.bg-country-import {
  background-color: #d7dce0 !important;
}

.bg-country-export {
  background-color: #bdd3e2 !important;
}

.table-countrynames {}

@media (max-width: 812px) {
  .mainTopHeader li {
    margin-bottom: 1.2em;
  }
}

.btn-gh {
  display: inline-block;
  outline: 0;
  cursor: pointer;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: middle;
  border: 1px solid;
  border-radius: 6px;
  color: #ffffff;
  background-color: #2ea44f;
  border-color: #1b1f2326;
  box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px,
    rgba(255, 255, 255, 0.25) 0px 1px 0px 0px inset;
  transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  transition-property: color, background-color, border-color;
}

.btn-gh:hover {
  background-color: #2c974b;
  border-color: #1b1f2326;
  transition-duration: 0.1s;
}

.bg-nav {
  background-color: #fff !important;
  /*box-shadow: 1px -3px 7px 0px #7e8f9e;*/
  box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
}

.table-select-manifest tbody>tr {
  vertical-align: middle;
}

.table-select-manifest tbody>tr:hover {
  background-color: #004580;
  color: white;
  cursor: pointer;
}

#search-tariff-result tbody>tr {
  vertical-align: middle;
}

/*#search-tariff-result tbody > tr:hover {
        background-color: lightblue;*/
/*color: white;*/
/*cursor: pointer;
    }*/

/*#search-tariff-result tbody > tr:hover .subHeadingDesc,
#search-tariff-result tbody > tr:hover .headingDesc2,
#search-tariff-result tbody > tr:hover .headingDesc {
  background-color: #004580;
  color: white;
  cursor: pointer;
}*/
.tariff-search-row {
  cursor: pointer;
}

.tariff-search-row>td {
  font-size: 13px;
}

.tariff-search-row:hover>td {
  background-color: #b5cadb !important;
}

/* .tariff-search-code:hover, .tariff-search-description:hover {
    background-color: lightblue;
} */

.tariff-search-code {
  min-width: 100px;
}

.card-noborder {
  border: 0 !important;
  position: unset;
}

.card-noborder .card-body {
  /* background-color: #f8f9fa; */
}

.bg-nav .nav-item.active {
  border-bottom: 1px solid #49505f;
  border-radius: 0px;
  background-color: #e1e7ec;
  margin-bottom: -10px;
  margin-top: -10px;
  padding-top: 10px;
  font-weight: 600;
}

.navbar-brand {
  background-image: url("../logo.png");
  height: 42px;
  width: 46px;
  background-size: contain;
  background-repeat: no-repeat;
}

.accordion-tariff .accordion-button {
  padding: 0.6rem 1rem;
  color: #15315d;
  background-color: #f5f5f5;
  font-weight: 600;
}

.edires-summary-message {
  font-size: 20px;
  color: #3c669a;
}

.ss-main .ss-single-selected {
  height: 34px;
}

.choices {
  margin-bottom: 0px !important;
  border-radius: 3px;
  background-color: white;
}

.choices__inner {
  min-height: 32px;
  border-radius: 3px;
  background-color: white;
}

.choices__inner:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.choices[data-type*="select-one"] .choices__inner {
  height: 32px;
  padding: 0 !important;
  padding-left: 4px !important;
}

.choices[data-type*="select-one"] .choices__input {
  display: block;
  width: 100%;
  padding: 8px;
  border-bottom: 1px solid #dddddd;
  background-color: #fff;
  margin: 0;
}

.large-text {
  font-size: 0.9em;
}

.form-floating .ts-control.form-select {
  padding-top: 1.05rem 0rem 0rem 0rem !important;
}

.form-floating .ts-input.focus {
  box-shadow: none !important;
}

.ts-control.form-select.ts-focus-c {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.form-floating>.form-control.form-control-sm,
.form-floating>.form-select.form-select-sm {
  height: calc(3rem + 2px);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  opacity: 0.9;
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.input-group>.form-floating {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.proc-code-list-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  min-width: 12px;
  display: inline-block;
}

.proc-code-item-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.exporter-list-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.exporter-item-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.exporter-item-text-2 {
  color: #0c4b98 !important;
}

.importer-list-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.importer-item-text {
  font-weight: 600;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.importer-item-text-2 {
  color: #0c4b98 !important;
}

.exporter-item-text-2,
.importer-item-text-2 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  /*width: calc(100% - 14px);*/
}

.sel-list-text {
  font-weight: bold;
  margin-right: 6px;
  color: #328bc1;
  min-width: 12px;
  display: inline-block;
}

.sel-item-text {
  font-weight: bold;
  margin-right: 6px;
  color: #328bc1;
  display: inline-block;
}

.sel-item-text-2 {
  color: #0c4b98 !important;
}

.sel-item-text-3 {
  color: cadetblue !important;
  font-weight: bold;
}

.ts-control.form-select .item {
  /*width:100%;*/
}

.section-seperator {
  width: 100%;
  margin-bottom: 16px;
  padding: 4px 10px;
  color: #3c5060;
  overflow: hidden;
  background: #f1f3f5;
  border-radius: 3px;
  font-weight: 700;
  border: 1px solid #e5e5e5;
  font-size: 15px;
  box-shadow: inset 0px 0px 4px 0px #ced8df40;
  margin-top: 6px;
}

.section-seperator>hr {
  border-bottom: 1px solid #1486e8;
  border-color: currentColor;
  position: relative;
  top: -7px;
  left: 130px;
  overflow: hidden;
  margin: 0 !important;
}

.section-seperator.section-seperator-small {}

.alert-special {
  color: red;
  background-color: #fff2f2;
  border-color: red;
  border-width: 0px 0px 0px 6px;
  border-radius: 0;
}

/*
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link {
    border: 0;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-bottom: 4px solid #2a81ba;
}

.card-header.no-style {
    padding: .5rem 1rem;
    margin-bottom: 0;
    border-bottom: 0px solid rgba(0,0,0,.125);
    background-color:transparent;
}*/

.card-header.no-style {
  background-color: rgb(255 255 255);
  padding: 0.5rem 0.5rem;
  border-radius: 0px !important;
}

.card-header {
  border-bottom: 1px solid #eee;
}

.footer {
  border-top: 1px solid rgba(152, 166, 173, 0.2);
  bottom: 0;
  padding: 30px 24px;
  position: relative;
  right: 0;
  color: #98a6ad;
  background-color: #f9f9f9;
  left: -1px;
  width: 100vw;
  z-index: -1;  
  margin-top: 30px;
}

.table-list td {
  border-bottom: 1px solid #e6ecf2;
}

.table-list td {
  cursor: pointer;
}

.content-page {
  margin-left: -12px;
  margin-right: -12px;
  margin-left: 66px;
}

.wrapper {
  overflow-x: hidden;
}

.logo {
  background-image: url("../logo.png");
  height: 42px;
  width: 46px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

.nav-item.active .nav-link {
  color: #2377e2;
}

.nav-link {
  color: #212529;
}

.navbar-custom {
  background-color: white;
  -webkit-box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
  box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
  position: fixed;
  right: 0;
  left: 0;
  min-height: 70px;
  z-index: 1001;
  display: flex;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #0d6efd;
}

.sidebar-inner li.active>a {
  color: #0d6efd;
}

.sidebar-inner li>a>span {
  display: block;
  margin-top: -6px;
  font-size: 11px;
}

.logo-icon {
  background-color: white;
  padding-bottom: 14px !important;
}

.no-data-placeholder {
  border: 1px solid #e8e8e8;
  background-color: #f7f7f7;
  border-radius: 5px;
}

.no-data-placeholder>span {
  display: inline-block;
  font-size: 1.5em;
}

.table-clickable-row {
  cursor: pointer;
}

.nav-link-company>a {
  vertical-align: middle;
  text-align: right;
  max-height: 68px;
  margin-top: -27px;
  padding-top: 25px;
}

.nav-link-company .company-name {
  font-weight: 600;
  font-size: 1.13em;
  color: #353535;
}

.nav-link-company>a:hover {}

.nav-link-company .company-customscode {
  display: block;
}

.nav-link-user>a {
  margin-top: -18px;
  max-height: 55px;
  vertical-align: middle;
  font-size: 42px;
  padding-right: 18px;
}

.nav-link-user i {
  color: #348ec4;
}

.sidebar-navlink {
  border: 0;
  color: rgb(65 78 93);
}

.sidebar-navlink>span {
  display: block;
  font-size: 12px;
  margin-top: -5px;
  color: #191919;
}

.nav-link-user>i span {
  font-size: 28px;
  color: white;
  position: absolute;
  top: 23%;
  left: 32%;
  height: 100%;
  font-style: normal;
  font-weight: 600;
  width: 19px;
  height: 100%;
  text-align: center;
}

.navbar-cus {
  height: 71px;
}

.sidebar-navlink.active {
  color: #fff !important;
  background-color: #358fc5 !important;
  border-color: #49a7d7 !important;
  background: linear-gradient(to left,
      rgb(64 157 207),
      rgb(74 169 216),
      rgb(41, 128, 185));
}

.sidebar-navlink.active>span {
  color: white !important;
}

.dropdown-toggle::after {
  content: "";
  display: none;
}

.user-icon-container {
  background: #2b83bb;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0;
  color: white;
}

.user-icon-text {
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.input-group-btn {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-color: silver;
  background-color: #fafafa;
  border-left-style: dotted;
  border-right-style: solid;
}

.input-group-btn-mid {
  margin-right: -4px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  margin-left: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-color: silver;
  background-color: #fafafa;
  border-left-style: dotted;
  border-right-style: dashed;
}

.input-group.input-group-sm .ts-control.form-select {
  height: 31px;
  border-top-left-radius: 3px !important;
  border-bottom-left-radius: 3px !important;
}

.input-group.input-group-sm>div>button {
  /*    height: 35px;*/
}

.nav-company-info {
  text-align: right;
  margin-right: 8px;
  border-right: 1px solid #e4e9ef;
  padding-right: 14px !important;
}

.nav-company-info>.customs-code {
  font-size: 14px;
  font-weight: 600;
  color: #5c6469de;
}

.nav-company-info>.company-name {
  font-weight: 600;
  color: #5f6b73;
  font-size: 15px;
}

.bg-info2 {
  background-color: #546a7e !important;
}

.bg-info3 {
  background-color: #f8eaa1 !important;
  color: #996900;
}

.bg-light-yellow {
  background-color: #fffcea !important;
}

.bg-purple {
  background-color: #7c9eff !important;
}

.bg-grey {
  background-color: #94a0b3 !important;
}

.color-purple {
  color: #7c9eff !important;
}

.text-tiny {
  font-size: 0.9em;
}

.text-bold {
  font-weight: bold;
}

.subheading-desc {
  display: block;
  width: 160px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.modal-header,
.modal-footer {
  background-color: #f2f2f2;
}

.navbar-shortcuts {
  font-size: 14px;
}

.nav-tabs.nav-flat .nav-item.show .nav-link,
.nav-tabs.nav-flat .nav-link.active {
  color: rgb(18 45 72);
  background-color: rgb(255 255 255);
  border-bottom: 3px solid rgb(11 72 116) !important;
  font-weight: bold;
}

.nav-tabs.nav-flat .nav-link {
  border: 0px !important;
}

.popover {
  padding: 0px !important;
}

.delete-invoice-confirm,
.delete-confirm-tippy {
  text-align: left;
}

.main-content-panel {
  /* box-shadow: 0 20px 27px 0 rgb(0 0 0 / 5%); */
  padding-left: 10px;
}

.has-open-case {
  background-color: #ffdc75;
  color: black;
  border-width: 1px !important;
  border-color: #f7ce84 !important;
}

.badge-proccode {
  background-color: #cddef5 !important;
  color: #325c94;
}

.badge-constype-export {
  background-color: #5ea6ea !important;
}

.badge-constype-import {
  background-color: #ec508d !important;
}

.badge-constype-transit {
  background-color: #4a8373 !important;
}

.boelist-invdetails {
  background-color: lightblue;
  color: darkblue;
  border-radius: 6px;
}

.searchOptions {
  border-bottom: 1px solid #c6cfd8;
  margin-bottom: 18px !important;
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 18px 18px 10px 18px;
}

.no-border-radius {
  border-radius: 0px;
}

.invoice-total-label {
  width: auto;
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}

.form-subtitle {
  font-weight: bold;
  border-bottom: 1px dotted silver;
  display: inline-block;
  margin-bottom: 8px;
  color: #0088e3;
  font-size: 15px;
}

.btn-link-flat {
  background-color: transparent;
  border: none;
}

.btn-secondary-light {
  color: #1b265a;
  background-color: #c7d4e1;
}

.sm-table-th {
  font-size: 1.3em;
  color: #042650;
  background-color: #5c93c3 !important;
  color: #012240;
}

.bg-value-info {
  background-color: #9fb4c754 !important;
  color: #0b3050de;
  font-weight: normal;
}

.dash-data {
  padding: 22px 20px 4px 20px;
  background-color: white;
  border: 1px solid #e8eef3;
  box-shadow: none;
  border-radius: 4px;
  margin-top: 14px;
  /*box-shadow: 2px 2px 0px 0px #bbc3d37d;*/
}

.dash-data-title {
  border-bottom: 1px solid #edeff1;
  margin: -22px -20px 0px -20px;
  padding: 14px 20px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.dash-data.today .dash-data-title {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='400' cy='400' r='50%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%230EF'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='400' cy='400' r='70%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%230FF'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg fill-opacity='.8'%3E%3Cpath fill='url(%23b)' d='M998.7 439.2c1.7-26.5 1.7-52.7 0.1-78.5L401 399.9c0 0 0-0.1 0-0.1l587.6-116.9c-5.1-25.9-11.9-51.2-20.3-75.8L400.9 399.7c0 0 0-0.1 0-0.1l537.3-265c-11.6-23.5-24.8-46.2-39.3-67.9L400.8 399.5c0 0 0-0.1-0.1-0.1l450.4-395c-17.3-19.7-35.8-38.2-55.5-55.5l-395 450.4c0 0-0.1 0-0.1-0.1L733.4-99c-21.7-14.5-44.4-27.6-68-39.3l-265 537.4c0 0-0.1 0-0.1 0l192.6-567.4c-24.6-8.3-49.9-15.1-75.8-20.2L400.2 399c0 0-0.1 0-0.1 0l39.2-597.7c-26.5-1.7-52.7-1.7-78.5-0.1L399.9 399c0 0-0.1 0-0.1 0L282.9-188.6c-25.9 5.1-51.2 11.9-75.8 20.3l192.6 567.4c0 0-0.1 0-0.1 0l-265-537.3c-23.5 11.6-46.2 24.8-67.9 39.3l332.8 498.1c0 0-0.1 0-0.1 0.1L4.4-51.1C-15.3-33.9-33.8-15.3-51.1 4.4l450.4 395c0 0 0 0.1-0.1 0.1L-99 66.6c-14.5 21.7-27.6 44.4-39.3 68l537.4 265c0 0 0 0.1 0 0.1l-567.4-192.6c-8.3 24.6-15.1 49.9-20.2 75.8L399 399.8c0 0 0 0.1 0 0.1l-597.7-39.2c-1.7 26.5-1.7 52.7-0.1 78.5L399 400.1c0 0 0 0.1 0 0.1l-587.6 116.9c5.1 25.9 11.9 51.2 20.3 75.8l567.4-192.6c0 0 0 0.1 0 0.1l-537.3 265c11.6 23.5 24.8 46.2 39.3 67.9l498.1-332.8c0 0 0 0.1 0.1 0.1l-450.4 395c17.3 19.7 35.8 38.2 55.5 55.5l395-450.4c0 0 0.1 0 0.1 0.1L66.6 899c21.7 14.5 44.4 27.6 68 39.3l265-537.4c0 0 0.1 0 0.1 0L207.1 968.3c24.6 8.3 49.9 15.1 75.8 20.2L399.8 401c0 0 0.1 0 0.1 0l-39.2 597.7c26.5 1.7 52.7 1.7 78.5 0.1L400.1 401c0 0 0.1 0 0.1 0l116.9 587.6c25.9-5.1 51.2-11.9 75.8-20.3L400.3 400.9c0 0 0.1 0 0.1 0l265 537.3c23.5-11.6 46.2-24.8 67.9-39.3L400.5 400.8c0 0 0.1 0 0.1-0.1l395 450.4c19.7-17.3 38.2-35.8 55.5-55.5l-450.4-395c0 0 0-0.1 0.1-0.1L899 733.4c14.5-21.7 27.6-44.4 39.3-68l-537.4-265c0 0 0-0.1 0-0.1l567.4 192.6c8.3-24.6 15.1-49.9 20.2-75.8L401 400.2c0 0 0-0.1 0-0.1L998.7 439.2z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.dash-data.today .dash-data-subtitle {
  color: #003872;
}

.dash-data.today .dash-data-description {
  color: #000118;
}

.dash-data.thismonth .dash-data-title {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='400' cy='400' r='50%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23F736FF'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='400' cy='400' r='70%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23F736FF'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg fill-opacity='.8'%3E%3Cpath fill='url(%23b)' d='M998.7 439.2c1.7-26.5 1.7-52.7 0.1-78.5L401 399.9c0 0 0-0.1 0-0.1l587.6-116.9c-5.1-25.9-11.9-51.2-20.3-75.8L400.9 399.7c0 0 0-0.1 0-0.1l537.3-265c-11.6-23.5-24.8-46.2-39.3-67.9L400.8 399.5c0 0 0-0.1-0.1-0.1l450.4-395c-17.3-19.7-35.8-38.2-55.5-55.5l-395 450.4c0 0-0.1 0-0.1-0.1L733.4-99c-21.7-14.5-44.4-27.6-68-39.3l-265 537.4c0 0-0.1 0-0.1 0l192.6-567.4c-24.6-8.3-49.9-15.1-75.8-20.2L400.2 399c0 0-0.1 0-0.1 0l39.2-597.7c-26.5-1.7-52.7-1.7-78.5-0.1L399.9 399c0 0-0.1 0-0.1 0L282.9-188.6c-25.9 5.1-51.2 11.9-75.8 20.3l192.6 567.4c0 0-0.1 0-0.1 0l-265-537.3c-23.5 11.6-46.2 24.8-67.9 39.3l332.8 498.1c0 0-0.1 0-0.1 0.1L4.4-51.1C-15.3-33.9-33.8-15.3-51.1 4.4l450.4 395c0 0 0 0.1-0.1 0.1L-99 66.6c-14.5 21.7-27.6 44.4-39.3 68l537.4 265c0 0 0 0.1 0 0.1l-567.4-192.6c-8.3 24.6-15.1 49.9-20.2 75.8L399 399.8c0 0 0 0.1 0 0.1l-597.7-39.2c-1.7 26.5-1.7 52.7-0.1 78.5L399 400.1c0 0 0 0.1 0 0.1l-587.6 116.9c5.1 25.9 11.9 51.2 20.3 75.8l567.4-192.6c0 0 0 0.1 0 0.1l-537.3 265c11.6 23.5 24.8 46.2 39.3 67.9l498.1-332.8c0 0 0 0.1 0.1 0.1l-450.4 395c17.3 19.7 35.8 38.2 55.5 55.5l395-450.4c0 0 0.1 0 0.1 0.1L66.6 899c21.7 14.5 44.4 27.6 68 39.3l265-537.4c0 0 0.1 0 0.1 0L207.1 968.3c24.6 8.3 49.9 15.1 75.8 20.2L399.8 401c0 0 0.1 0 0.1 0l-39.2 597.7c26.5 1.7 52.7 1.7 78.5 0.1L400.1 401c0 0 0.1 0 0.1 0l116.9 587.6c25.9-5.1 51.2-11.9 75.8-20.3L400.3 400.9c0 0 0.1 0 0.1 0l265 537.3c23.5-11.6 46.2-24.8 67.9-39.3L400.5 400.8c0 0 0.1 0 0.1-0.1l395 450.4c19.7-17.3 38.2-35.8 55.5-55.5l-450.4-395c0 0 0-0.1 0.1-0.1L899 733.4c14.5-21.7 27.6-44.4 39.3-68l-537.4-265c0 0 0-0.1 0-0.1l567.4 192.6c8.3-24.6 15.1-49.9 20.2-75.8L401 400.2c0 0 0-0.1 0-0.1L998.7 439.2z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.dash-data.thismonth .dash-data-subtitle {
  color: black;
}

.dash-data.thismonth .dash-data-description {
  color: black;
}

.dash-data.lastmonth .dash-data-title {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='400' cy='400' r='50%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%2340FF4F'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='400' cy='400' r='70%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%236BFF39'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg fill-opacity='.8'%3E%3Cpath fill='url(%23b)' d='M998.7 439.2c1.7-26.5 1.7-52.7 0.1-78.5L401 399.9c0 0 0-0.1 0-0.1l587.6-116.9c-5.1-25.9-11.9-51.2-20.3-75.8L400.9 399.7c0 0 0-0.1 0-0.1l537.3-265c-11.6-23.5-24.8-46.2-39.3-67.9L400.8 399.5c0 0 0-0.1-0.1-0.1l450.4-395c-17.3-19.7-35.8-38.2-55.5-55.5l-395 450.4c0 0-0.1 0-0.1-0.1L733.4-99c-21.7-14.5-44.4-27.6-68-39.3l-265 537.4c0 0-0.1 0-0.1 0l192.6-567.4c-24.6-8.3-49.9-15.1-75.8-20.2L400.2 399c0 0-0.1 0-0.1 0l39.2-597.7c-26.5-1.7-52.7-1.7-78.5-0.1L399.9 399c0 0-0.1 0-0.1 0L282.9-188.6c-25.9 5.1-51.2 11.9-75.8 20.3l192.6 567.4c0 0-0.1 0-0.1 0l-265-537.3c-23.5 11.6-46.2 24.8-67.9 39.3l332.8 498.1c0 0-0.1 0-0.1 0.1L4.4-51.1C-15.3-33.9-33.8-15.3-51.1 4.4l450.4 395c0 0 0 0.1-0.1 0.1L-99 66.6c-14.5 21.7-27.6 44.4-39.3 68l537.4 265c0 0 0 0.1 0 0.1l-567.4-192.6c-8.3 24.6-15.1 49.9-20.2 75.8L399 399.8c0 0 0 0.1 0 0.1l-597.7-39.2c-1.7 26.5-1.7 52.7-0.1 78.5L399 400.1c0 0 0 0.1 0 0.1l-587.6 116.9c5.1 25.9 11.9 51.2 20.3 75.8l567.4-192.6c0 0 0 0.1 0 0.1l-537.3 265c11.6 23.5 24.8 46.2 39.3 67.9l498.1-332.8c0 0 0 0.1 0.1 0.1l-450.4 395c17.3 19.7 35.8 38.2 55.5 55.5l395-450.4c0 0 0.1 0 0.1 0.1L66.6 899c21.7 14.5 44.4 27.6 68 39.3l265-537.4c0 0 0.1 0 0.1 0L207.1 968.3c24.6 8.3 49.9 15.1 75.8 20.2L399.8 401c0 0 0.1 0 0.1 0l-39.2 597.7c26.5 1.7 52.7 1.7 78.5 0.1L400.1 401c0 0 0.1 0 0.1 0l116.9 587.6c25.9-5.1 51.2-11.9 75.8-20.3L400.3 400.9c0 0 0.1 0 0.1 0l265 537.3c23.5-11.6 46.2-24.8 67.9-39.3L400.5 400.8c0 0 0.1 0 0.1-0.1l395 450.4c19.7-17.3 38.2-35.8 55.5-55.5l-450.4-395c0 0 0-0.1 0.1-0.1L899 733.4c14.5-21.7 27.6-44.4 39.3-68l-537.4-265c0 0 0-0.1 0-0.1l567.4 192.6c8.3-24.6 15.1-49.9 20.2-75.8L401 400.2c0 0 0-0.1 0-0.1L998.7 439.2z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.dash-data.lastmonth .dash-data-subtitle {
  color: #003604;
}

.dash-data.lastmonth .dash-data-description {
  color: #285612;
}

.dash-data.opencases .dash-data-title {
  background-color: #eecc1e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23EECC1E'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='750' x2='1550' y2='750'%3E%3Cstop offset='0' stop-color='%23f7e68f'/%3E%3Cstop offset='1' stop-color='%23EECC1E'/%3E%3C/linearGradient%3E%3Cpath id='s' fill='url(%23b)' d='M1549.2 51.6c-5.4 99.1-20.2 197.6-44.2 293.6c-24.1 96-57.4 189.4-99.3 278.6c-41.9 89.2-92.4 174.1-150.3 253.3c-58 79.2-123.4 152.6-195.1 219c-71.7 66.4-149.6 125.8-232.2 177.2c-82.7 51.4-170.1 94.7-260.7 129.1c-90.6 34.4-184.4 60-279.5 76.3C192.6 1495 96.1 1502 0 1500c96.1-2.1 191.8-13.3 285.4-33.6c93.6-20.2 185-49.5 272.5-87.2c87.6-37.7 171.3-83.8 249.6-137.3c78.4-53.5 151.5-114.5 217.9-181.7c66.5-67.2 126.4-140.7 178.6-218.9c52.3-78.3 96.9-161.4 133-247.9c36.1-86.5 63.8-176.2 82.6-267.6c18.8-91.4 28.6-184.4 29.6-277.4c0.3-27.6 23.2-48.7 50.8-48.4s49.5 21.8 49.2 49.5c0 0.7 0 1.3-0.1 2L1549.2 51.6z'/%3E%3Cg id='g'%3E%3Cuse href='%23s' transform='scale(0.12) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.2) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.25) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(0.3) rotate(-20)'/%3E%3Cuse href='%23s' transform='scale(0.4) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(0.5) rotate(20)'/%3E%3Cuse href='%23s' transform='scale(0.6) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.7) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.835) rotate(-40)'/%3E%3Cuse href='%23s' transform='scale(0.9) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(1.05) rotate(25)'/%3E%3Cuse href='%23s' transform='scale(1.2) rotate(8)'/%3E%3Cuse href='%23s' transform='scale(1.333) rotate(-60)'/%3E%3Cuse href='%23s' transform='scale(1.45) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(1.6) rotate(10)'/%3E%3C/g%3E%3C/defs%3E%3Cg %3E%3Cg transform=''%3E%3Ccircle fill='url(%23a)' r='3000'/%3E%3Cg opacity='0.5'%3E%3Ccircle fill='url(%23a)' r='2000'/%3E%3Ccircle fill='url(%23a)' r='1800'/%3E%3Ccircle fill='url(%23a)' r='1700'/%3E%3Ccircle fill='url(%23a)' r='1651'/%3E%3Ccircle fill='url(%23a)' r='1450'/%3E%3Ccircle fill='url(%23a)' r='1250'/%3E%3Ccircle fill='url(%23a)' r='1175'/%3E%3Ccircle fill='url(%23a)' r='900'/%3E%3Ccircle fill='url(%23a)' r='750'/%3E%3Ccircle fill='url(%23a)' r='500'/%3E%3Ccircle fill='url(%23a)' r='380'/%3E%3Ccircle fill='url(%23a)' r='250'/%3E%3C/g%3E%3Cg transform='rotate(-90 0 0)'%3E%3Cuse href='%23g' transform='rotate(10)'/%3E%3Cuse href='%23g' transform='rotate(120)'/%3E%3Cuse href='%23g' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle fill-opacity='0.1' fill='url(%23a)' r='3000'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.dash-data.opencases .dash-data-subtitle {
  color: #524501;
}

.dash-data.opencases .dash-data-description {
  color: black;
}

.dash-data-subtitle {
  font-size: 18px;
  margin: -10px -4px;
  font-weight: 600;
  color: white;
  /*#667687;*/
}

.dash-data-description {
  margin: 8px -4px -10px -4px;
  color: #747d87;
  font-style: normal;
  font-size: 12px;
}

.dash-data-content {
  padding: 8px 0px;
}

.dash-label-caption {
  font-weight: 600;
  color: #4e5e6e;
  font-size: 1.1em;
}

.dash-label-value {
  font-weight: 600;
  color: #4e5e6e;
  font-size: 1.1em;
}

.dash-welcome-title {
  margin-bottom: 10px;
}

.dash-welcome-title>h1 {
  font-size: 2rem;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dash-welcome-title>div {
  color: #0c4fb5;
  font-size: 1.3em;
  font-weight: 600;
}

.dash-info-spinner {
  font-weight: normal;
  font-size: 10px;
}

/*small screen*/
@media (max-width: 575.98px) {
  .main-content {
    padding: 12px;
  }

  .main-content-panel {
    padding-left: 0px;
  }

  #wrapper {
    overflow-x: hidden !important;
    /* Changed from scroll to hidden */
  }

  .exporter-item-text,
  .importer-item-text {
    display: none;
  }

  /* Improve table responsiveness */
  .table-responsive {
    overflow-x: auto;
  }

  /* Adjust filter buttons for small screens */
  .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  /* Make page size selector more compact */
  .page-size-container {
    margin-top: 10px;
  }
}

/*large screen*/
@media (min-width: 576px) {
  .main-content {
    /* padding: 20px 20px; */
  }
}

.btn-primary2 {
  color: #fff;
  background-color: #0d6efd;
  border-color: #2c84bc;
}

.btn-primary2:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.settings-readonly-value {
  font-size: 1.1em;
  font-weight: bold;
}

.logo-path {
  display: inline-block;
  padding: 8px 20px;
  background-color: #dbe2e9;
  border-radius: 3px;
  color: darkblue;
}

.ts-wrapper.form-select-sm .ts-control {
  padding-top: 1px;
  padding-bottom: 2px;
}

.modal-nav-tab .nav-link {
  border: 1px solid #ddd;
  color: #555;
  background-image: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  margin-right: 2px;
  padding: 8px !important;
  border-radius: 6px 6px 0 0;
  transition: background-image 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
  min-width: max-content;
}

.modal-nav-tab .nav-link.active {
  color: #010b22;
  background-image: linear-gradient(to bottom, #fff, #fff);
  border-color: #ddd #ddd #fff;
  font-weight: 600;
  z-index: 1;
  margin-bottom: -1px;
  padding-bottom: calc(0.25rem + 1px);
}

/* Optional: Add this to the parent nav if there's still a border showing */
.modal-nav-tab {
  border-bottom: 1px solid #ddd;
  position: relative;  
}

.bg-lighter-blue {
  background-color: #d3d3d34d;
}

.wide-tooltip .tooltip-inner {
  max-width: 400px;
  /* or any width you prefer */
  /* you can also override other properties like white-space, etc. */
  text-align: left;
}

.invoice-party-name {
  color: #878889;
  font-size: 13px;
  font-weight: 600;
  width: 110px;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-ustoms-code {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.nav-customs-code {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-company-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-link-user {
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  color: #2c2e31;
  min-width: 32px;
  min-height: 32px;
  opacity: 1;
  visibility: visible;
}

.nav-link-user:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}

.user-icon-container {
  width: 24px;
  height: 24px;
  background-color: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0;
  color: white;
}

.user-icon-text {
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.dropdown-menu {
  padding: 8px 0;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-top: 8px;
}

.dropdown-item {
  padding: 8px 16px;
  color: #2c2e31;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.user-profile-section {
  min-height: 40px;
  display: flex;
  align-items: center;
}

.user-profile-section[x-cloak] {
  opacity: 0;
  visibility: hidden;
}

/* Remove scrollbars and prevent horizontal scrolling for Add BOE tab links */
#myTab.nav-tabs {
  overflow: visible !important;
  flex-wrap: wrap !important;
  margin-bottom: 0px;
}

#myTab.nav-tabs .nav-link {
  padding: .50rem 1.5rem !important;
  font-size: 0.875rem;
  margin-right: 2px;
}

/* Fix for tab clickability issues */
.nav-tabs .nav-link {
  cursor: pointer !important;
  pointer-events: all !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  position: relative;
  z-index: 1;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 8px 16px !important;
  font-size: 0.875rem;
}

.nav-tabs .nav-link:hover {
  background-color: #e9ecef;
  border-color: #dee2e6 #dee2e6 #fff;
  border-bottom-width: 1px;
  z-index: 2;
}

.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  border-bottom-width: 1px;
  z-index: 2;
}

/* Fix for Alpine.js and Bootstrap tab conflicts */
.nav-tabs .nav-link[data-bs-toggle="tab"] {
  display: block;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent !important;  
}

.nav-tabs .nav-link[data-bs-toggle="tab"]:focus {
  outline: 0;
  /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

/* Ensure tab content is properly displayed */
.tab-content>.tab-pane {
  display: none;
}

.tab-content>.tab-pane.active {
  display: block;
}

.tab-content>.tab-pane.show {
  display: block;
}

/* Fix for Turbo.js navigation issues */
.nav-tabs .nav-link {
  transition: none;
}

/* Ensure badges in tabs don't interfere with clicks */
.nav-tabs .nav-link .badge {
  pointer-events: none;
}

.nav-tabs .nav-link .spinner-border {
  pointer-events: none;
}

/* Fix for card with tabs to eliminate gaps */
.card-noborder .card-header.no-style {
  background-color: transparent;
  border: none;
  padding-bottom: 0;
}

/* Ensure seamless connection between tabs and content */
.nav-tabs+.card-body,
.card-header.no-style+.card-body {
  border-top: 1px solid #dee2e6;
  margin-top: 0;
}


/* --- TABS --- */
.nav-tabs.nav-flat .nav-link {
  border: 0px !important;
  cursor: pointer !important;
  user-select: none;
  position: relative;
  z-index: 1;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem;
}

.nav-tabs.nav-flat .nav-link.active {
  color: #0b3050;
  background-color: #e8f0fa;
  border-bottom: 3px solid #0873b7 !important;
  font-weight: 600;
  z-index: 2;
}

.nav-tabs .nav-link:hover {
  background-color: #f0f7fc;
  border-color: #cbe2f0 #cbe2f0 #fff;
  border-bottom-width: 1px;
  z-index: 2;
}
