/* 
Custom CSS for...
'Modern Business' HTML Theme by Start Bootstrap

All Start Bootstrap themes are licensed under Apache 2.0. 
For more info and more free Bootstrap 3 HTML themes, visit http://startbootstrap.com!
*/

/* Global Styles */

html,
body {
  height: 100%;
}

.navbar-container {
  width: 95%;
  margin: 0 auto;
  display: block;
}

.dropdown {
  cursor: pointer;
  font-size: 13px;
}

.img-home-portfolio,
.img-customer,
.portfolio-item {
  margin-bottom: 30px;
}

.tab-pane {
  margin-top: 15px;
}

/* Page Sections */
.section,
.section-colored {
  padding: 50px 0;
}

.section-colored {
  background-color: #e1e1e1;
  /* change this to change the background color of a colored section */
}

.sidebar {
  margin-top: 40px;
}

.sidebar ul {
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #cccccc;
}

/* Half Page Height Carousel Customization */
.carousel {
  height: 50%;
}

.item,
.active,
.carousel-inner {
  height: 100%;
}

.fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* Social Icons Styles */
.list-social-icons {
  margin-bottom: 45px;
}

.tooltip-social a {
  text-decoration: none;
  color: inherit;
}

.facebook-link a:hover {
  color: #3b5998;
}

.linkedin-link a:hover {
  color: #007fb1;
}

.twitter-link a:hover {
  color: #39a9e0;
}

.google-plus-link a:hover {
  color: #d14836;
}

/* Service Page Styles */
.service-icon {
  font-size: 50px;
}

/* 404 Page Styles */
.error-404 {
  font-size: 8em;
}

/* Pricing Page Styles */
.price {
  font-size: 4em;
}

.price-cents {
  vertical-align: super;
  font-size: 50%;
}

.price-month {
  font-size: 35%;
  font-style: italic;
}

/* Footer Styles */
/* footer {
  margin: 50px 0;
} */

/* Responsive Styles */
@media (max-width: 767px) {
  .carousel {
    height: 70%;
    /* increases the carousel height so it looks good on phones */
  }
}

:invalid {
  box-shadow: none;
}

:-moz-submit-invalid {
  box-shadow: none;
}

:-moz-ui-invalid {
  box-shadow: none;
}

.inputSearch {
  background-color: white;
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 80%;
  height: 35px;
  font-size: 18px;
  padding-left: 10px;
  color: black;
  float: right;
}

.zc-ref {
  display: none;
}

.card {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.25rem;
  padding: 24px;
  box-shadow: 0 10px 40px 0 rgb(62 57 107 / 7%), 0 2px 9px 0 rgb(62 57 107 / 6%);
}

.card-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.5rem;
}

.card-title {
  font-size: 36px;
  font-weight: 800;
}

.card-text {
  font-size: 18px;
  color: #000;
  font-weight: 800;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.skeleton-loader {
  padding: 12px 15px;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-btn {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  min-height: 55px; /* Ensures equal height */
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* Prevents wrapping */
  font-size: 12px;
}

.promo-btn.active {
  border: 2px solid #0078d4;
  box-shadow: 0 0 0 1px #0078d4; /* extra visual emphasis like in the screenshot */
  font-weight: bold;
}

.promo-btn:focus {
  border-color: #0078d4;
}

.promo-btn:hover:not(.active) {
  border-color: #999;
}

.input-group-customer {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  max-width: fit-content;
  padding: 0px 10px;
}

.input-group-customer .quantity-input {
  width: 60px;
  border: none;
  text-align: center;
  font-weight: bold;
  padding: 8px;
  outline: none;
}
.input-group-customer .unit-label {
  margin-left: 10px;
}

.input-group-customer:focus-within {
  border-color: #0078d4;
  box-shadow: 0 0 0 1px #0078d4;
}

.file-upload-row-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.file-upload-row-customer .helper-text {
  color: #666;
  font-size: 0.9em;
}

.file-upload-row-customer .file-input {
  border: none;
}

.file-style-btn {
  appearance: none; /* Reset default styles */
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #000;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: sans-serif;
  line-height: 1.5;
}

.file-style-btn:hover {
  background-color: #e4e4e4;
}

.file-style-btn:focus {
  outline: 1px dotted #000;
}

.iti {
  width: 100% !important;
}

.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.iframe-full {
  flex: 1;
  width: 100%;
  border: none;
  display: block;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 350px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.leaflet-container {
  width: 100%;
  height: 500px;
}

.pagination {
  margin: 0 !important; /* Remove margin */
  padding: 0;
}

.fixed-filter {
  position: sticky;
  top: 70px;
  z-index: 1000;
  background: #fff;
}
