:root {
    --primary-color: #002652;
    --secondary-color: #F7941D;
    --text-color: #333333;
    --link-color:#0c111d;
    --navbar-height: 88px;
    --sectors-height: 40px;
    --sidebar-bg: #F8F9FA;
    --sidebar-hover: #E9ECEF;
    --sidebar-active: #DEE2E6;
    --sidebar-width: 250px;
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color: var(--text-color);
    background-color: #ffffff;
}

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
@import "~@fortawesome/fontawesome-free/css/all.css";

/* Font face working fine on bigger screens but causing spacing issues on iPhone/iPad/iPod devices  */
@font-face {
    font-family: "HelveticaNeue-Light";
    src: url("/public/assets/dist/fonts/helveticaneue-light-webfont.woff2") format("woff2"),
        url("/public/assets/dist/fonts/helveticaneue-light-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("/public/assets/dist/fonts/HelveticaNeue.eot");
    src: url("/public/assets/dist/fonts/HelveticaNeue.eot?#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/HelveticaNeue.ttf") format("truetype");
}

@font-face {
    font-family: "HelveticaNeue-Bold";
    src: url("/public/assets/dist/fonts/HelveticaNeue-Bold.eot");
    src: url("/public/assets/dist/fonts/HelveticaNeue-Bold.eot?#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/HelveticaNeue-Bold.woff") format("woff"),
        url("/public/assets/dist/fonts/HelveticaNeue-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "HelveticaNeue-CondensedBold";
    src: url("/public/assets/dist/fonts/HelveticaNeue-CondensedBold.eot");
    src: url("/public/assets/dist/fonts/HelveticaNeue-CondensedBold.eot?#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/HelveticaNeue-CondensedBold.woff") format("woff"),
        url("/public/assets/dist/fonts/HelveticaNeue-CondensedBold.ttf") format("truetype");
}

@font-face {
    font-family: "HelveticaNeue-Light";
    src: url("/public/assets/dist/fonts/HelveticaNeue-Light.eot");
    src: url("/public/assets/dist/fonts/HelveticaNeue-Light.eot?#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/HelveticaNeue-Light.woff") format("woff"),
        url("/public/assets/dist/fonts/HelveticaNeue-Light.ttf") format("truetype");
}

@font-face {
    font-family: "HelveticaNeue-Medium";
    src: url("/public/assets/dist/fonts/HelveticaNeue-Medium.eot");
    src: url("/public/assets/dist/fonts/HelveticaNeue-Medium.eot?#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/HelveticaNeue-Medium.woff") format("woff"),
        url("/public/assets/dist/fonts/HelveticaNeue-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "icomoon";
    src: url("/public/assets/dist/fonts/icomoon.eot?7lk46x");
    src: url("/public/assets/dist/fonts/icomoon.eot?7lk46x#iefix") format("embedded-opentype"),
        url("/public/assets/dist/fonts/icomoon.ttf?7lk46x") format("truetype"),
        url("/public/assets/dist/fonts/icomoon.woff?7lk46x") format("woff"),
        url("/public/assets/dist/fonts/icomoon.svg?7lk46x#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* Dashboard Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation */
.navbar {
    background-color: #002652;
    padding: 0.5rem 1.5rem;
    height:88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 44px;
    width: 120px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-right .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 6px 12px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-right .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-profile .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

/* Sectors Bar */
.sectors-bar {
    background-color: #F7941D;
    padding: 0.5rem 1.5rem;
    height: var(--sectors-height);
    display: flex;
    align-items: center;
}

.sectors-dropdown .btn {
    font-weight: 500;
    color: #000000;
    padding: 8px 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sectors-dropdown .btn:hover,
.sectors-dropdown .btn:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Main Layout */
.main-layout {
    display: flex;
    min-height: calc(100vh - var(--navbar-height));
}

/* Sidebar */
.sidebar {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    z-index: 1000;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    height:auto;
}

#sidebarToggle .menu-icon.pushmenuicon{display:none;}
#sidebarToggle .menu-icon{display:block;}
.sidebar-toggled #sidebarToggle .menu-icon{display:none;}
.sidebar-toggled #sidebarToggle .menu-icon.pushmenuicon{display:block;}
.nav-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-section-header {
    padding: 12px 16px;
    background-color: #f8f9fa;
    cursor: pointer;
    user-select: none;
    font-weight:600;
    font-size: 14px;
    color: #0c111d !important;
    transition: background-color 0.3s ease;
}

.nav-section-header:hover,.custom-nav-item:hover {
    background-color:#d0d5dd;
}

.nav-section-header.active {
    background-color:#d0d5dd;
}

.nav-section-header i {
    transition: transform 0.3s ease;
}

.nav-section-content {
    display: none;
    background-color: #ffffff;
}

.nav-section-content.show {
    display: block;
    background-color: #d0d5dd;
    margin-left: 0 !important;
    padding-bottom: 10px;
    padding-left: 16px;
}

.nav-section-content .nav-item {
    margin: 0;
    padding: 0;
}

.nav-section-content.show .nav-item .nav-link {
    font-size: 12px;
    border-left: 1px solid #344054;
    color: #344054 !important;
    padding-left: 10px !important;
    font-weight: 500;
    padding: 5px 10px;
}
.nav-section-content.show .nav-item .nav-link:hover{position:relative;background:none;}
.nav-section-content.show .nav-item .nav-link:hover:before{content:"";position:absolute;border:2px solid #000f21;border-radius:5px;left:-3px;height:95%;top:0;}
.nav-section-content.show .nav-item .nav-link.active {
    background: transparent;
    color: #000f21 !important;
    font-weight: 700;
    border-left: 2px solid #000f21;
}
.nav-section-content .nav-link {
    padding: 10px 32px;
    color: #212529;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-section-content .nav-link:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.nav-section-content .nav-link.active {
    background-color: #e9ecef;
}
.custom-nav-item .nav-link {
    color: #0c111d;font-size:14px;font-weight:600;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease, width 0.3s ease;
    padding: 20px;
    width: calc(100% - var(--sidebar-width));
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--link-color);
    text-decoration: none;
}

.welcome-section {
    text-align: center;
    margin-top: 40px;
}

.welcome-section h1 {
    font-size: 24px;
    margin-bottom: 40px;
}

.cargo-illustration {
    background-color: #001529;
    border-radius: 4px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.cargo-text {
    color: #00A3E0;
    font-size: 3.5rem;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 8px;
}

.cargo-subtext {
    color: #00A3E0;
    opacity: 0.6;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1.2;
}

.ship-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    max-width: 800px;
}

/* Login Page Styles */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.login-container {
    height: 100vh;
}

/* Left Section */
.left-section{
    flex-shrink: 0;
    background-color: #faf9f6;
    display: flex;
    padding: var(--spacing-x-big, 24px);
    align-items: center;
    gap: 10px;
    border: none;
}

.brand-content .logo {
    width: 200px;
    margin-bottom: 48px;
}

.brand-content h1 {
    color: #002652;
    font-size:36px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 500;
}

.brand-content p {
    color: #002652;
    font-size:18px;
    line-height: 1.5;
    margin: 0;
}

/* Right Section */
.right-section .login-form-container {
    align-items: center;
    background-color: #faf9f6;
    border: none;
    border-radius: 0;
    padding:30px 15px;
}

.logo-icon {
    width: 40px;
    margin-bottom: 16px;
}

.login-form-container h2 {
    color: #002652;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #212529;
    font-size:14px;
}
label{font-size:14px;color: #212529;}
table.dataTable>thead .sorting:before, 
table.dataTable>thead .sorting_asc:before, 
table.dataTable>thead .sorting_desc:before, 
table.dataTable>thead .sorting_asc_disabled:before, 
table.dataTable>thead .sorting_desc_disabled:before{
    content: ">";
    transform: rotate(90deg);
}
table.dataTable thead th.sorting:after, table.dataTable thead th.sorting_asc:after, table.dataTable thead th.sorting_desc:after{
    content: "<";
    transform: rotate(90deg);
    display: none;
}
table.dataTable>thead tr .sorting.sorting_asc::after{display: none;}
table.dataTable>thead tr .sorting.sorting_desc::after{display: block;right:1em;}
table.dataTable>thead tr .sorting.sorting_desc::before{display: none;}
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after{bottom: 0.6em;font-weight:700;}

.required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    height:40px;
    padding:7px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size:14px;
}

.form-control::placeholder {
    color: #6c757d;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}



.forgot-password-container {
    margin-bottom: 24px;
}

.forgot-password {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
}

.signup-container p {
    margin-bottom: 16px;
    color: #212529;
}

.signup-link {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
}

.trouble-login {
    background-color: #FFF3E0;
    color: #664D03;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .left-section {
        display: none;
    }
    
    .right-section {
        padding: 20px;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    body.sidebar-toggled .sidebar {
        transform: translateX(0);
    }
} 

/* Update Sidebar Toggle Button styles */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin-right: 15px;
}

.sidebar-toggle .menu-icon {
    width: 24px;
    height: 24px;
}

.sidebar-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Update Sectors Bar to accommodate toggle */
.d-flex {
    display: flex;
    align-items: center;
}

.sectors-bar {
    height: var(--sectors-height);
    padding: 0 0.5rem;
}

/* Update sidebar styles for ul/li format */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    border-bottom:none;
}

.nav-section-content {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: #fff;
}

.nav-section-content.show {
    display: block;
}

.nav-section-content li {
    margin: 0;
    padding: 0;
}

.nav-section-content .nav-link {
    padding: 10px 32px;
    color: #212529;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-section-content .nav-link:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.nav-section-content .nav-link.active {
    background-color: #e9ecef;
}
.nav-item .nav-link p{color:#0c111d;margin-bottom:0;}

/* Add these styles for the user profile dropdown */
.user-profile .dropdown-menu {
    margin-top: 8px;
    min-width: 200px;
    padding: 8px 0;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-profile .dropdown-item {
    padding: 8px 16px;
    color: #212529;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.user-profile .dropdown-item:hover {
    background-color: #f8f9fa;
}

.user-profile .dropdown-item i {
    width: 16px;
    margin-right: 8px;
    color: #6c757d;
}

.user-profile .dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

.user-profile .btn.dropdown-toggle::after {
    display: none;
}

.user-profile .btn.dropdown-toggle {
    background: transparent;
    border: none;
    padding: 8px 12px;
}

.user-profile .btn.dropdown-toggle:hover,
.user-profile .btn.dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}
.main-content .content-wrapper{
    margin-left:0 !important;
}

.sidebar.toggled {
    margin-left: -250px; /* Assuming the sidebar width is 250px */
  }
  
  body.sidebar-toggled .main-content {
    margin-left: 0; /* Adjust according to your layout needs */
  }
  ul.header_right_top li {
    list-style: none;
    color: #fff;
    display: inline-block;
}
ul.header_right_top li{
    margin: 0px 0px 0px 33px;
}
ul.header_right_top li a.log-out {
    color: #fff;
    font-weight: 600;
}

 /* Loader styles */
 .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container.hidden {
    display: none;
}

.loader-container .loader-text {
    color: #fff;
    margin-top: 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.loader-container .spinner {
    width: 70px;
    height: 70px;
    position: relative;
}

.loader-container .spinner div {
    background: #fff;
    border-radius: 50%;
    position: absolute;
    animation: spin 1.2s linear infinite;
}

/* Positioning dots in a complete circle */
.loader-container .spinner div:nth-child(1) { 
    width: 15px; 
    height: 15px; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    animation-delay: 0s; 
}
.loader-container .spinner div:nth-child(2) { 
    width: 13px; 
    height: 13px; 
    top: 14%; 
    right: 14%; 
    animation-delay: 0.1s; 
}
.loader-container .spinner div:nth-child(3) { 
    width: 11px; 
    height: 11px; 
    top: 50%; 
    right: 0; 
    transform: translateY(-50%); 
    animation-delay: 0.2s; 
}
.loader-container .spinner div:nth-child(4) { 
    width: 9px; 
    height: 9px; 
    bottom: 14%; 
    right: 14%; 
    animation-delay: 0.3s; 
}
.loader-container .spinner div:nth-child(5) { 
    width: 7px; 
    height: 7px; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    animation-delay: 0.4s; 
}
.loader-container .spinner div:nth-child(6) { 
    width: 7px; 
    height: 7px; 
    bottom: 14%; 
    left: 14%; 
    animation-delay: 0.5s; 
}
.loader-container .spinner div:nth-child(7) { 
    width: 9px; 
    height: 9px; 
    top: 50%; 
    left: 0; 
    transform: translateY(-50%); 
    animation-delay: 0.6s; 
}
.loader-container .spinner div:nth-child(8) { 
    width: 11px; 
    height: 11px; 
    top: 14%; 
    left: 14%; 
    animation-delay: 0.7s; 
}

@keyframes spin {
    0%, 15% {
        opacity: 0;
    }
    30%, 70% {
        opacity: 1;
    }
    85%, 100% {
        opacity: 0;
    }
}
ul.header_right_top li .dropdown-item{color:#fff;font-size:16px;font-weight:400;cursor:pointer;}
ul.header_right_top li a.log-out{color:#475467;font-weight:600;padding:0;font-size:15px;}
ul.header_right_top li .dropdown-item.active,ul.header_right_top li .dropdown-item:active{background:none;}
.btn-primary{background-color:#f9b122;color:#002652;border-color:#f9b122;font-weight: 500;font-size:14px;line-height:29px;padding:0 1rem;}
.btn-secondary{border:solid 1px #ddd;background:#d0d5dd;margin:0;font-size:14px;line-height:19px;font-weight:500;color:#000;}

/* API Documentation:Accordion Container */
 .accordion-page .accordion-list {
    list-style: none !important;
    padding: 0;
    margin: 20px 0;
}

/* Accordion Item */
.accordion-page .accordion-list li {
    list-style-type: none !important;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
}

/* Accordion Header */
.accordion-page .accordion-list li h3 {
    margin: 0;
    padding: 15px 20px;
    background: #f4f6f9;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    position: relative;
}

/* Accordion Header Icon */
.accordion-page .accordion-list li h3::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.accordion-page .accordion-list li.active h3::after {
    transform: rotate(180deg);
}

/* Remove any default list styling */
.accordion-page .accordion-list li::before,
.accordion-page .accordion-list li::after {
    display: none !important;
}

/* Accordion Content */
.accordion-page .accordion-list li .answer {
    display: none;
    padding: 20px;
    background: #fff;
}

.accordion-page .accordion-list li.active .answer {
    display: block;
}

/* API Method Styles */
.accordion-page .method {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
}

.accordion-page .method.get {
    background: #e3f2fd;
    color: #1976d2;
}

.accordion-page .method.post {
    background: #e8f5e9;
    color: #388e3c;
}

/* Endpoint URL Styles */
.accordion-page .endpoint-url {
    font-family: monospace;
    padding: 5px 10px;
    background: #cccccc7d;
    border-radius: 4px;
    color: #333;
}

/* Table Styles */
.accordion-page .table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

.accordion-page .table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
}

.accordion-page .table td {
    padding: 12px;
    border-top: 1px solid #dee2e6;
}

/* Response Example Styles */
.accordion-page .response-example {
    background: #2d2d2d;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

/* Endpoint Container */
.accordion-page .endpoint {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}
.endpoint span.endpoint-url {
    font-weight: 600;
}

.endpoint .endpoint-content {
    border: 0.5px solid #ccc;
    padding: 34px;
}



/* Analytics Dashboard */
/* Analytics specific styles that don't conflict with Bootstrap */
.analytics-dashboard .chart-wrapper {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    padding: 1.25rem;
    margin-bottom: 25px;
    height: 100%;
}

.analytics-dashboard .chart-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e3e6f0;
    margin-bottom: 1.5rem;
    position: relative;
    gap: 10px;
    
}
.analytics-dashboard .chart-header i.fa.fa-globe.chart-icon {
    font-size: 22px;
}

.analytics-dashboard .chart-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #4e73df;
}

.analytics-dashboard .chart-icon {
    color: #4e73df;
    margin-right: 0.8rem;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.analytics-dashboard .chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4e73df;
    margin: 0;
}

/* Filter section styles */
.analytics-dashboard .filter-section {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    margin-bottom: 25px;
}

.analytics-dashboard .filter-header {
    background-color: #fff;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
}

.analytics-dashboard .filter-body {
    padding: 1.25rem;
}

/* Chart customization */
.analytics-dashboard .highcharts-grid path {
    stroke: #e3e6f0;
}

.analytics-dashboard .highcharts-axis-line {
    stroke: #e3e6f0;
}

.analytics-dashboard .highcharts-axis-labels text {
    fill: #858796;
} 

.companyVisitsFilter button.select2-selection__choice__remove {
    border-right: unset !important;
    margin: 2px 0px 0px -3px;
}
.companyVisitsFilter button.select2-selection__choice__remove:hover {
    color: #fff;
    background: #3b5fc8;
}

.analytics-dashboard .card-header.bg-primary{background: #f2f4fa !important;margin-bottom: 20px;
    font-size: 18px;border-radius: 5px 5px 0 0;color: #3d4465 !important;} 

/* Company Filter Dropdown Styling */
.analytics-dashboard .chart-header {
    margin-bottom: 20px;
}

.analytics-dashboard .chart-title {
    margin-bottom: 0;
    display: inline-block;
    margin-left: 10px;
}

.analytics-dashboard .chart-header .select2-container {
    width: 100% !important;
}

.analytics-dashboard .chart-header .select2-container .select2-selection--multiple {
    min-height: 35px;
    border-radius: 4px;
}

.analytics-dashboard .chart-header .select2-container .select2-search__field::placeholder {
    color: #6c757d;
    font-size: 0.9rem;
    content: "Select Companies to Filter";
}

.analytics-dashboard .chart-header .select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-height: 38px;
    background-color: #fff;
}

.analytics-dashboard .chart-header .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #4e73df;
    border: 1px solid #4e73df;
    color: white;
    border-radius: 4px;
    padding: 2px 22px;
    margin: 4px 4px;
}

.analytics-dashboard .chart-header .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}

.analytics-dashboard .chart-header .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f8f9fc;
}

.analytics-dashboard .chart-header .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* Filter Label */
.analytics-dashboard .company-filter-label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #4e4e4e;
    display: block;
}
.analytics-dashboard button#applyDateRange{
    padding: 0px 0px 6px 0px;
    margin: 0px 0px 3px 0;

}

.nav-section .nav-section-header a.individual-nav-link {
    color: #0c111d;
    width: 100%;
}

.dashboard-cards h3 {
    white-space: normal;
    text-align: center;
    min-height: 85px;
}

.dashboard-cards .small-box{
    height: calc(100% - 20px) !important;
    display: flex
;
    flex-direction: column;
    padding-bottom: 18px;
}

.dashboard-cards .small-box>.small-box-footer {
    margin-top: auto;
}
#admin-users-table thead th {
    text-transform: capitalize;
}

/* Add these styles to your existing CSS */
#admin-users-table {
    width: 100% !important;
}

#admin-users-table th,
#admin-users-table td {
    white-space: normal;
    word-wrap: break-word;
}

.table-responsive {
    overflow-x: auto;
}

/* Ensure header text doesn't wrap unnecessarily */
#admin-users-table thead th {
    white-space: nowrap;
    vertical-align: middle;
}

/* Add minimum width to prevent too narrow columns */
#admin-users-table th,
#admin-users-table td {
    min-width: 100px;
}

