.wcae-login-widget {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wcae-login-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    transition: transform .2s ease, color .2s ease, opacity .2s ease;
}

.wcae-login-trigger:hover {
    transform: scale(1.05);
    background: transparent;
}

.wcae-login-trigger:focus {
    outline: none;
    box-shadow: none;
}

.wcae-login-trigger svg {
    display: block;
}

.wcae-login-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.wcae-login-modal.is-open {
    display: block;
}

.wcae-login-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(1px);
}

.wcae-login-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100vw - 30px));
    max-height: calc(100vh - 30px);
    margin: 15px auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    background: #fff;
}

.wcae-login-modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: all .2s ease;
}

.wcae-login-modal__grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 680px;
}

.wcae-login-modal__left {
    position: relative;
    background: #111;
}

.wcae-login-modal__image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 680px;
    overflow: hidden;
}

.wcae-login-modal__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wcae-login-modal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.wcae-login-modal__image-text {
    position: absolute;
    left: 26px;
    bottom: 28px;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.wcae-login-modal__right {
    padding: 54px 42px 42px;
    overflow-y: auto;
}

.wcae-login-modal__title {
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.wcae-login-modal__title br {
    display: block;
    content: "";
    margin-top: 3px;
}

.wcae-login-modal__subtitle {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.5;
    color: #4b4b4b;
}

.wcae-login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 34px;
    border-bottom: 1px solid #ececec;
}

.wcae-login-tabs__item {
    position: relative;
    appearance: none;
    border: 0;
    padding: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #1f1f1f;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
}

.wcae-login-tabs__item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: transparent;
    transition: background .2s ease;
}

.wcae-login-tabs__item.is-active::after {
    background: #d4a437;
}

.wcae-login-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.wcae-login-alert.is-success {
    background: #edf8ee;
    color: #226031;
    border: 1px solid #b7dfbf;
}

.wcae-login-alert.is-error {
    background: #fff1f1;
    color: #a12626;
    border: 1px solid #efc0c0;
}

.wcae-login-panel {
    display: none;
}

.wcae-login-panel.is-active {
    display: block;
}

.wcae-login-form {
    width: 100%;
}

.wcae-login-field {
    margin-bottom: 20px;
}

.wcae-login-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.wcae-login-field input[type="email"],
.wcae-login-field input[type="password"],
.wcae-login-field input[type="text"] {
    width: 100%;
    min-height: 56px;
    border: 1px solid #d7dce1;
    border-radius: 10px;
    background: #fff;
    padding: 0 18px;
    font-size: 18px;
    color: #1a1a1a;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.wcae-login-field input:focus {
    border-color: #bfc6cd;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.wcae-login-field input::placeholder {
    color: #8c949b;
}

.wcae-login-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.wcae-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #202020;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.wcae-login-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.wcae-login-submit.is-loading {
    pointer-events: none;
    opacity: .7;
}

.wcae-login-link-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #232323;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.wcae-login-link-btn:hover {
    text-decoration: underline;
}

.wcae-login-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 24px;
    cursor: pointer;
}

.wcae-login-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wcae-login-checkbox span {
    position: relative;
    display: inline-block;
    padding-left: 34px;
    font-size: 14px;
    line-height: 1.6;
    color: #2a2a2a;
}

.wcae-login-checkbox span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 1px solid #bfc5cb;
    border-radius: 5px;
    background: #fff;
    transition: all .2s ease;
}

.wcae-login-checkbox input:checked + span::before {
    background: #d4a437;
    border-color: #d4a437;
    box-shadow: inset 0 0 0 5px #fff;
}

.wcae-login-checkbox a {
    color: inherit;
    text-decoration: underline;
}

body.wcae-login-modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .wcae-login-modal__grid {
        grid-template-columns: 320px 1fr;
    }

    .wcae-login-modal__title {
        font-size: 36px;
    }

    .wcae-login-modal__right {
        padding: 46px 30px 30px;
    }
}

@media (max-width: 767px) {
    .wcae-login-modal__dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
    }

    .wcae-login-modal__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .wcae-login-modal__left {
        display: none;
    }

    .wcae-login-modal__right {
        padding: 50px 18px 24px;
    }

    .wcae-login-modal__title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .wcae-login-modal__subtitle {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .wcae-login-tabs {
        gap: 12px;
        margin-bottom: 24px;
    }

    .wcae-login-tabs__item {
        font-size: 12px;
        letter-spacing: .12em;
        padding-bottom: 14px;
    }

    .wcae-login-field input[type="email"],
    .wcae-login-field input[type="password"],
    .wcae-login-field input[type="text"] {
        min-height: 50px;
        font-size: 16px;
        padding: 0 15px;
    }

    .wcae-login-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .wcae-login-submit {
        width: 100%;
        min-width: 100%;
        min-height: 50px;
        font-size: 16px;
    }

    .wcae-login-link-btn {
        text-align: left;
        font-size: 15px;
    }
}

/* remover fundo do ícone quando clicado ou ativo */

.wcae-login-trigger,
.wcae-login-trigger:hover,
.wcae-login-trigger:focus,
.wcae-login-trigger:active {
    background: transparent !important;
    box-shadow: none !important;
}