.toggle-existing-customer-fields {
    display: none !important;
}

/* Taller main-form fields */
.wpcf7-form .nice-select-height {
    min-height: 40px !important;
    height: 40px !important;
    line-height: 1.4 !important;
}

/* Red required asterisk on labels */
.wpcf7-form label > b {
    color: #e31c23 !important;
    font-weight: 700;
    margin-inline-start: 4px;
}

/* Horizontal Yes/No radios like the design */
.wpcf7-form .wpcf7-radio {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 0 !important;
    min-height: auto !important;
    height: auto !important;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
}

/* Date of Birth — single calendar icon via input background */
.wpcf7-form-control-wrap[data-name="date-of-birth"],
.wpcf7-form-control-wrap[class*="date-of-birth"] {
    position: relative !important;
    display: block !important;
    width: 100%;
    flex-direction: unset !important;
}

.wpcf7-form-control-wrap[data-name="date-of-birth"] input,
.wpcf7-form-control-wrap[class*="date-of-birth"] input {
    width: 100%;
    padding-inline-end: 2.5rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23007d8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.15rem;
}

html[lang="ar"] .wpcf7-form-control-wrap[data-name="date-of-birth"] input,
html[lang="ar"] .wpcf7-form-control-wrap[class*="date-of-birth"] input,
[dir="rtl"] .wpcf7-form-control-wrap[data-name="date-of-birth"] input,
[dir="rtl"] .wpcf7-form-control-wrap[class*="date-of-birth"] input {
    background-position: left 0.85rem center;
}

/* Kill every competing calendar glyph/indicator */
.wpcf7-form-control-wrap[data-name="date-of-birth"]::before,
.wpcf7-form-control-wrap[data-name="date-of-birth"]::after,
.wpcf7-form-control-wrap[class*="date-of-birth"]::before,
.wpcf7-form-control-wrap[class*="date-of-birth"]::after,
.wpcf7-form-control-wrap[data-name="date-of-birth"] input::before,
.wpcf7-form-control-wrap[data-name="date-of-birth"] input::after,
.wpcf7-form-control-wrap[class*="date-of-birth"] input::before,
.wpcf7-form-control-wrap[class*="date-of-birth"] input::after,
.wpcf7-form-control-wrap[data-name="date-of-birth"] .icon-calendar,
.wpcf7-form-control-wrap[class*="date-of-birth"] .icon-calendar,
.wpcf7-form-control-wrap[data-name="date-of-birth"] .cae-date-icon,
.wpcf7-form-control-wrap[class*="date-of-birth"] .cae-date-icon {
    content: none !important;
    display: none !important;
}

.wpcf7-form-control-wrap[data-name="date-of-birth"] input::-webkit-calendar-picker-indicator,
.wpcf7-form-control-wrap[class*="date-of-birth"] input::-webkit-calendar-picker-indicator {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.cae-program-bank-product-field-hidden,
.cae-program-bank-product-label-hidden,
.wpcf7-form-control-wrap:has(> select.cae-program-bank-product-auto),
select.cae-program-bank-product-auto + .nice-select,
.nice-select.cae-program-bank-product-auto {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
}

.wpcf7 form:has(select.cae-program-bank-product-auto) label[for="program"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cae-utm-fields {
    display: none !important;
}

.main-subproduct__info .ca-tabs .tab-content > .tab-pane:not(.active) {
    display: none !important;
}

.main-subproduct__info .ca-tabs .tab-content > .tab-pane.active {
    display: block !important;
}