/* Status column specific styling */
#admin-users-table th:last-child,
#admin-users-table td:last-child {
    min-width: 80px;
    text-align: center;
}


table .badge.badge-danger{
    background-color: red;
}

/* Add these styles for the device access column */
#primary-user-list td:nth-child(7) {
    min-width: 120px;
    white-space: nowrap;
}

#primary-user-list th:nth-child(7) {
    min-width: 120px;
}



input#captcha {
    text-transform: uppercase;
}

input#captcha::placeholder {
    text-transform: none;
}

/* Select2 custom styles */
/* .select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
} */

/* New category input styles */
#new_category {
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* Category Selection Styles */
.category-wrapper {
    position: relative;
}

.select2-container {
    width: 100% !important;
}

.new-category-input {
    margin-top: 10px;
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    animation: slideDown 0.3s ease-out;
}

.new-category-input input {
    flex: 1;
}

.new-category-input .btn {
    padding: 0.375rem 0.75rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.select2-results__option:last-child {
    color: #28a745;
    font-weight: 500;
}

.category-wrapper span.select2-selection.select2-selection--single {
    height: 40px;
}

/* Dashboard Card Styles - Added March 25, 2024 */
.dashboard-card {
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.dashboard-card .inner {
    flex: 1;
    padding: 20px;
}

.dashboard-card .inner h3 {
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
    color: #fff;
}

/* Card Grid Responsiveness */
.dashboard-cards .col-lg-4.col-6.card-div-design {
    height: auto;
    padding: 15px;
    margin: 0;
}

.dashboard-card-footer {
    background: rgba(0,0,0,0.1);
    padding: 5px;
}

.dashboard-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card-actions .overview-link {
    flex: 1;
    text-align: center;
    padding: 5px;
    color: white;
}

.dashboard-card-actions .login-link {
    flex: 2;
    text-align: center;
    padding: 5px;
    color: white;
}

.dashboard-card-actions .divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
    height: 20px;
    margin: 0 10px;
}

/* Hover states for better UX */
.dashboard-card-actions a:hover {
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Modal Styles - Added March 25, 2024 */
#overviewModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#overviewContent {
    width: 100%;
}

/* Responsive embed containers */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Content spacing */
#overviewContent p {
    margin-bottom: 1rem;
}

