body {
  margin: 0;
  padding: 0;
/*  font-family: 'Arial', sans-serif;*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Poppins", Sans-serif;
}

.main-content {
  flex: 1;
  padding: 20px;
}

.navbar{
  color: black;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", Sans-serif;

}

.footer {
  /*background-color:  #f9f9f9;*//*#232323;*/ /*#3e413d; */
  color: black;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", Sans-serif;

}

.table-spacing-bottom{
  margin-bottom: 20px;
}

.navbar-spacing{
  padding-top: 70px;
  margin-left: auto;
  margin-right: auto;
}

.customer-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.customer-info {
  flex-grow: 1;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.credit-chart-container {
  flex-basis: 60%;  /* Adjust the flex-basis percentage to your preference */
  min-width: 200px; /* Set a minimum width for the container */
  min-height: 200px; /* Set a minimum height for the container */
}


.main-bg {

  background-attachment: fixed; /* Ensure a fixed background for the parallax effect */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat;
  background-size: cover; /* Cover the entire container with the background image */
}

.parallax-container {
  position: relative;
  height: 100vh; /* Set the height of the parallax container to the full viewport height */
  background-attachment: fixed; /* Ensure a fixed background for the parallax effect */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat;
  background-size: cover; /* Cover the entire container with the background image */
  margin:auto;
}

.parallax-content {
  position: absolute;
  top: max(50px, 28%);
  left: max(50px, 32%);
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 800px; /* Adjust the value as needed */
  
}


.parallax {
  position: relative;
  /* The image used */
  background-color: transparent;
  /* Full height */
  height: 100vh;
  /* or inline-flex */
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Turn off parallax scrolling for tablets and phones. Increase the pixels if needed */
@media only screen and (max-device-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
  
.front-page {
    margin: 0 10px; /* Adjust the margin for smaller screens */
}

.front-page-title {
    font-size: 60px; /* Adjust the font size for smaller screens */
}
}

.front-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  margin-left: 1cm;
  margin-right: 1cm;
  height: 100%;
}

.front-page-title {
  color: #6FDA43;
  font-family: "Poppins", Sans-serif;
  font-size: 85px;
  font-weight: 600;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1em;
  letter-spacing: 0px;
  text-shadow: 0px 0px 0px rgba(59.499999999999986, 47.637679584120974, 28.844565217391295, 0.71);
}


.front-page-subtitle {
  color: white;
  text-align: center;
  font-family: "Poppins", Sans-serif;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  letter-spacing: 0px;
}

.front-page-title2 {
  color: white;
  text-align: center;
  font-family: "Poppins", Sans-serif;
  font-size: 60px;
  font-weight: 600;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1em;
  letter-spacing: 0px;
  text-shadow: 0px 0px 0px rgba(59.499999999999986, 47.637679584120974, 28.844565217391295, 0.71);
}

label {
  white-space: nowrap; /* Prevents wrapping of long labels */
  overflow: hidden; /* Hides overflowing text */
  text-overflow: ellipsis; /* Shows ellipsis for overflowing text */
}
/* grid-items styles */
.grid-items {
  padding: 2rem;
}

.grid-items>ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  list-style-type: none;
}

.grid-items>ul>li {
  /*border: 1px solid #E2E2E2; */
  border-radius: .5rem;
}

.grid-items>ul>li>figure {
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  position: relative;
}

.grid-items>ul>li>figure>img {
  width: 100%;
  object-fit: cover;
}

.grid-items>ul>li>figure>figcaption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, .7);
  width: 100%;
}

.grid-items>ul>li>figure>figcaption>h3 {
  color: white;
  padding: .75rem;
  font-size: 1.25rem;
}

.grid-items>ul>li>p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem .75rem;
  color: #666666;
}

.grid-items>ul>li>a {
  padding: .5rem 1rem;
  margin: .5rem;
}


.customer-section {
  display: flex;
}

.customer-info {
  width: 20%; /* Adjust as needed */
}

.credit-chart-container {
  width: 10%; /* Adjust as needed */
}

/* Additional styling for the canvas if required */
#creditChart {
  max-width: 40em;
  max-height: 40em;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  animation: fadeInDown 0.5s;
  z-index: 1000;
}

/* Table style */
.table-container th.asc:after {
  content: '\0000a0\0025b2';
  float: right;
}

.table-container th.desc:after {
  content: '\0000a0\0025bc';
  float: right;
}



/* Progress bar */
.progress {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background-clip: padding-box;
  overflow: hidden;
  position: relative;
}

.progress {
  opacity: 0;
}

.htmx-request .progress {
  opacity: 1;
}
.htmx-request.progress {
  opacity: 1;
}

.progress .indeterminate {
  background-color: lightgreen;
}

.progress .indeterminate:before {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
.progress .indeterminate:after {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  -webkit-animation-delay: 1.15s;
  animation-delay: 1.15s;
}

@keyframes indeterminate {
  0% {
      left: -35%;
      right: 100%;
  }
  60% {
      left: 100%;
      right: -90%;
  }
  100% {
      left: 100%;
      right: -90%;
  }
}

@keyframes indeterminate-short {
  0% {
      left: -200%;
      right: 100%;
  }
  60% {
      left: 107%;
      right: -8%;
  }
  100% {
      left: 107%;
      right: -8%;
  }
}

.main-front{
  position: relative;
  height: 1200px;
  background-size: cover;
  background-position: center;
}

.content-front {
  position: absolute;
  top: 10%;
  left: 10%;
  max-width: 50%;
  color: white;
  font-family: Arial, sans-serif;
}

.content-front h1 {
  font-size: 3rem;
  font-family: Gilroy, sans-serif;
}

.content-front p {
  font-size: 1.5rem;
  margin: 10px 0;
  font-family: Gilroy, sans-serif;
}

.content-front button {
  display: block;
  background-color: #333;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  cursor: pointer;
}

.content-front button:hover {
  background-color: #555;
}

@media (max-width: 768px) {
  .content-front {
    max-width: 80%;
  }

  .content-front h1 {
    font-size: 2rem;
  }

  .content-front p {
    font-size: 1rem;
  }

  .content-front button {
    font-size: 1rem;
  }
}

.icon-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow items to wrap to the next row */
  max-width: 75%;
}


