
/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Define BASF color variables */
:root {
    --basf-green: #65AC1E;
    --basf-dark-green: #009900;
    --basf-light-green: #b7d29d;
    --basf-blue: #0075C9;
    --basf-dark-blue: #004a96;
    --basf-gray: #666;
    --basf-grayborder:#ced4da;
}

/* General font family */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #fff;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header styling */
header {
    background-color: #fff;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: left;
    padding-left: 15px;
    align-items: center;
    background-color: var(--basf-dark-blue);
}

.header-logo {
    height: 70px;
}

.green-line {
    height: 6px;
    background-color: var(--basf-dark-blue);
    width: 100%;
}

.lightgreen-line {
    height: 0.8px;
    background-color: var(--basf-dark-blue);
    width: 100%;
    margin-bottom: 10px;
}

/* Form container styling */
.form-container {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 5px #004a96;
    margin: -250px auto 20px auto;
    padding: 20px;
    z-index: 100;
    position: relative;
}

.form-container-thankyou {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 5px #004a96;
    margin: -30px auto 20px auto;
    padding: 20px;
    z-index: 100;
    position: relative;
}

.form-container-thankyous {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 5px #004a96;
    margin: -80px auto 20px auto;
    padding: 20px;
    z-index: 100;
    position: relative;
}

/* Banner image styling */
.image-banner img {
    width: 100%;
   height: auto;
    border-radius: 0px;
}

/* Form headings */
h3 {
    font-size: 1.0rem;
    margin-bottom: 15px;
    color: #333;
}

h2 {
    margin-bottom: 15px;
    font-size: 30px !important;
    color: #004795;
}

p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #333;
}

/* Form row styling */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group-single {
    flex: 0.49;
    min-width: 220px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 220px;
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #333;
}

legalconsent {
    font-size: 0.8rem;
    color: #333;
}

/* Text input styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    border: 1px solid var(--basf-grayborder);
    border-radius: 4px;
    padding: 10px;
    font-size: 12px;
    color: #333;
    width: 100%;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--basf-grayborder);
    outline: none;
}

/* Checkbox group styling */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

/* Feedback section scales */
.scale-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.scale-group img {
    width: 30px;
    height: 30px;
}

/* Submit button styling */
button[type="submit"] {
    background-color: var(--basf-dark-blue);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
margin-top: 10px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #fff;
    color: var(--basf-blue);
    border: 2px solid var(--basf-dark-blue);
    border-radius: 5px;
}

/* New footer styling */
footer {
    background-color: var(--basf-dark-blue);
    width: 100%;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
}

footer a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
}

.social-icons img {
    width: 25px;
    margin-left: 10px;
}

/* Checkbox styling */
input[type="checkbox"]:checked {
    accent-color: var(--basf-dark-blue);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Checkbox group styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 8px;
}



.checkbox-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 5px;
}
.form-groups {
    margin-bottom: 10px;
}



/* Label styling to ensure they align properly */
label {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}





.error { display: none;
            color: #dc3545;
            font-size: 0.875em;
            margin-top: 0.25rem; }



   
.greyed-out {
    opacity: 0.5;
    pointer-events: none;
  }

  [data-tooltip] {
    position: relative;
    cursor: not-allowed;
  }

  [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -1.5em;
    left: 0;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8em;
    white-space: nowrap;
    border-radius: 4px;
    display: none;
  }

  [data-tooltip]:hover::after {
    display: block;
  }


    .tooltip:hover::after {
      content: attr(data-tooltip);
      position: absolute;
      background-color: #fff;
      color: #dc3545;
      padding: 10px;
      font-size: 12px;
      border-radius: 4px;
      top: 100%;
      left: 0;
      white-space: nowrap;
    }
       
        .greyout-prefix {
            color: grey;
        }

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
 .phone-input-container {
         display: flex;
    align-items: center;
    border-radius: 6px;
    width: 100%;
    background-color: #fff;
       }
    .flag-icon {
      width: 24px;
      height: 16px;
      margin-right: 4px;
    }
    .country-code {
      background-color: #fff;
      padding: 1px;
      border-radius: 4px;
      margin-right: 4px;
      font-weight: bold;
    }
    .phone-input {
      border: none;
      outline: none;
      flex: 1;
      font-size: 16px;
    }

    #validation-message {
      color: #dc3545;
      margin-top: 5px;
    }

