.mbw-form-wrapper,
.mbw-form-wrapper * {
    box-sizing: border-box;
}

.mbw-form-wrapper {
    width: 100%;
}

.mbw-form {
    width: 100%;
}

.mbw-form-block-title h1,
.mbw-form-block-title h2,
.mbw-form-block-title h3,
.mbw-form-block-title h4,
.mbw-form-block-text p {
    margin: 0;
}

.mbw-form-block-text p {
    white-space: pre-line;
}

.mbw-form-block-separator hr {
    border: 0;
    border-top: 1px solid #dcdcde;
    margin: 0;
}

.mbw-form-field {
    min-width: 0;
    position: relative;
}

.mbw-form-control,
.mbw-form-submit {
    appearance: none;
}

.mbw-form-control,
.mbw-form-submit,
.mbw-form-option input {
    max-width: 100%;
}

.mbw-rsvp-hidden {
    display: none;
}

.mbw-conditional-hidden {
    display: none;
}

.mbw-rsvp-search-results {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    overflow: hidden;
}

.mbw-rsvp-search-results.is-visible {
    display: block;
}

.mbw-rsvp-search-item,
.mbw-rsvp-search-empty {
    width: 100%;
    display: block;
    padding: 12px 14px;
    text-align: left;
    background: #fff;
    border: 0;
}

.mbw-rsvp-search-item:hover {
    background: #f6f7f7;
}

.mbw-rsvp-search-list {
    max-height: 280px;
    overflow-y: auto;
}

.mbw-form-field-guest .mbw-rsvp-search-input {
    cursor: text;
}

.mbw-form-control[data-mbw-select="1"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%23646970' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding-right: 42px;
    cursor: pointer;
}

.mbw-form-control[data-mbw-select="1"] option {
    color: inherit;
}

.mbw-allergy-details { margin-top: 16px; }
.mbw-allergy-row { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(240px,1.5fr) auto; gap:14px; align-items:end; margin-bottom:14px; }
.mbw-allergy-row > div { display:flex; flex-direction:column; align-self:stretch; }
.mbw-allergy-row label { display:block; margin-bottom:6px; }
.mbw-allergy-row select.mbw-form-control, .mbw-allergy-row textarea.mbw-form-control { margin-top:auto; }
.mbw-allergy-row textarea.mbw-form-control { min-height:82px; resize:vertical; }
.mbw-allergy-add, .mbw-allergy-remove { cursor:pointer; }
.mbw-allergy-add { border:0 !important; padding:0; background:transparent !important; color:inherit !important; text-decoration:underline; box-shadow:none !important; }
.mbw-allergy-remove { width:28px; height:34px; margin-bottom:7px; padding:0; border:0 !important; border-radius:0 !important; background:transparent !important; color:inherit !important; box-shadow:none !important; font-size:22px; line-height:1; opacity:.7; }
.mbw-allergy-add:hover, .mbw-allergy-add:focus, .mbw-allergy-add:active, .mbw-allergy-remove:hover, .mbw-allergy-remove:focus, .mbw-allergy-remove:active { border:0 !important; background:transparent !important; color:inherit !important; box-shadow:none !important; outline:none; transform:none !important; }
@media (max-width:640px) { .mbw-allergy-row { grid-template-columns:1fr; } .mbw-allergy-remove { margin:0; } }
@media (max-width:640px) { .mbw-form-fields > .mbw-column-half, .mbw-form-fields > .mbw-column-third { grid-column:span 6 !important; } }
