  *{  font-family: "Inter", sans-serif;
}
        body {  font-family: "Inter", sans-serif;
 margin: 20px; }
        .topnav{
            background-color: #fff;
            padding: 3px 8px;
            /* padding: 10px; */
        }
        .topnav a { height: 100%; padding: 0px 5px; text-decoration: none; font-size: 15px; font-weight: 300; letter-spacing: 0.6px;}
        .topnav a:hover { background-color: #323232; }
        .topnav a.active { background-color: #323232; }
        table { border-collapse: collapse; width: 100%; margin-top: 10px; }
        input, button { margin: 5px 0; padding: 5px; }
        input.form-control{
            border: 1px solid #CCCCCC;
            border-radius: 2px;
            outline: none !important;
            box-shadow: none !important;
        }
        input.form-control:hover{
            border-color: #0c944597 !important;
        }
        input.form-control:focus{
            border-color: #0C9444 !important;
        }
        #loginForm label{
            color: #656565;
            font-size: 14px;
        }
        .sidebar{
            width: 250px;
            background: #213640;
            height: 100vh;
        }

        .pageContent{
            width: calc(100% - 250px);
            background-color: white;
            height: 100vh;
            overflow-y: scroll;
        }
        .userHeaderButton{
            color: black;
            height: 100%;
            padding: 10px 10px;
        }
        .userCircle{
            background-color: #fff;
            color: #000;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
        }
        .userHeaderButton a:hover{
            background-color: transparent !important;
        }

        .sidebar nav .nav-link{
            color: #fff;
            padding: 9px 17px;
            transition: none !important;
            font-size: 13.5px !important;
            font-weight: 600;
            display: flex;
            align-items: center;
            border-radius: 6px;
            margin-bottom: 3px;
        }
        .sidebar nav .nav-link i{
            font-size: 23px;
            padding-right: 20px;
            color: #fff !important;
        }

        .sidebar nav .nav-link:hover i{
            padding-right: 20px;
            color: #0D9445 !important;
        }


         .sidebar nav .nav-link svg{
            margin-right: 18px;
        }
        .sidebar nav .nav-link span{
            color: #dbdbdbff;
        }
        .sidebar nav .nav-link:hover{
            background-color: #213640;
            color: white;
        }

        .sidebar nav .nav-link:hover svg{
            stroke: white !important;
        }
        .sidebar nav .nav-link:hover span{
            color: white;
        }

           .btn-primary{
        background-color: #fff;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        color: white;
    }

    .page-item.active .page-link{
        background-color: #2B0E49;
color: white;
    }
#companiesTable {
  border-collapse: separate;
  border-spacing: 0 8px;
  background-color: transparent;
  border: none !important;
}

#companiesTable thead th {
  background-color: #F9FAFB;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: none;
  padding: 1rem;
}

#companiesTable tbody tr {
  background-color: #ffffff;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#companiesTable tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#companiesTable tbody td {
  border: none;
  padding: 1rem;
  vertical-align: middle;
  color: #475569;
  font-size: 0.9rem;
}
  .activePill{
    background-color: #CEF9D2;
    border-radius: 50px;
    padding: 4px;
    font-size: 11px;
    color: #0C5D1F;
    font-weight: bold;
    line-height: 11px;
    display: flex;
    align-items: center;
  }
  .activePill i{
    font-size: 11px;
    margin-right: 7px;
    color: #0fb617;
  }

    .infoPill{
    width: fit-content;
    background-color: #E7EFFF;
    border-radius: 11px;
    border: 1px solid #839AC2;
    padding: 4px 9px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 7px;
  }

  .pageContent{
    background-color:#F9FAFB;
  }
    .supportPill{
    background-color: #e3cef9ff;
    border-radius: 50px;
    padding: 4px;
    font-size: 11px;
    color: #3e0c5dff;
    font-weight: bold;
    line-height: 11px;
    display: flex;
    align-items: center;
      width: fit-content; 
  white-space: nowrap; 
  }
  .supportPill i{
    font-size: 11px;
    margin-right: 7px;
    color: #790fb6ff;
  }

#companiesTable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #F9FAFB;
}

#companiesTable td a{
   text-decoration: none !important; color: black !important;

}


#companiesTable td a:hover{
   text-decoration: underline !important; 
   
}

