/**
 * Vue replacement for angular-ui-notification styles.
 * Visuals are kept identical to the legacy `.ui-notification` look, stacking is
 * done with flexbox instead of the manual repositioning the old library did.
 */
.ui-notification-stack {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    width: 300px;

    pointer-events: none;
}

.ui-notification {
    width: 100%;
    margin-bottom: 10px;

    transition: opacity ease 1s, transform ease .5s;

    color: #fff;
    border-radius: 0;
    background: #337ab7;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);

    pointer-events: auto;
}

.ui-notification.clickable {
    cursor: pointer;
}

.ui-notification.clickable:hover {
    opacity: .7;
}

.ui-notification > h3 {
    font-size: 14px;
    font-weight: bold;

    display: block;

    margin: 10px 10px 0 10px;
    padding: 0 0 5px 0;

    text-align: left;

    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.ui-notification a {
    color: #fff;
}

.ui-notification a:hover {
    text-decoration: underline;
}

.ui-notification .message {
    margin: 10px 10px 10px 10px;
}

.ui-notification.warning {
    color: #fff;
    background: #f0ad4e;
}

.ui-notification.error {
    color: #fff;
    background: #d9534f;
}

.ui-notification.success {
    color: #fff;
    background: #5cb85c;
}

.ui-notification.info {
    color: #fff;
    background: #5bc0de;
}

/* enter: slide down into place, leave: fade out (same feel as the legacy `killed` class) */
.ui-notification-enter-from {
    opacity: 0;
    transform: translateY(-60px);
}

.ui-notification-leave-to {
    opacity: 0;
}

.ui-notification-move {
    transition: transform ease .5s;
}