#overviewContent iframe,
#overviewContent .embed-responsive {
    margin: 1rem 0;
}

/* Media embed styles - Added March 25, 2024 */
figure.media {
    margin: 1rem 0;
}

#overviewContent figure.media {
    margin: 1rem 0;
}

#overviewContent .embed-responsive {
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

#overviewContent .embed-responsive iframe {
    border: none;
}

.dashboard-cards .col-lg-4.col-6.card-div-design {
    height: 370px;
    padding-right: 0px;
    margin: 6px 0px 27px 0;
}

/* Modal Styling */
.modal-dialog {
    max-width: 800px;
}

.modal-content {
    border-radius: 8px;
}

.modal-body {
    padding: 20px;
}

/* Responsive Font Sizes */
@media (max-width: 1200px) {
    .dashboard-card .inner h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .dashboard-card .inner h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .dashboard-cards .col-lg-4.col-6.card-div-design {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .dashboard-card .inner h3 {
        font-size: 1.5rem;
    }
}

/* Sidebar Toggle States */
.sidebar.active {
    transform: translateX(-100%);
}

body.sidebar-toggled .main-content {
    margin-left: 0;
    width: 100% !important; /* Force full width */
}

/* Mobile Styles */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}

/* Card-specific styles */
.dashboard-card.card-design-golden {
    background-color: #70767a !important;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.dashboard-card.card-design-golden .inner {
    padding: 20px;
    text-align: center;
}