@media (max-width: 768px) {
  .icon-section {
    max-width: 95%;
  }

}


.icon {
  font-family: Gilroy, sans-serif;
  text-align: center; /* Center the text */
  height: 130px;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;  
  margin-bottom: 20px; /* Add some margin to create space between rows */
}

.icon img {
  object-fit: contain; /* Adjust the object-fit property as needed */
  height: 50px; /* Set the height of the image within the container */
}
.overlay {
  background-color: rgba(255, 255, 255, 0.2);
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.icon:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.8);

}
.overlay-text {
  font-family: Gilroy, sans-serif;
  color: black;
  font-weight: bold;
}



body.with-cookie-bar {
  padding-top: 35px;  
}
  
.cookie-bar {  
  position: fixed;  
  width: 100%;  
  top:0;  
  text-align:center;  
  height:25px;  
  line-height: 25px;  
  background: #eee;  
}


.toggle-switch-container {
  display: flex;
  justify-content: center; /* Center the toggle button horizontally */
  margin-top: 20px; /* Add spacing between the chart and the toggle */
}

.toggle-switch {
  display: flex;
  align-items: center; /* Aligns items vertically center */
  gap: 10px; /* Adds space between the checkbox and the label */
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-switch label {
  position: relative;
  cursor: pointer;
  padding: 0;
  display: block;
  user-select: none;
  padding-left: 60px; /* Makes space for the sliding button */
  line-height: 26px; /* Adjusts the height of the text line to match the toggle height */
  color: #666; /* Sets the text color */
}

.toggle-switch label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 26px;
  background-color: #ccc;
  border-radius: 13px;
  transition: background-color .2s;
}

.toggle-switch label:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform .2s;
}

.toggle-switch input[type="checkbox"]:checked + label:before {
  background-color: #4CAF50;
}

.toggle-switch input[type="checkbox"]:checked + label:after {
  transform: translateX(26px);
}

.select2-container {
  max-width: 100%; /* Prevents the dropdown from exceeding container width */
}


.select2-container--default .select2-search--dropdown .select2-search__field {
  display: block;
  width: 100%;
  padding: 5px;
  font-size: 1rem;
}

.select2-container--default .select2-selection--multiple {
  padding: 4px; /* Ensures items aren't cramped */
  margin: 0 auto; /* Centers the input field */
  max-height: 150px; /* Limit max height */
}


.custom-filter-form {
  text-align: center;
  width: 100%;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem; /* Add spacing between label and input */
  font-weight: bold; /* Optional for better label visibility */
}

/* General container styling */
.form-content {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}

/* Card styling */
.card {
  border: 1px solid #ddd;
  background-color: #fff;
}

.card-header {
  background-color: #343a40;
  color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
}

.card-body {
  padding: 2rem;
}

.card-footer {
  background-color: #f8f9fa;
  padding: 1rem;
}

/* Form-row styling */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Columns inside form-row */
.form-row > .col-md-6 {
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
  flex: 0 0 50%;
  max-width: 50%;
}

/* Form-group styling */
.form-group {
  margin-bottom: 1.5rem;
}
/* Optional spacing between checkbox and label */
.form-group .form-check-input {
  margin-right: 0.5rem; /* Space between checkbox and label */
}


.form-group label {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
  color: #333;
}

/* Input and error styling */
input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  border-color: #343a40;
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.25);
  outline: none;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Captcha styling */
.form-group .captcha {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Footer link styling */
.card-footer a {
  color: #007bff;
  text-decoration: none;
}

.card-footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row > .col-md-6 {
      flex: 0 0 100%;
      max-width: 100%;
  }

  button {
      width: 100%;
  }
}



button {
  margin-top: 1rem;
}


.table-secondary {
  background-color: #f8f9fa; /* Light gray background */
  font-weight: bold;
  text-align: center;
}

.total-amount-summary {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensures full-width rows */
  margin-top: 1rem;
  width: auto; /* Adjusts dynamically to match the table's width */
}

.summary-row {
  display: flex;
  justify-content: space-between; /* Align text and value to opposite ends */
  width: 100%; /* Ensures it spans the table's width */
  margin: 0.25rem 0; /* Adds slight vertical spacing between rows */
}

.summary-row span {
  display: inline-block;
}

.form-check-input {
  margin-right: 0.5rem; /* Add space between checkbox and label */
}

.form-check {
  display: flex;
}


.text-align-left{
  text-align: left;
}

.text-align-right{
  text-align: right;
}

/* Ensure content clears the fixed navbar */
/*body { padding-top: 72px; } */       /* adjust to your navbar height */
.navbar-spacing { margin-top: 0; } /* you can remove extra mt-5 on alerts if needed */

.navbar-contact {
  font-weight: 500;
  color: #212529;
}

.navbar-contact a {
  color: #0d6efd; /* Bootstrap primary blue */
  text-decoration: none;
  font-weight: 600;
}

.navbar-contact a:hover {
  text-decoration: underline;
}