/* Bootstrap Dashboard Example - Exact Styling */

body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
  .text-bg-dark {
    position: sticky;
    top: 48px;
    height: calc(100vh - 48px);
  }
}

/*
 * Navbar
 */

.navbar-brand {
  height: 100%;
  background-color: rgba(0, 0, 0, .25);
  
  padding: 1rem 1rem;
}

.navbar-brand a {
  height: 100%;
}


.navbar .form-control {
  padding: .5rem 1rem;
}

/* Search bar styling */
.search-form-container {
  width: 60%;
  margin: 0 0;
  padding: 5px 10px;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

@media (max-width: 767.98px) {
  .search-form-container {
    width: 100%;
  }
}

/*
 * Sidebar styling
 */

.sidebar {
  background-color: #2b3035 !important;
}



/*
 * Content
 */

[role="main"] {
  padding-top: 25px;
}

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 25px;
  }
}

/*
 * Icon styling
 */

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/*
 * Nav pills styling
 */

.nav-pills .nav-link {
  font-size: 1rem;
}

.nav-pills .nav-link svg {
  fill: white;
}

/* HTMX loading spinner indicator */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-request .button-text {
  opacity: 0.6;
}

/* Status badge styling */
.status-badge {
  background-color: #d4edda;
  color: #155724;
  border: none;
  font-weight: bold;
}

/* Country flag icon styling */
.country-flag {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  display: inline-block;
}

/* Shipments table vertical alignment */
.table tbody td,
.table tbody th {
  vertical-align: middle;
}
