    /* ===== BMW Test Drive form — design only ===== */
.required-asterisk{
    color: #d0021b;
    font-size: 12px;
}
.slds-scope .header-container,
.slds-scope .main-container {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Heading + intro */
.slds-scope .header-container .header {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #1a1a1a;
}
.slds-scope .comments-copy-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}
/* collapse the &nbsp; spacer paragraphs */
.slds-scope .pml-body-form form > p:empty,
.slds-scope .pml-body-form form > p:has(> br),
.slds-scope .pml-body-form form > p:not(:has(*)):not(:empty) {
    margin: 0;
    line-height: 0;
    height: 12px;
    overflow: hidden;
}
.slds-scope .pml-body-form #required {
    color: #d0021b;
    font-style: normal;
}
.slds-scope .pml-body-form form > p {
    font-size: .875rem;
    color: #6b6b6b;
}

/* Form grid */
.slds-scope .pml-body-form form > .group > .cell.one {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}
.slds-scope .pml-body-form form > .group > .cell.one > br {
    display: none;
}
/* everything after the 10 fields spans the full width */
.slds-scope .pml-body-form form > .group > .cell.one > *:nth-child(n+11) {
    grid-column: 1 / -1;
}
/* address field + dropdowns that read better full-width */
.slds-scope .pml-body-form form > .group > .cell.one > .answer.two:nth-child(8) {
    grid-column: 1 / -1;
}

/* Label + control */
.slds-scope .pml-body-form .answer.two,
.slds-scope .pml-body-form .choose.two,
.slds-scope .pml-body-form .text.two {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}
.slds-scope .pml-body-form .choose.two label {
    display: block;
    margin-bottom: 6px;
    font-size: .875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.slds-scope .pml-body-form .textbox,
.slds-scope .pml-body-form select.DropDown {
    display: block;
    width: 100% !important;
    height: 48px;
    padding: 0 14px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-shadow: none;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.slds-scope .pml-body-form select.DropDown {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.slds-scope .pml-body-form .textbox:hover,
.slds-scope .pml-body-form select.DropDown:hover {
    border-color: #8a8a8a;
}
.slds-scope .pml-body-form .textbox:focus,
.slds-scope .pml-body-form select.DropDown:focus {
    border-color: #1c69d4;
    box-shadow: 0 0 0 3px rgba(28, 105, 212, .18);
}
/* hide number spinners on mobile field */
.slds-scope .pml-body-form input[type=number]::-webkit-outer-spin-button,
.slds-scope .pml-body-form input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.slds-scope .pml-body-form input[type=number] {
    -moz-appearance: textfield;
}

/* Validation messages */
.slds-scope .pml-body-form .text.two > span {
    font-size: .8125rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* Terms & conditions box */
.slds-scope .pml-body-form .tc-box {
    max-height: 260px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 20px 22px;
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}
.slds-scope .pml-body-form .tc-box .title {
    margin-bottom: 12px;
    font-size: .9rem;
    letter-spacing: .04em;
}
.slds-scope .pml-body-form .tc-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.slds-scope .pml-body-form .tc-box li {
    margin: 0 0 10px;
    line-height: 1.6;
    color: #333;
}
.slds-scope .pml-body-form .tc-box ul.ul-child {
    margin: 8px 0 0;
    padding-left: 24px;
}
.slds-scope .pml-body-form .tc-box .span-li-count {
    display: inline-block;
    min-width: 32px;
    font-weight: 600;
}

/* Consent checkboxes */
.slds-scope .pml-body-form .answer.two > div:has(> input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.slds-scope .pml-body-form .answer.two > div:has(> input[type="checkbox"]) > br {
    display: none;
}
.slds-scope .pml-body-form input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0 !important;
    accent-color: #1c69d4;
    cursor: pointer;
}
.slds-scope .pml-body-form .consent-label,
.slds-scope .pml-body-form .consent-label-2 {
    font-size: .875rem;
    line-height: 1.55;
    color: #333;
    cursor: pointer;
    margin: 0;
}
.slds-scope .pml-body-form .answer.two > br {
    display: none;
}
.slds-scope .pml-body-form .slds-p-top_x-small {
    padding-top: 20px;
}

/* Buttons */
.slds-scope .pml-body-form form > .group > .cell.one .group {
    margin-top: 8px !important;
}
.slds-scope .pml-body-form #form_submit {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.slds-scope .pml-body-form #form_submit .slds-button {
    min-width: 140px;
    height: 48px;
    padding: 0 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid #1c69d4;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.slds-scope .pml-body-form #form_submit input[name="Submit"] {
    background: #1c69d4;
    color: #fff;
}
.slds-scope .pml-body-form #form_submit input[name="Submit"]:hover {
    background: #0653b6;
    border-color: #0653b6;
}
.slds-scope .pml-body-form #form_submit input[name="Submit2"] {
    background: #fff;
    color: #1c69d4;
}
.slds-scope .pml-body-form #form_submit input[name="Submit2"]:hover {
    background: #eef4fc;
}

/* Mobile */
@media (max-width: 767px) {
    .slds-scope .header-container .header { font-size: 1.75rem; }
    .slds-scope .pml-body-form form > .group > .cell.one {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .slds-scope .pml-body-form form > .group > .cell.one > .answer.two:nth-child(8) {
        grid-column: auto;
    }
    .slds-scope .pml-body-form #form_submit {
        flex-direction: column-reverse;
    }
    .slds-scope .pml-body-form #form_submit .slds-button {
        width: 100%;
    }
    .slds-scope .pml-body-form .g-recaptcha {
        transform: scale(.92);
        transform-origin: 0 0;
    }
}
