@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* Base styles */
body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.survey-container {
  background-color: rgb(54, 44, 68); /* Purple background */
  padding: 20px 10px 0px 20px;
  color: #ffffff;
  max-width: 500px;
  margin: 0 auto;
  border-radius: unset;
}

div .required label::after {
  content: " *";
  color: white;
}

/* Header */
.survey-container h1 {
  font-size: 24px;
  margin-bottom: 20px;
  margin-top: 0;
  color: white;
  font-weight: bold;
}

/* Input Fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-weight: bold;
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px !important;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  height: 54px !important;
  border-radius: unset !important;
}

input[type="text"],
select,
textarea {
  padding: 15px 15px 11px;
}

select {
  appearance: none;
  background: #ffffff
    url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 10px center;
  background-size: 20px;
}

/* Paragraph text */
.mainheading {
  font-size: 11px;
  display: block;
  color: #ffffff;
}

/* Buttons */
input[type="submit"].btn-default {
  background-color: #ffffff;
  color: rgb(130, 109, 153);
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 160px;
  display: inline-block;
}

input[type="submit"].btn-default::after {
  content: " ➝";
  margin-left: 10px;
  font-size: 18px;
}

.buttonwrapper input[type="submit"] {
  background-color: #ffffff;
  color: rgb(130, 109, 153);
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive 2-column layout */
@media (min-width: 400px) {
  .form-group.col-md-6 {
    float: left;
    width: 50%;
  }

  .form-group.col-md-6:nth-child(2n) {
    margin-right: 0;
  }

  .form-group.col-md-12 {
    clear: both;
  }
}

.styled-learn-more {
  align-items: center;
  font-size: 14px;
  font-weight: 550 !important;
  border-radius: 0 !important;
}

/* CSS for the chevron down */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 15px 45px 11px 15px !important;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  height: 54px !important;
  border: none;
  border-radius: 0 !important;
  background: #ffffff;
  box-sizing: border-box;
  color: #333;
  cursor: pointer;
}

/* Custom dropdown arrow */
.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat center;
  background-size: contain;
}

/* Vertical divider before arrow */
.select-wrapper::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 40px;
  width: 1px;
  background-color: #ccc;
}
