@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    background:#f5f6fa;
    font-family: "Poppins", sans-serif; color: #878a99; font-size: 14px;
}
h1,h2,h3,h4,h5,h6{color: var(--bs-heading-color);;}
img{max-width: 100%}
.sidebar .collapse .nav-link {
    font-size: 14px;
    padding: 6px 20px;
}
.btn {
    white-space: nowrap;
}.btn-success,.bg-success,.bg-danger ,.bg-warning,.badge{
    background: #18c29c40 !important;
    border: none;
    color: #0ca986 !important;
    font-size: 13px;
    padding: 7px 10px;
    font-weight: 500;
    border-radius: 4px !important;
}
.bg-danger{background: #FADAE5 !important; color: #dc3545 !important}
.bg-warning{color: #ffc107 !important; background: #ffc1073b !important}
.bg-blue{color: #0734ff !important; background: #7dc4f33b !important}
.bg-primary {
    background-color: #405189 !important;
}
.btn-primary {
    background: #405189 ;
    border-color: #405189 ;
}
.sidebar .nav-link:hover {
    background: #f1f1f1;
    border-radius: 6px;
}
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    background: #fff;
    border-right: 1px solid #eee;
}

.sidebar .nav-link {
    color: #495057;
    padding: 10px 12px;
    font-weight: 500;
    border-radius: 6px;    font-size: 13px;
}

.sidebar .nav-link:hover {
    background: #f4f6f9;
    color: #000;
}
ul#sidebarMenu {
    display: flex;
    flex-direction: column;
}
.sidebar .nav-link.active {
    background: #e9ecef;
    color: #000;
}

.sidebar .collapse .nav-link {
    font-size: 14px;
    padding-left: 25px;
}

.sidebar.collapsed {
    margin-left: -250px;
}

.main {
    margin-left: 250px;
    transition: all 0.3s ease;
}

.main.expanded {
    margin-left: 0;
}
.rotate {
    transform: rotate(90deg);
    transition: 0.3s;
}
.main{
    margin-left:250px;
    padding:0;
}
.main_inner{padding: 20px}
.topbar{
    background:#fff;
    padding:15px 20px;
    border-radius:10px;
    margin-bottom:20px;
}
.card{
    border:none;
    border-radius:12px;
}
.stat-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.stat-title {
    font-size: 12px;
    font-weight: 600;
    color: #7c8a97;
    margin-bottom: 8px;
    letter-spacing: .5px;
}

.main_inner .stat-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
    color: #323232;
   
}

.stat-link {
    font-size: 14px;
    color: #7777a3;
    text-decoration: underline;
    text-transform: capitalize;
}
.card-header {
    background: transparent;
    padding: 0 0 14px;
}
.card-header h5 {
    font-size: 18px;
    font-weight: 600;
}.topBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.btn.btn-light {
    background: #E2EAFD !important;
    border: none;
    font-size: 12px;
    border-radius: 4px !important;
}
.stat-link:hover {
    text-decoration: underline;
}

.stat-up {
    color: #1cc88a;
    font-size: 14px;
    font-weight: 600;
}

.stat-down {
    color: #e74a3b;
    font-size: 14px;
    font-weight: 600;
}

.stat-neutral {
    color: #858796;
    font-size: 14px;
    font-weight: 600;
}

.stat-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Soft Background Colors */
.bg-soft-success {
    background: #d4f5e9;
    color: #1cc88a;
}

.bg-soft-primary {
    background: #d6e4ff;
    color: #4e73df;
}

.bg-soft-warning {
    background: #ffe8cc;
    color: #f6c23e;
}

.bg-soft-secondary {
    background: #e2e3e5;
    color: #6c757d;
}
.chart-box{
    height:280px;
    background:#eef1f6;
    border-radius:10px;
}
.table thead{
    background:#f8f9fa;
}
.badge-success{
    background:#d1f7e2 !important;
    color:#0f9d58 !important;
}
.badge-warning{
    background:#fff3cd !important;
    color:#856404 !important;
}
.badge-danger{
    background:#f8d7da !important;
    color:#842029 !important;
}


.dashboard-header {
    background: #f5f6fa !important;
}

.date-range-box input {
    min-width: 230px !important;
    border-radius: 6px 0 0 6px; font-size: 13px;
}

.date-range-box .input-group-text {
    border-radius: 0 6px 6px 0;
}

.btn-success {
    background: #18c29c;
    border: none;
}

.btn-success:hover {
    background: #13a884;
}.card-bot-head {
    background: #FAFBFD;
}.card-bot-head h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.card-bot-head .col-md-3 {
    position: relative;
}
.card-bot-head .col-md-3:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 77px;
    background: #e7e5e5;
    top: -16px;
    left: 0;
}
.card-bot-head .col-md-3:first-child:before{display: none;}
#map {
    background: #f8f9fa;
}

.leaflet-container {
    background: #f8f9fa !important;
}

.location-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 6px;
}

.location-progress .progress-bar {
    background: repeating-linear-gradient(
        45deg,
        #4a5c96,
        #4a5c96 6px,
        #3e4d82 6px,
        #3e4d82 12px
    );
    border-radius: 6px;
}.invoice-table thead {
    background: #f8f9fa;
    font-size: 13px;
    color: #6c757d;
}

