.avsec360-auth-modal {
    display: none;
}

.avsec360-auth-modal.is-open {
    display: block;
}

.avsec360-auth-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}

.avsec360-auth-modal__dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 820px);
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.avsec360-auth-modal__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.avsec360-auth-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avsec360-auth-modal__content {
    padding: 32px;
}

.avsec360-auth-modal__content h3 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: #1f2430;
}

.avsec360-auth-modal__content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #5c6470;
}

.avsec360-auth-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #111;
    z-index: 2;
}

.avsec360-auth-modal__actions {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.avsec360-auth-modal__actions .button {
    min-width: 180px;
    text-align: center;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

body.avsec360-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .avsec360-auth-modal__dialog {
        width: calc(100% - 24px);
    }

    .avsec360-auth-modal__image {
        height: 160px;
    }

    .avsec360-auth-modal__content {
        padding: 24px;
    }

    .avsec360-auth-modal__content h3 {
        font-size: 30px;
    }

    .avsec360-auth-modal__content p {
        font-size: 16px;
    }

    .avsec360-auth-modal__actions {
        gap: 16px;
        margin-top: 28px;
        justify-content: center;
    }

    .avsec360-auth-modal__actions .button {
        width: 100%;
        min-width: auto;
    }
}

.woocommerce-account form.woocommerce-form.woocommerce-form-login.login {
    width: 100% !important;
    padding-bottom: 6em !important;
}

form.woocommerce-form.woocommerce-form-login.login {
    width: 100% !important;
    padding-bottom: 6em;
}