.dashboard-card.card-design-golden .inner h3 {
    padding: 1.5rem 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin: 0rem 0;
    border-top: 2px solid #f3b000;
    border-bottom: 2px solid #f3b000;    
    line-height: 1.2;
}

.dashboard-card.card-design-golden .small-box-footer {
    background-color:rgb(97 103 106 / 90%);
    padding: 2px;
    position: relative;
}

.dashboard-card.card-design-golden .small-box-footer a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dashboard-card.card-design-golden .small-box-footer a:hover {
    color: #f3b000 !important;
}


@media (max-width: 1400px) {
    .dashboard-card.card-design-golden .inner h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1200px) {
    .dashboard-card.card-design-golden .inner h3 {
        font-size: 1.5rem;
        padding: 1rem 0;
    }
}

@media (max-width: 992px) {
    .dashboard-card.card-design-golden .inner h3 {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
}

@media (max-width: 768px) {
    .dashboard-card.card-design-golden .inner h3 {
        font-size: 1.75rem;
        padding: 1rem 0;
    }
}

.dashboard-card.card-design-route-capacity {
    background-color: #70767a !important;
    position: relative;
}

.dashboard-card.card-design-route-capacity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #f3b000;
}

.dashboard-card.card-design-route-capacity::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #f3b000;
}