.nav-link.icon-top {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-decoration: none;
  padding: 8px 0;
  color: inherit;
  font-size: 0.9rem;
}

.nav-link.icon-top i {
  font-size: 1.5rem; 
  margin-bottom: 4px;    
}

.uniteShdw{

box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgba(15,23,42,.1), 0 1px 2px -1px rgba(15,23,42,.1);
  }


/* Search Bar Layout */
.search-bar-container {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 0px;
}

.search-icon {
  position: absolute;
  left: 13px;
  font-size: 1.2rem;
  color: #555;
}

.search-input {
  padding-left: 32px;
  padding-right: 32px;
     margin: 0px;
    border-radius: 15px !important;
    padding: 20px 40px;
}

/* Clear button inside input */
.clear-btn {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #777;
}

.clear-btn:hover {
  color: #000;
}

/* Results container collapsed by default */
.results-container {
  overflow-y: auto;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.modal-backdrop.show {
    /* Combine multiple backdrop filters for a strong frosted glass effect */
    backdrop-filter: blur(90px) brightness(0.5) contrast(1.2) saturate(1.5);
    -webkit-backdrop-filter: blur(90px) brightness(0.5) contrast(1.2) saturate(1.5);

    /* Slight dark overlay to block text */
    background-color: rgba(0, 0, 0, 0.65);
}

/* Search Button Style */
.search-trigger-btn {
  background-color: #57aa79;
  border-radius: 5px;
  padding: 5px 7px;
  color: #fff;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-indent: 4px;
}

.search-trigger-btn i{
  font-size: 14px;
  position: relative;
  left: -6px;
}

.search-trigger-btn:hover{
  background-color: #448860;
  color: #E4E8E3 !important;
}

/* Default sidebar width */
.sidebar {
    width: 250px;
    background: #162329;
    height: 100vh;
}


.sidebar[data-collapsed="true"] {
    width: 70px;
}

.sidebar.transition {
    transition: width 0.3s ease;
}

.pageContent {
    width: calc(100% - 250px);
    background-color: white;
    height: 100vh;
    overflow-y: scroll;
}

.sidebar[data-collapsed="true"] + .pageContent {
    width: calc(100% - 70px);
}

.sidebar[data-collapsed="true"] .nav-link span,
.sidebar[data-collapsed="true"] .search-trigger-btn {
    display: none;
}

.sidebar[data-collapsed="true"] .nav-link i {
    padding: 0;
    text-align: center;
    display: block;
    width: 100%;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    body {
        margin: 0 !important;
    }

    .content {
        flex-direction: column;
    }

    .sidebar {
        position: fixed !important;
        top: 0;
        left: -280px;
        width: 280px !important;
        height: 100vh;
        z-index: 1200;
        transition: left 0.3s ease;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .sidebar[data-collapsed="true"] {
        width: 280px !important;
        left: -280px;
    }

    .sidebar[data-collapsed="true"].mobile-open {
        left: 0;
    }

    .sidebar[data-collapsed="true"] .nav-link span,
    .sidebar[data-collapsed="true"] .search-trigger-btn {
        display: inline;
    }

    .sidebar[data-collapsed="true"] .nav-link i {
        padding-right: 20px;
        text-align: left;
        display: inline;
        width: auto;
    }

    .pageContent {
        width: 100% !important;
        margin-top: 56px;
        height: calc(100vh - 56px) !important;
    }

    .sidebar[data-collapsed="true"] + .pageContent {
        width: 100% !important;
    }

    /* General mobile content padding */
    .container-fluid {
        padding: 12px !important;
    }

    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Page headers - make responsive */
    .page-header {
        padding: 16px !important;
        border-radius: 8px !important;
    }

    .page-header h1 {
        font-size: 18px !important;
    }

    /* Cards and panels - stack on mobile */
    .row.g-4 > [class*="col-lg"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Tables - horizontal scroll */
    .table-responsive,
    table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Map overlays on mobile */
    #search-bar {
        min-width: auto !important;
        width: calc(100% - 20px) !important;
    }

    #recent-depots {
        width: calc(100% - 20px) !important;
    }

    #fleet-panel {
        width: calc(100% - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        bottom: 10px !important;
        max-height: 40vh !important;
    }

    /* Hide support card on very small screens */
    .sidebar > .mt-auto > div:first-child {
        display: none;
    }
}
