
.eyee-hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.eyee-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0px;
    column-gap: 20px;
}

.eyee-form-field--full {
    grid-column: 1 / -1;
}

.eyee-form-field--half {
    grid-column: span 1;
}

@media (max-width: 640px) {
    .eyee-form-grid {
        grid-template-columns: 1fr;
    }

    .eyee-form-field--half {
        grid-column: 1 / -1;
    }
}

.eyee-field-error {
    color:red;
    font-size:13px;
    
    position: relative;
    top: -20px;
    left: 5px;
}

/* ── Custom select dropdown (radio-style) ── */
.eyee-custom-select {
    position: relative;
    user-select: none;
}

.eyee-custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height:48px;
    padding: 0 16px;
    border: 1px solid rgba(107, 78, 255, 0.5);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    color: #000;
    transition: border-color 0.2s;
}

.eyee-custom-select__trigger:hover {
    border-color: #5a50e0;
}

.eyee-custom-select.is-open .eyee-custom-select__trigger {
    border-color: #5a50e0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom:1px solid rgba(0, 0, 0, 0.05) !important;
}

.eyee-custom-select__arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s;
    color: #5a50e0;
}

.eyee-custom-select.is-open .eyee-custom-select__arrow {
    transform: rotate(180deg);
}

.eyee-custom-select__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #5a50e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0px 0;
    z-index: 100;
}

.eyee-custom-select.is-open .eyee-custom-select__panel {
    display: block;
}

.eyee-custom-select__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 15px;
    color: #000;
}

.eyee-custom-select__option:hover {
    background: #f5f4ff;
}

/* Custom radio circle */
.eyee-custom-select__radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.eyee-custom-select__option.is-selected .eyee-custom-select__radio {
    border-color: #5a50e0;
    background: #5a50e0;
    box-shadow: inset 0 0 0 3px #fff;
}

/* Hidden native select (keeps form data intact) */
.eyee-custom-select__native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.eyee-custom-select__option:last-child:hover {
    border-radius: 0 0 7px 7px;
}

.eyee-custom-select {
    margin-bottom:25px;
}



/* Zorgt dat custom-select dropdowns binnen de app-modal zichtbaar blijven.
   De JS scrolt de dichtstbijzijnde scrollbare container; de modal-dialog moet
   daarom zelf kunnen scrollen wanneer de pagina erachter geblokkeerd is. */
.app-modal__dialog {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
