.container {
    width: 300px;
    padding: 20px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
}

.floating-label-content {
    position: relative;
    margin-bottom: 20px;
}

.floating-label {
    color: #808080;
    font-size: 13px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 16px;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.catalog-product-view .floating-label {
    top: 10px;
}

.floating-input,
.floating-select {
    font-size: 1.6rem;
    display: block;
    width: 100%;
    height: 3.8rem;
    padding: 0 1rem;
    background: #fff;
    color: #323840;
    border: 1px solid #c2c2c2;
    border-radius: unset;
    box-sizing: border-box;
    &:focus {
      outline: none;
      ~ .did-floating-label {
        top: -8px;
        font-size: 1.3rem;
      }
    }
}

input[type="text"], input[type="password"], 
input[type="url"], input[type="tel"], 
input[type="search"], input[type="number"], 
input[type*="date"], input[type="email"] {
    font-size: 1.6rem;
}

.label-text {
    margin-bottom: .5rem;
    font-weight: bold;
    font-size: 1.4rem;
}

select.floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
  
select.floating-select::-ms-expand {
    display: none;
}

.survey-installation-form textarea#accessibility {
    font-size: 1.6rem;
    padding: 2rem;
    height: 12rem;
}
  
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: -8px;
    font-size: 13px;
}

.floating-select:not([value=""]):valid ~ .floating-label {
    top: -8px;
    font-size: 13px;
}

.floating-select[value=""]:focus ~ .floating-label {
    top: 11px;
    font-size: 13px;
}

.floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

.error-input {
    .floating-input,
    .floating-select {
      border: 2px solid #9d3b3b;
      color: #9d3b3b;
    }
    .floating-label {
      font-weight: 600;
      color: #9d3b3b;
    }
    .floating-select:not([multiple]):not([size]) {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
    }
}
  
.input-group {
    display: flex;
    .floating-input {
      border-radius: 0 4px 4px 0;
      border-left: 0;
      padding-left: 0;
    }
}

.input-group-append {
    display: flex;
    align-items: center;
}

.input-group-text {
    display: flex;
    align-items: center;
    font-weight: 400;
    height: 34px;
    color: #323840;
    padding: 0 5px 0 20px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #3d85d8;
    border-radius: 4px 0 0 4px;
    border-right: none;
}
  
.survey-installation-form fieldset {
    padding: 0;
    border: unset;
}

.survey-installation-form legend.legend {
    font-weight: bold;
    color: #170D67;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.field.drainage_access, .field.electrical_outlet_access {
    margin-bottom: 1rem;
}

.field.drainage_access label, .field.electrical_outlet_access label {
    font-weight: bold;
    font-size: 1.4rem;
}

input#uploaded_file {
    border: unset;
    padding: 0;
}

.two-columns {
    display: flex;
    gap: 0rem;
    flex-direction: column;
}

.two-columns > * {
    width: 100%;
}

.field.zip.required {
    width: calc(50% - 1rem);
}

.survey-installation-form .radio-buttons {
    color: #323840;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}

p.contact-links {
    border: 1px solid #c2c2c2;
    padding: 2rem;
    width: auto;
    background: #edecec;
}

p.contact-links {
    background: #ffffff;
    width: calc(100% - 8rem);
}

.survey-installation-form .actions-toolbar {
    margin: 2rem 0 0 auto !important;
    text-align: right;
}

.survey-installation-form  .actions-toolbar .primary {
    float: unset;
}

.image .control.floating-label-content {
    margin-bottom: 0;
    margin-top: .25rem;
}

.accessibility label.label.floating-label {
    width: calc(100% - 3rem);
}

.survey-installation-form > .two-columns {
    display: flex;
    flex-direction: column;
}

.state > .control.floating-select {
    position: relative;
}
