.egec101-wrap {
    width: 100%;
    min-height: var(--egec-min-height);
    background: var(--egec-bg);
    color: var(--egec-text);
    padding: var(--egec-padding-y) var(--egec-padding-x);
    border-radius: var(--egec-radius);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.egec101-wrap.egec101-has-pattern::before,
.egec101-wrap.egec101-has-pattern::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -80px;
    opacity: var(--egec-pattern-opacity);
    background:
        radial-gradient(circle at 50% 50%, transparent 0 46%, var(--egec-accent) 47% 48%, transparent 49%),
        linear-gradient(35deg, transparent 45%, var(--egec-accent) 46%, transparent 47%);
    pointer-events: none;
}

.egec101-wrap.egec101-has-pattern::before { left: -76px; }
.egec101-wrap.egec101-has-pattern::after { right: -76px; transform: rotate(180deg); }

.egec101-inner {
    max-width: var(--egec-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.egec101-content {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    text-align: left;
}

.egec101-icon {
    width: var(--egec-icon-size);
    height: var(--egec-icon-size);
    min-width: var(--egec-icon-size);
    color: var(--egec-icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.egec101-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.egec101-copy {
    min-width: 0;
}

.egec101-headline {
    margin: 4px 0px;
    font-family: var(--egec-headline-font);
    font-size: var(--egec-headline-size);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--egec-headline);
    text-transform: uppercase;
}

.egec101-subtext {
    margin: 0;
    max-width: 560px;
    font-family: var(--egec-body-font);
    font-size: var(--egec-body-size);
    line-height: 1.55;
    color: var(--egec-text);
}

.egec101-signup {
    width: 100%;
    justify-self: end;
}

.egec101-form {
    display: flex;
    width: 100%;
    margin: 0;
}

.egec101-form input {
    width: 100%;
    height: var(--egec-input-height);
    border: 0;
    outline: none;
    padding: 0 18px;
    background: var(--egec-input-bg);
    color: var(--egec-input-text);
    font-family: var(--egec-body-font);
    font-size: var(--egec-body-size);
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
}

.egec101-form button {
    width: var(--egec-button-width);
    min-width: var(--egec-button-width);
    height: var(--egec-input-height);
    border: 0;
    cursor: pointer;
    padding: 0 20px;
    background: var(--egec-button-bg);
    color: var(--egec-button-text);
    font-family: var(--egec-body-font);
    font-size: var(--egec-button-size);
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 0 3px 3px 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.egec101-form button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.egec101-notes {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 12px;
    font-family: var(--egec-body-font);
    font-size: 12px;
    line-height: 1.3;
    color: var(--egec-text);
}

.egec101-notes span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.egec101-notes i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-style: normal;
    font-size: 12px;
    line-height: 1;
}

.egec101-message {
    margin-top: 8px;
    min-height: 16px;
    font-family: var(--egec-body-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--egec-text);
    opacity: 1;
    transition: opacity 0.2s ease;
}

.egec101-trust-on .egec101-message:not(.egec101-message-visible) {
    display: none;
    margin-top: 0;
    min-height: 0;
    opacity: 0;
}

.egec101-message.egec101-message-visible {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .egec101-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .egec101-content {
        justify-content: center;
        text-align: center;
    }

    .egec101-icon-on {
        flex-direction: column;
        gap: 10px;
    }

    .egec101-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .egec101-signup {
        justify-self: center;
    }

    .egec101-form {
        max-width: 720px;
        margin: 0 auto;
    }

    .egec101-notes {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .egec101-wrap {
        padding: 24px 18px;
    }

    .egec101-headline {
        font-size: var(--egec-mobile-headline-size);
    }

    .egec101-subtext,
    .egec101-form input {
        font-size: var(--egec-mobile-body-size);
    }

    .egec101-form {
        flex-direction: column;
        gap: 8px;
    }

    .egec101-form input,
    .egec101-form button {
        width: 100%;
        min-width: 0;
        border-radius: 3px;
    }

    .egec101-notes {
        gap: 12px;
        font-size: 11px;
    }
}
