.infrabyte-form-section {
margin: 0 auto; background-color: var(--infrabyte-form-bg-color, #242c43) !important;
border: 0px solid #555f67 !important;
border-radius: 10px !important;
padding: 20px !important;
box-sizing: border-box !important;
} .infrabyte-form-section input[type="text"],
.infrabyte-form-section input[type="email"],
.infrabyte-form-section input[type="tel"],
.infrabyte-form-section textarea,
.infrabyte-form-section select {
width: 100% !important;
padding: 14px 16px !important;
margin-bottom: 15px !important;
border: 1px solid #b6a872 !important;
border-radius: 8px !important;
box-sizing: border-box !important;
background-color: #f0dc8e !important;
font-size: 15px !important;
color: var(--infrabyte-form-text-color, #333) !important;
}
.infrabyte-form-section input[type="text"]::placeholder,
.infrabyte-form-section input[type="email"]::placeholder,
.infrabyte-form-section input[type="tel"]::placeholder,
.infrabyte-form-section textarea::placeholder { color: var(--infrabyte-form-label-color, #8a9aa8) !important;
}
.infrabyte-form-section select {
font-weight: 400 !important;
color: var(--infrabyte-form-text-color, #222) !important;
cursor: pointer;
}
.infrabyte-form .infrabyte-form-section span {
display: block;
}
.infrabyte-form .hidden {
display: none;
}
.infrabyte-form .option-buttons {
display: flex !important;
justify-content: stretch !important;
} .infrabyte-form .option-buttons > p,
.infrabyte-form .manual-fields > p,
.infrabyte-form .vin-fields > p,
.infrabyte-form .rego-fields > p,
.infrabyte-form .manualfields > p,
.infrabyte-form .sn-option-content > p {
display: contents !important;
}
.infrabyte-form .sn-option-content {
border: 1px solid var(--infrabyte-form-option-border-color, #d7e0e6); background-color: var(--infrabyte-form-bg-color, #31374d) !important;
padding: 14px !important;
margin-bottom: 15px !important;
border-radius: 0 0 8px 8px !important;
}
.infrabyte-form .option-button {
background-color: #fff !important;
border: 1px solid #d7e0e6 !important;
color: var(--infrabyte-form-text-color, #333333) !important;
border-bottom: none !important;
border-radius: 0 !important;
cursor: pointer !important;
padding: 12px 8px !important;
transition: background-color 0.3s ease;
width: calc(100% / 4) !important;
border-left: 0 !important;
display: inline-block !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.3 !important;
}
.infrabyte-form .option-button:first-child {
border-left: 1px solid #d7e0e6 !important;
border-top-left-radius: 8px !important;
}
.infrabyte-form .option-button:last-child {
border-top-right-radius: 8px !important;
}
.infrabyte-form .option-button.active {
background-color: var(--infrabyte-form-active-color, #f7941d) !important;
border-color: var(--infrabyte-form-active-color, #f7941d) !important;
color: #fff !important;
}
.infrabyte-form .option-button:hover {
background-color: var(--infrabyte-form-active-color, #f7941d) !important;
border-color: var(--infrabyte-form-active-color, #f7941d) !important;
color: #fff !important;
}
.d-none {
display: none;
}
.infrabyte-form br {
display: none;
}
.infrabyte-form button,
.infrabyte-form input[type="submit"] {
border-radius: 8px !important;
background: var(--infrabyte-form-submit-color, #f7941d) !important;
color: #fff !important;
border: 0 !important;
width: 100% !important;
padding: 14px !important;
font-size: 15px !important;
font-weight: 700 !important;
cursor: pointer !important;
transition: background-color 0.3s ease, filter 0.3s ease;
}
.infrabyte-form input[type="submit"]:hover { filter: brightness(0.88);
}
.infrabyte-form .find-vehicle-button {
background-color: #f2f2f2 !important;
color: #000000 !important;
border: none !important;
padding: 6px 10px !important;
width: 100% !important;
}
.infrabyte-form .find-vehicle-button:hover {
background-color: #ddd !important;
cursor: pointer;
}
.sn-spinner-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.sn-spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #ff8d00;
border-radius: 50%;
width: 36px;
height: 36px;
animation: sn-spin 1s linear infinite;
}
@keyframes sn-spin {
to {
transform: rotate(360deg);
}
}
.sn-toast {
position: fixed;
top: 20px;
right: 20px;
min-width: 250px;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
z-index: 10000; opacity: 0;
transform: translateY(20px);
animation: sn-toast-in 0.3s forwards;
}
.sn-toast-success {
background-color: #4caf50;
color: white;
}
.sn-toast-error {
background-color: #f44336;
color: white;
}
.sn-toast-message {
flex-grow: 1;
}
.sn-toast-close {
background: none;
border: none;
color: white;
font-size: 20px;
cursor: pointer;
padding: 10px;
}
@keyframes sn-toast-in {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes sn-toast-out {
to {
opacity: 0;
transform: translateY(20px);
}
} .infrabyte-form-section.sn-horizontal {
max-width: 100%;
}
.infrabyte-form-section.sn-horizontal .infrabyte-form {
display: flex;
flex-wrap: wrap;
}
.infrabyte-form-section.sn-horizontal input,
.infrabyte-form-section.sn-horizontal select,
.infrabyte-form-section.sn-horizontal button {
width: 25% !important;
} .infrabyte-form-section.sn-horizontal .sn-autocomplete-wrap {
display: inline-block;
vertical-align: top;
width: 25%;
}
.infrabyte-form-section.sn-horizontal .sn-autocomplete-wrap input {
width: 100% !important;
}
.infrabyte-form-section.sn-horizontal .infrabyte-form div.option-buttons {
width: 100%;
display: flex;
justify-content: stretch;
}   .sn-autocomplete-wrap {
position: relative;
display: block;
}
.sn-autocomplete-dropdown { position: absolute;
top: 100%;
left: 0;
z-index: 1000;
border: 1px solid #ccc;
background: var(--infrabyte-form-autocomplete-bg-color, #fff);
max-height: 200px;
overflow-y: auto;
width: 100%; display: none;
}
.sn-autocomplete-dropdown li {
cursor: pointer;
text-align: left;
font-size: 12px;
max-width: 100%;
}
.sn-autocomplete-dropdown li:hover {
background-color: #eee;
} .sn-autocomplete-item,
.sn-autocomplete-item strong {
color: var(--infrabyte-form-autocomplete-text-color, inherit) !important;
} .sn-autocomplete-item {
display: block;
padding: 8px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sn-radiobtn {
margin: 0;
}
.infrabyte-form-section p,
.sn-radiobtn p {
margin-bottom: 0;
}
.sn-radiobtn p {
padding: 0;
} .sn-radiobtn strong {
display: block;
font-size: 16px;
font-weight: 700;
margin-bottom: 8px;
text-align: left; } .sn-radio-group {
display: inline-block;
padding: 0;
border-radius: 0;
width: 100%;
} .sn-radio-group p {
display: flex;
align-items: center;
justify-content: left;
gap: 24px;
margin: 0;
margin-bottom: 0 !important;
padding: 0;
} .sn-radio-group label {
font-size: 14px;
font-weight: 500;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--infrabyte-form-label-color, #333);
margin-bottom: 0 !important; } .sn-radio-group input[type="radio"] {
width: 18px;
height: 18px;
cursor: pointer;
margin: 0;
margin-bottom: 0 !important;
accent-color: #2f80ed;
}
.infrabyte-form-section select.carYearRange{
margin-bottom: 0 !important;
}
ul.sn-autocomplete-dropdown {
margin-top: -15px !important;
}