.topbar {
  padding: 10px 0px;
  background-color: #f1f1f1;
  height: 45px;
}

.top_cont {
  margin-left: 5%;
  margin-right: 5%;
}

.topbar .col_half {
  margin-bottom: 0px;
}
.dark .col_one_third h4,
.dark .col_one_third h5 {
  color: #333;
}

.image-overlay {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../images/soumission-en-ligne-calfeutrage-exterieur-interieur-laval-montreal.jpg);
}

.text-rouge {
  color: #ad1927;
}

.mb-15 {
  margin-bottom: 15px;
}

/* Global style for all input fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background-color: transparent !important; /* No background */
  border: none !important; /* Remove all borders */
  border-bottom: 2px solid rgb(65, 65, 65) !important; /* Bottom border (underline) */
  color: rgb(65, 65, 65) !important; /* Light grey text color */
  outline: none; /* Remove default focus outline */
  width: 100%; /* Full width */
  padding: 10px 5px; /* Padding for some spacing */
  font-size: 16px; /* Adjust font size */
  transition: border-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Focus state - change the underline to the main color and keep the same visual */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--main-color) !important; /* Change the underline to main color on focus */
  color: rgb(65, 65, 65) !important; /* Keep light grey text color */
}

/* When text is entered, keep the same visual but the bottom border colored */
input:not(:placeholder-shown):not(:focus),
textarea:not(:placeholder-shown):not(:focus),
select:not(:focus) {
  background-color: transparent !important; /* Ensure no background color */
  border-bottom: 2px solid var(--main-color) !important; /* Bottom border remains colored */
  color: rgb(65, 65, 65) !important; /* Keep light grey text color */
}

/* Optional: Customize placeholder text color */
::placeholder {
  color: rgb(65, 65, 65) !important; /* Placeholder text color */
  opacity: 1; /* Ensure it's not faded */
}
