/* Example
<div id="notification" class="notification">
    <div class="alert alert-danger flex-row">
        <div class="figure">
            <span class="icon"></span>
        </div>
        <p>Alert text</p>
        <div class="close">&times;</div>
    </div>
</div>
*/

#notification,
.notification {
    padding: 0 10px;
}
#notification .figure,
.notification .figure {
    border: 10px solid #FFFFFF;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 5px;
}
#notification .figure .icon,
.notification .figure .icon {
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 5px;
    margin: 0;
}
#notification .flex-row,
.notification .flex-row {
    position: relative;
    display: flex;
    align-items: center;
    flex-flow: row;
    gap: 10px;
}
#notification .flex-column,
.notification .flex-column {
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 10px;
}
#notification .close,
.notification .close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #ffffff;
}
#notification .close:hover,
.notification .close:hover {
    color: inherit;
}
#notification .alert,
.notification .alert {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    line-height: 2;
}
#notification .alert.center,
.notification .alert.center {
    text-align: center;
}
#notification .alert h4,
.notification .alert h4 {
    margin-top: 0;
    color: inherit;
}
#notification .alert .alert-link,
.notification .alert .alert-link {
    font-weight: bold;
}
#notification .alert > p,
#notification .alert > ul,
.notification .alert > p,
.notification .alert > ul {
    margin-bottom: 0;
}
#notification .alert > p + p,
.notification .alert > p + p {
    margin-top: 5px;
}
#notification .alert-dismissible,
.notification .alert-dismissible {
    padding-right: 35px;
}
#notification .alert-dismissible .close,
.notification .alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}
/* Default */
#notification .alert-default,
.notification .alert-default {
    background-color: #F7F7F7;
    border-color: #F7F7F7;
    color: #22AAE2;
}
#notification .alert-default hr,
.notification .alert-default hr {
    border-top-color: #F7F7F7;
}
#notification .alert-default .alert-link,
.notification .alert-default .alert-link {
    color: #22AAE2;
}

/* Success */
#notification .alert-success,
.notification .alert-success {
    background-color: #BCE6AF;
    border-color: #d6e9c6;
    /*color: #242424;*/
    color: #295800;
}
#notification .alert-success .icon,
.notification .alert-success .icon {
    background-image: url('/catalog/view/image/success.svg');
}
#notification .alert-success hr,
.notification .alert-success hr {
    border-top-color: #c9e2b3;
}
#notification .alert-success .alert-link,
.notification .alert-success .alert-link {
    color: #2b542c;
}

/* Info */
#notification .alert-info,
.notification .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}
#notification .alert-info .icon,
.notification .alert-info .icon {
    background-image: url('/catalog/view/image/info.svg');
}
#notification .alert-info hr,
.notification .alert-info hr {
    border-top-color: #a6e1ec;
}
#notification .alert-info .alert-link,
.notification .alert-info .alert-link {
    color: #245269;
}

/* Warning */
#notification .alert-warning,
.notification .alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}
#notification .alert-warning .icon,
.notification .alert-warning .icon {
    background-image: url('/catalog/view/image/warning.svg');
}
#notification .alert-warning hr,
.notification .alert-warning hr {
    border-top-color: #f7e1b5;
}
#notification .alert-warning .alert-link,
.notification .alert-warning .alert-link {
    color: #66512c;
}

/* Danger */
#notification .alert-danger,
.notification .alert-danger {
    background-color: #E6AFAF;
    border-color: #ebccd1;
    /*color: #242424;*/
    color: #700000;
}
#notification .alert-danger .icon,
.notification .alert-danger .icon {
    background-image: url('/catalog/view/image/error.svg');
}
#notification .alert-danger hr,
.notification .alert-danger hr {
    border-top-color: #e4b9c0;
}
#notification .alert-danger .alert-link,
.notification .alert-danger .alert-link {
    color: #843534;
}

/* Notification push */
#notification-push {
    position: relative;
    width: 100%;
    height: 0;
}
#notification-push > .container {
    position: fixed;
    right: 0;
    max-width: 300px;
    display: flex;
    flex-flow: column;
    gap: 15px;
    margin: 15px;
    z-index: 3;
}
#notification-push > .container > div {
    position: relative;
    display: flex;
    align-items: start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 15px;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}
