/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .wp-notification {
    z-index: 999;
    font-family: Inter;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 20px 0;
    padding: 12px;
    position: relative;
    border-radius: .5em;
    min-height: 4em;
    border: solid .1px #eee;

    position: fixed;
    bottom: 0;
    min-width: 400px;
    left: calc(50%);
    transform: translate(-50%, 200%);
    transition: transform .2s;
}

@media screen and (max-width: 600px) {
    .wp-notification {
        min-width: 0;
        width: 85%;
    }
}

.wp-notification.show {
    transform: translate(-50%, -20%);
}

.wp-notification.success {
    border-left: 4px solid #00a32a;
}

.wp-notification.error {
    border-left: 4px solid #00a32a;
}

.wp-notification.warning {
    border-left-color: #dba617;
}

.wp-notification.error {
    border-left-color: #d63638;
}

.wp-notification-title {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    width: calc(100% - 6em);
}

.wp-notification-message {
    font-family: Inter;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #1e1e1e;
    width: calc(100% - 6em);
}

.wp-notification-dismiss {
    position: absolute;
    top: 5px;
    right: 5px;
    height: .8em;
    width: .8em;
    color: #787c82;
    text-decoration: none;
    font-size: 16px;
    transform-origin: center;
    cursor: pointer;
}

.wp-notification-dismiss path {
    fill: #787c82;
}

.wp-notification .dashicons {
    position: absolute;
    height: 3em;
    width: 3em;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
}

.wp-notification .dashicons::before {
    font-size: 3em;
}

.wp-notification .dashicons.dashicons-yes-alt::before {
    color: #00a32a;
}

.wp-notification .dashicons.dashicons-warning::before {
    color: #d63638;
}