/* iSnow toast — layered on top of Toastify-js base styles. */

/* Make the whole toast a flex row so the × sits at the top-right
   instead of wrapping below the message. */
.toastify {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    min-width: 280px;
    max-width: 420px;
    color: #fff;
    cursor: default;
}

/* Close button: pinned to the top-right, subtle but visible. */
.toastify .toast-close {
    order: 99;
    align-self: flex-start;
    margin-left: auto;
    padding: 0 4px;
    font-size: 20px;
    line-height: 1;
    color: rgba(255, 255, 255, .9);
    opacity: .85;
    background: transparent;
    border: 0;
}
.toastify .toast-close:hover { opacity: 1; }

/* Inner content row: icon + message + optional action. */
.isnow-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}
.isnow-toast__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}
.isnow-toast__msg {
    flex: 1 1 auto;
    word-wrap: break-word;
    color: #fff;
}
.isnow-toast__action {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .22);
    color: #fff !important;
    border: 0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.isnow-toast__action:hover { background: rgba(255, 255, 255, .35); }

@media (max-width: 600px) {
    .toastify {
        left: 12px !important;
        right: 12px !important;
        min-width: 0;
        max-width: none;
    }
}
