#my-notice-wrapper {
    max-width: 1440px;
    margin: auto;
    padding: 0 50px;
}

#my-notice-wrapper div.woocommerce-message,
#my-notice-wrapper div.woocommerce-notice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background: var(--black_white100);
    color: var(--primary500);
    margin-top: 50px;
    position: relative;
}

#my-notice-wrapper div.woocommerce-error {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background: var(--secondary100);
    color: var(--error500);
    margin-top: 50px;
    position: relative;
}


#my-notice-wrapper div.woocommerce-message::before {
    content: "";
    /* position: absolute; */
    background-image: url(../../icons/apply_check_icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    height: 18px;
    width: 18px;
}

.wp-notice-container {
    max-width: 1440px;
    margin: auto;
}

.woocommerce>.woocommerce-notices-wrapper>.wp-notice-container {
    padding: 0 50px;
}


.wp-notice-container>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wp-notice-container strong {
    font-weight: normal;
}

.wp-notice-container {
    margin-top: 50px;
}

.wp-notice-container>div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background: var(--black_white100);
    color: var(--primary500);
}

.wp-notice-container>div a {
    color: var(--primary500);
    text-decoration: underline;
    text-underline-offset: 2px;
    -webkit-text-decoration-color: transparent;
            text-decoration-color: transparent;
    transition: -webkit-text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease, -webkit-text-decoration-color 0.4s ease;
}

.wp-notice-container>ul li {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--primary500);
    background: var(--black_white100);
}

.wp-notice-container>ul li a {
    color: var(--error500);
    text-decoration: underline;
    text-underline-offset: 2px;
    -webkit-text-decoration-color: transparent;
            text-decoration-color: transparent;
    transition: -webkit-text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease, -webkit-text-decoration-color 0.4s ease;
}

#my-notice-wrapper div.woocommerce-error a {
    color: var(--error500);
    text-decoration: underline;
    text-underline-offset: 2px;
    -webkit-text-decoration-color: transparent;
            text-decoration-color: transparent;
    transition: -webkit-text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease;
    transition: text-decoration-color 0.4s ease, -webkit-text-decoration-color 0.4s ease;
}

.wp-notice-container>div a:hover,
.wp-notice-container>ul li a:hover,
#my-notice-wrapper div.woocommerce-error a:hover {
    -webkit-text-decoration-color: var(--primary500);
            text-decoration-color: var(--primary500);
}

/*  my account */
.user-menu-inner .wp-notice-container {
    margin-top: unset;
}

.my-account-content-wrapper .woocommerce-notices-wrapper>div.woocommerce-message,
.my-account-content-wrapper .woocommerce-notices-wrapper>div.woocommerce-notice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background: var(--black_white100);
    color: var(--primary500);
    position: relative;
}

.my-account-content-wrapper .woocommerce-notices-wrapper>div.woocommerce-error {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background: var(--secondary100);
    color: var(--error500);
    position: relative;
}

.wp-notice-container>ul.woocommerce-error li {
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--secondary100);
    color: var(--error500);
}

.wp-notice-container>ul:focus-visible {
    outline: none;
}

.user-menu-inner .woocommerce-notices-wrapper>div:focus-visible {
    outline: none;
}

.my-account-content-wrapper .woocommerce-notices-wrapper>div.woocommerce-message::before {
    content: "";
    /* position: absolute; */
    background-image: url(../../icons/apply_check_icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    height: 18px;
    width: 18px;
}

.my-account-content-wrapper .woocommerce-notices-wrapper>div {
    margin: 32px 32px 8px;
}


@media (max-width: 768px) {
    .wp-notice-container {
        margin-top: 32px;
    }

    #my-notice-wrapper {
        padding: 0 16px;
    }

    #my-notice-wrapper div.woocommerce-error,
    #my-notice-wrapper div.woocommerce-message,
    #my-notice-wrapper div.woocommerce-notice {
        margin-top: 32px;
    }

    .woocommerce>.woocommerce-notices-wrapper>.wp-notice-container {
        padding: 0 16px;
    }
    .woocommerce>.woocommerce-notices-wrapper>.wp-notice-container>div {
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    .my-account-content-wrapper .woocommerce-notices-wrapper>div {
        margin: 24px 16px 0px;
    }
}