.dashboard-card.card-design-route-capacity .inner h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin: 2rem 0;
    text-transform: uppercase;
}

.dashboard-card.card-design-route-capacity .small-box-footer a {
    color: #fff !important;
}

.dashboard-card.card-design-blue {
    background-color: #002652 !important;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.dashboard-card.card-design-blue .inner {
    padding: 20px;
    text-align: center;
}

.dashboard-card.card-design-blue .inner h3 {
    padding: 1.5rem 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin: 0rem 0;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    line-height: 1.2;
}

.dashboard-card.card-design-blue .small-box-footer {
    background-color: rgb(18 52 90 / 88%) !important;
    padding: 2px;
    position: relative;
}

.dashboard-card.card-design-blue .small-box-footer a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dashboard-card.card-design-blue .small-box-footer a:hover {
    color: #F7941D !important;
}

@media (max-width: 1400px) {
    .dashboard-card.card-design-blue .inner h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1200px) {
    .dashboard-card.card-design-blue .inner h3 {
        font-size: 1.5rem;
        padding: 1rem 0;
    }
}

@media (max-width: 992px) {
    .dashboard-card.card-design-blue .inner h3 {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
}

@media (max-width: 768px) {
    .dashboard-card.card-design-blue .inner h3 {
        font-size: 1.75rem;
        padding: 1rem 0;
    }
}


.dashboard-card.card-design-golden.small-box.bg-secondary:after{
    background-color: #70767a61 !important;
} 
.small-box.bg-secondary.dashboard-card {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 205px;
    background-position-y: 82px !important;
}