@import url("/assets/components/minishop2/css/web/lib/jquery.jgrowl.min.css");

.jGrowl {
    z-index: 10050;
    color: #343645;
    font-family: inherit;
    font-size: 14px;
}

.jGrowl.top-right {
    right: 16px;
    top: 16px;
}

.jGrowl-notification,
div.jGrowl > .jGrowl-notification.ui-state-highlight,
div.jGrowl > .ui-state-highlight {
    background: #fff !important;
    background-color: #fff !important;
    color: #343645 !important;
    border: 1px solid #e6e8ef !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 16px rgba(52, 54, 69, 0.12);
    opacity: 1 !important;
    filter: none !important;
    width: 360px;
    max-width: calc(100vw - 32px);
    min-height: 0;
    padding: 14px 36px 14px 52px;
    margin: 0 0 12px;
    position: relative;
    text-align: left;
}

.jGrowl-notification .jGrowl-header {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    color: #343645;
    margin: 0 0 4px;
}

.jGrowl-notification .jGrowl-message {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    color: #3F4C5F;
}

.jGrowl-notification .jGrowl-close {
    color: #8A8FA3 !important;
    font-size: 18px;
    font-weight: 400;
    top: 10px;
    right: 10px;
    opacity: 1;
}

.jGrowl-notification .jGrowl-close:hover {
    color: #343645 !important;
}

.jGrowl-notification::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.ms2-message-success,
.af-message-success {
    background: #fff !important;
    background-color: #fff !important;
}

.ms2-message-success::before,
.af-message-success::before {
    background-color: #52c41a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.2 6.2L4.7 8.7L9.8 3.4' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ms2-message-error,
.af-message-error {
    background: #fff !important;
    background-color: #fff !important;
}

.ms2-message-error::before,
.af-message-error::before {
    background-color: #ff4d4f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3.2 3.2L8.8 8.8M8.8 3.2L3.2 8.8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ms2-message-info,
.af-message-info {
    background: #fff !important;
    background-color: #fff !important;
}

.ms2-message-info::before,
.af-message-info::before {
    background-color: #1677ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Ccircle cx='6' cy='3.2' r='0.9' fill='%23fff'/%3E%3Cpath d='M6 5.2V9.2' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.jGrowl-closer,
div.jGrowl .jGrowl-closer {
    background: #343645 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    width: 360px;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 8px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.jGrowl-closer:hover {
    background: #3F4C5F !important;
}