.invoice-table tbody tr {
    border-top: 1px solid #f1f1f1;
}

.invoice-table td, 
.invoice-table th {
    vertical-align: middle;
    padding: 14px 10px;
}

.invoice-table img {
    width: 40px;
    height: 40px;
}

.card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
button.btn.btn-danger {
    background: #dc35453d;
    color: #dc3545;
    border: none;
}.status-card {
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-weight: 500;
    transition: 0.3s ease;
}

.status-card h4 {
    margin: 8px 0 0;color: #fff;
    font-weight: 700;
}

.status-card:hover {
    transform: translateY(-4px);
}

/* Colors */
.bg-intransit {
    background: linear-gradient(135deg, #4e73df, #6289fb); color: #fff;
}

.bg-atport {
    background: linear-gradient(135deg, #fd7e14, #f1a289); color: #fff;
}

.bg-delivered {
    background: linear-gradient(135deg, #20c997, #4edd9b); color: #fff;
}

.bg-delayed {
    background: linear-gradient(135deg, #6f42c1, #b083fd); color: #fff;
}

.bg-cancelled {
    background: linear-gradient(135deg, #e74a3b, #fb949e); color: #fff;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chart-legend span {
    margin: 0 10px;
    font-size: 13px;
    color: #6c757d;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

/* Donut Colors */
.bg-direct { background: #3b4cca; }
.bg-social { background: #20b2a6; }
.bg-email { background: #f6b93b; }
.bg-other { background: #ff7675; }
.bg-referrals { background: #4bcffa; }

/* Status Badges */
.bg-soft-success {
    background: #d4f5e9;
    color: #1cc88a;
}

.bg-soft-danger {
    background: #f8d7da;
    color: #e74a3b;
}

.bg-soft-warning {
    background: #fff3cd;
    color: #f6c23e;
}

.transaction-table thead {
    background: #f8f9fa;
    font-size: 13px;
    color: #6c757d;
}.service-chart-wrapper {
    height: 320px;   /* change height here */
}
#forecastChart {
    height: 320px !important;
}#financialChart {
    height: 320px !important;
}

.card {
    border-radius: 14px;
    border: 1px solid #e9ecef;
}span.badge.bg-opacity-25.px-2.py-1 {
    background: #fff;
    color: #000;
}
.financialBox div {
    width: 48%;
}.financialBox {
    flex-wrap: wrap;
    justify-content: space-between;
}label {
    font-size: 14px;margin: 0 0 5px;
    font-weight: 600;
    color: #201f1f;
}.form-control, .form-select {
    font-size: 13px;
}.form-group {
    margin: 0 0 8px;
}.bg-light {
    background: #e3e0e0 !important;
}.modal-header h5 {
    margin: 0;
    color: #000;
}.modal-header p {
    margin: 0;
    font-size: 13px;
}.modal-header {
    padding: 0 10px 15px;
}.form-control, select.form-select {
    height: 40px;
    box-shadow: none;
    border: 1px solid #b3b9d0;    box-shadow: none !important;
    border-radius: 4px;
}.filterRow button.btn.btn-light {
    background: #299cdb !important;
    border: none;
    margin-right: 7px;
    font-size: 12px;
    border-radius: 4px !important;
    color: #fff;
    height: 40px;
    font-size: 16px;
}td {
    color: #7777a3 !important;
    font-size: 14px;
}.financialBox div h6 {
    color: #fff;
}.rightAction .btn {
    font-size: 13px;
    padding: 3px 9px;
    border-radius: 3px;
    min-height: min-content;
    line-height: 23px;
}.btn-secondary {
    background: #299cdb !important;
    border-color: #299cdb !important;
}.btn {
    font-size: 13px !important;
    min-height: 40px;
    border-radius: 3px;    line-height: 31px;
}.card-header h6 {
       margin: 0;
    font-weight: 600;
    font-size: 19px;
}
.card-header {
    align-items: center;
}.modal-header {
    padding: 15px;
    border: none;
}.modal-content {
    padding: 10px 20px;
}.modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}.form-label,.modal-body label {
    margin-bottom: .5rem;
    font-size: 13px;
    font-weight: 500;
    color: #212529;
}.modal-footer button.btn.btn-dark {
    background: #405189;
    border-color: #405189;
    padding: 5px 15px;
}.modal-footer {
    border: none;
}textarea.form-control {
    min-height: 100px;
}th {
    font-weight: 600;
    color: #212529 !important;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    background: #e9ecef !important;
    padding: 15px 11px !important;
}.main_inner h3 {
    font-size: 22px;
    color: #3c3c3c;
    margin: 0;
}.topbar-search input {
  width: 250px;
}
.hr-card {
  border-radius: 14px;
}
.totalEmp {
    background: #299cdb !important;
    color: #fff !important;
    padding: 12px;
    font-size: 30px;
    font-weight: 600;
    margin:  0 0;
}
.progress {
  height: 8px;
  background: #eee;
  border-radius: 10px;
}

.progress-bar {
  border-radius: 10px;
}
.lefthrsec, .rightrsec {
    width: 50%;
    padding: 10px 20px;
}.bg-white {
    background: #fff !important;
}.module-card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.module-icon {
  width: 42px;
  height: 42px;
  background: #f3f4f6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-icon i {
  font-size: 20px;
}

.badge-status.completed {
  background: #22c55e;
}

.badge-status.pending {
  background: #6b7280;
}

.badge-priority.high {
     background: #FADAE5 !important;
    color: #dc3545 !important;
}

.badge-priority.medium {
      color: #dfa700 !important;
    background: #ffc1073b !important;
}

.module-features {
  list-style: none;
  padding: 0;
}

.module-features li {
  font-size: 14px;
  color: #6b7280;
}
.stat-card{
padding:20px;
border-radius:10px;
font-weight:600;
}
.module-card p {
    font-size: 14px;
}
.stat-completed{
background:#e8f5e9;
color:#2e7d32;
}

.stat-progress{
background:#fff8e1;
color:#ef6c00;
}

.stat-pending{
background:#f5f5f5;
color:#374151;
}

.stat-priority{
background:#fdecea;
color:#d32f2f;
}
.lead-card{
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.circle-progress{
--size:110px;
--value:0;
--color:#0d6efd;

width:var(--size);
height:var(--size);
margin:20px auto;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-weight:600;
font-size:20px;

background:
conic-gradient(var(--color) calc(var(--value)*1%), #e9ecef 0);

position:relative;
}

.circle-progress span{
position:absolute;
font-size:20px;
}

/* inner white circle */

.circle-progress::before{
content:"";
position:absolute;
width:75%;
height:75%;
background:white;
border-radius:50%;
}

/* Colors */

.circle-progress.blue{
--color:#0d6efd;
}

.circle-progress.green{
--color:#2e7d32;
}

.circle-progress.yellow{
--color:#f59e0b;
}

.circle-progress.red{
--color:#e53935;
}
.form-card{
background:white;
border-radius:20px;
padding:30px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.form-label{
font-weight:500;
margin-bottom:6px;
}

.btn-create{
background:linear-gradient(90deg,#ff7a00,#ffb347);
color:white;
border:none;
padding:12px 30px;
font-weight:600;
border-radius:8px;
}

.btn-cancel{
background:#9e9e9e;
color:white;
padding:12px 30px;
border-radius:8px;
}
.form-card .btn {
    font-size: 16px !important;
}.card-box{
background:white;
border-radius:10px;
padding:25px;
box-shadow:0 4px 20px rgba(0,0,0,0.05);
margin-bottom:20px;
}

.label-title{
font-size:13px;
color:#6c757d;
}

.field-value{
font-weight:600;
color:#333;
}

.status-badge{
background:#e7f4ff;
color:#007bff;
padding:5px 10px;
border-radius:6px;
font-size:12px;
}

.timeline{
border-left:2px solid #dee2e6;
padding-left:20px;
}

.timeline-item{
margin-bottom:20px;
position:relative;
}

.timeline-dot{
position:absolute;
left:-27px;
top:4px;
width:12px;
height:12px;
background:#4e73df;
border-radius:50%;
}

.timeline-date{
font-size:12px;
color:#999;
}button#confirmDelete {
    background: #d30707;
    color: #fff;
}.contactRow:first-child,.bankRow:first-child {
    border: none;
}
.contactRow ,.bankRow{
    border-top: 1px solid #ccc;
    padding: 20px 0;
}
 #shipmentTable th {
    text-align: center;
    vertical-align: top;
}
#shipmentTable th span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #673AB7;
}
button.nav-link {
    border: none !important;
    margin: 0 !important;
    color: #000;
    font-weight: 500;margin-right:10px !important;
    font-size: 15px;    padding: 0 15px 15px;position: relative;
}button.btn {
    text-transform: capitalize;
}
button.nav-link.active:after,button.nav-link:hover:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: #405189 !important;
    left: 0;
    bottom: -1px;
}
button.nav-link.active,button.nav-link:hover {
    color: #405189 !important;
    
}
button.nav-link {
    border: none !important;     margin: 0 !important;
}
button.btn{ transition: 0.5s ease-in-out;}
.table button.btn:hover{background: #0dcaf0 !important; color: #fff !important}
button.btn:hover{background: #000; border-color: #000}
button.btn.btn-secondary:hover{background: #000 !important; border-color: #000 !important}

/*button.btn:before {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;   
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 80px solid #ff003b;
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
       z-index: -1;
}.btn {
    position: relative;
    overflow: hidden;
}
button.btn:hover:before {
    transform: translateX(0);
}*/

@media (max-width: 1200px) {
.sidebar.collapsed {
    margin-left: 0;
    z-index: 999;
} .sidebar {
    margin-left: -250px;
}.main {
    margin-left: 0;
}

}
/* Tablet */
@media (max-width: 992px) {

  .topbar-search input {
    width: 180px;
  }
 

}

/* Mobile */
@media (max-width: 768px) {

  .topbar-search {
    display: none;
  }

}