/* Keep public forms in the original event site's visual language. */
.event-page .ep-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.event-page .ep-original-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.event-page .ep-original-form legend,
.event-page .ep-form-label {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 0;
    color: var(--paragraph-gray);
    font-family: Inter Tight, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}
.event-page .ep-required { color: red; }
.event-page .ep-delegate-count { margin-bottom: 20px; }
.event-page .ep-contact-columns { grid-row-gap: 0; }
.event-page .ep-contact-columns > div { min-width: 0; }
.event-page .ep-original-form .contacts-input { font-size: 16px; line-height: 1.42857; }
.event-page .ep-original-form .contacts-input-phone { min-width: 0; width: 0; font-size: 16px; }
.event-page .ep-original-form .phone-prefix { flex-shrink: 0; font-size: 16px; }
.event-page .ep-registration-consent { padding-top: 20px; }
.event-page .ep-registration-consent a { text-decoration: underline; }
.event-page .ep-original-form .primary-button { align-self: flex-start; }
.event-page .ep-original-form .subscribe-text-field { font-size: 14px; line-height: 20px; }
.event-page .ep-original-form .contacts-textarea { resize: vertical; line-height: 1.42857; }
/* Event form pop-outs use the resource lead dialog's shell, type, fields, and button. */
.event-page .ep-dialog.ep-resource-modal { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 36px 36px 32px; border: 1px solid #ffcf77; border-radius: 26px; background: #fff; color: #27333b; font-family: 'Inter Tight', sans-serif; font-weight: 400; line-height: 1.5; box-shadow: 0 20px 80px #0003; }
.event-page .ep-dialog.ep-resource-modal::backdrop { background: #1e1c1b99; }
.event-page .ep-dialog.ep-resource-modal h2 { font-family: 'Tajawal', sans-serif; font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; color: #27333b; margin: 16px 0 8px; }
.event-page .ep-resource-modal > p { margin: 0 0 4px; color: #666; font-size: 16px; font-weight: 400; line-height: 1.5; }
.event-page .ep-resource-modal .ep-resource-modal-form { margin: 0; padding: 0; background: transparent; border-radius: 0; }
.event-page .ep-resource-modal .rh-form-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 18px; gap: 18px 20px; }
.event-page .ep-resource-modal .rh-field { min-width: 0; }
.event-page .ep-resource-modal .rh-field label { display: block; width: auto; margin: 0 0 7px; padding: 0; color: #27333b; font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.4; }
.event-page .ep-resource-modal .rh-field label span { color: #FF6816; font-weight: 700; }
.event-page .ep-resource-modal .rh-input,
.event-page .ep-resource-modal select.rh-input { display: block; width: 100%; min-width: 0; margin: 0; border: 1px solid #FFA600; border-radius: 30px; padding: 12px 18px; background-color: #fff; background-image: none; color: #27333b; font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; min-height: 46px; box-shadow: none; }
.event-page .ep-resource-modal textarea.rh-input { resize: vertical; }
.event-page .ep-resource-modal .rh-input:focus,
.event-page .ep-resource-modal .rh-input:focus-visible { outline: none; border-color: #FFA600; box-shadow: 0 0 0 3px #ffa60033; }
.event-page .ep-resource-modal .ep-resource-modal-privacy { margin: 0; color: #27333b; font-size: 14px; font-weight: 400; line-height: 1.5; }
.event-page .ep-resource-modal .ep-resource-modal-privacy a { color: #FF6816; font-weight: 600; text-decoration: none; }
.event-page .ep-resource-modal .ep-resource-modal-privacy a:hover { color: #e69500; }
.event-page .ep-resource-modal .rh-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; border: 1px solid #FFA600; border-radius: 50px; padding: 12px 26px; min-height: 44px; background: #FFA600; color: #fff; font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; text-align: center; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.event-page .ep-resource-modal .rh-button:hover { background: #1e1c1b; border-color: #1e1c1b; color: #fff; }
.event-page .ep-resource-modal .rh-dialog-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ece7e1; border-radius: 50%; background: #fff; color: #27333b; font-size: 22px; font-weight: 400; line-height: 1; }
.event-page .ep-resource-modal .rh-dialog-close:hover { background: #fff7ef; border-color: #FFA600; }
.event-page .ep-resource-modal .rh-dialog-close:focus-visible { outline: 2px solid #FFA600; outline-offset: 2px; }
@media (max-width: 767px) {
    .event-page .ep-registration-form { padding: 15px; }
    .event-page .ep-original-form .phone-prefix { width: 150px; padding-inline: 10px; }
    .event-page .ep-original-form .contacts-input-phone { padding-inline: 12px; }
    .event-page .ep-original-form .full-width-mobile { align-self: stretch; }
    .event-page .ep-dialog.ep-resource-modal { padding: 42px 22px 26px; }
    .event-page .ep-dialog.ep-resource-modal h2 { font-size: 30px; }
    .event-page .ep-resource-modal .rh-form-grid { grid-template-columns: 1fr; gap: 16px; }
}
