/* Styles for the optional Date of Birth field. Only linked when the fund's
   CollectBirthDate flag is on, alongside the vendored flatpickr assets. */

.wms-registration__dob-confirm {
    background: var(--wms-registration-dob-confirm-background, #fffaeb);
    border: 1px solid var(--wms-registration-dob-confirm-border, #f79009);
    border-radius: 4px;
    display: grid;
    gap: .55rem;
    padding: .75rem .875rem;
}

.wms-registration__dob-confirm[hidden] {
    display: none;
}

.wms-registration__dob-confirm p {
    color: var(--wms-registration-dob-confirm-text, #7a2e0e);
    font-size: .95rem;
    line-height: 1.45;
    margin: 0;
}

.wms-registration__dob-confirm p::before {
    content: "\26A0\FE0F";
    margin-right: .4rem;
}

.wms-registration__dob-confirm label {
    font-weight: 400;
}

/* Keep the flatpickr calendar consistent with the form's palette. */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--wms-registration-submit-active-background, #0067ac);
    border-color: var(--wms-registration-submit-active-background, #0067ac);
}