#notification-push > .container > div img {
    width: 50px;
    border-radius: 8px;
}
#notification-push > .container > div .notification-body {
    display: flex;
    flex-flow: column;
    gap: 10px;
    cursor: pointer;
}
#notification-push > .container > div .notification-body h5 {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
}
#notification-push > .container > div .notification-body p {
    margin: 0;
}
#notification-push > .container > div .notification-body img {
    width: 100%;
    border-radius: 8px;
}
#notification-push > .container > div .close {
    position: absolute;
    right: 8px;
    top: 0;
    font-size: 30px;
    cursor: pointer;
}

/* Push */
#notification-push > .container > div.push {
    background: #c8f1ff;
    border: 1px solid #1ea3d2;
    border-radius: 8px;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15)
}

/* Push */
#notification-push > .container > div.info {
    background: #c8f1ff;
    border: 1px solid #1ea3d2;
    border-radius: 8px;
}

/* info */
#notification-push > .container > div.error {
    background: #ef4444;
    border: 1px solid #ff0000;
    border-radius: 8px;
}

/* warning */
#notification-push > .container > div.warning {
    background: #f59e0b;
    border: 1px solid #dc8b00;
    border-radius: 8px;
}

/* success */
#notification-push > .container > div.success {
    background: #10b981;
    border: 1px solid #00af6c;
    border-radius: 8px;
}

#notification-push > .container > div.opacity-0 {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
#notification-push > .container > div.opacity-1 {
    opacity: 1;
}

/* Start site toast notifications */
.toast-notification-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10020;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: 380px;
    max-width: calc(100vw - 48px);
    pointer-events: none;
}

.toast-notification {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: 12px;
    width: 100%;
    padding: 16px;
    color: #00364a;
    font-family: Inter, Arial, sans-serif;
    background: #fff;
    border: 1px solid rgba(0, 54, 74, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 54, 74, 0.18);
    opacity: 0;
    transform: translate3d(18px, 8px, 0) scale(0.98);
    transition: opacity .18s ease, transform .18s ease;
    box-sizing: border-box;
    pointer-events: auto;
    overflow: hidden;
}

.toast-notification:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: #2dc5ff;
}

.toast-notification-show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.toast-notification-hide {
    opacity: 0;
    transform: translate3d(18px, 8px, 0) scale(0.98);
}

.toast-notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #2dc5ff 0%, #1ea3d2 100%);
    box-shadow: 0 8px 18px rgba(45, 197, 255, 0.28);
}

.toast-notification-svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.toast-notification-symbol {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.toast-notification-content {
    min-width: 0;
}

.toast-notification-title {
    margin: 0 0 4px;
    color: #00364a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.toast-notification-text {
    color: #607680;
    font-size: 13px;
    line-height: 1.4;
}

.toast-notification-text a {
    color: #1ea3d2;
    font-weight: 700;
    text-decoration: none;
}

.toast-notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.toast-notification-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    background: #2dc5ff;
    border-radius: 999px;
    transition: background-color .15s ease, transform .15s ease;
}

.toast-notification-action:hover,
.toast-notification-action:focus {
    color: #fff !important;
    background: #1ea3d2;
    transform: translateY(-1px);
}

.toast-notification-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #8a9aa3;
    font-size: 24px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.toast-notification-close:hover,
.toast-notification-close:focus {
    color: #00364a;
    outline: none;
}

.toast-notification-warning:before {
    background: #f59e0b;
}

.toast-notification-error:before {
    background: #d93025;
}

@media (max-width: 780px) {
    .toast-notification-container {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        width: auto;
    }

    .toast-notification {
        grid-template-columns: 38px minmax(0, 1fr) 26px;
        gap: 10px;
        padding: 14px;
        border-radius: 16px;
        transform: translate3d(0, 18px, 0) scale(0.98);
    }

    .toast-notification-show {
        transform: translate3d(0, 0, 0) scale(1);
    }

    .toast-notification-hide {
        transform: translate3d(0, 18px, 0) scale(0.98);
    }

    .toast-notification-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
}
/* End site toast notifications */
