/* TXF Notifications - Light */

.txf-notify-host{
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(520px, calc(100vw - 32px));
}

.txf-notify-host--topright{ top: 16px; right: 16px; }
.txf-notify-host--topleft{  top: 16px; left: 16px; }

.txf-notify{
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 28px;
    gap: 12px;

    padding: 14px 14px 14px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--app-surface, #ffffff) 90%, transparent);
    border: 1px solid var(--app-border, rgba(0,0,0,0.10));
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    overflow: hidden;
}

.txf-notify.txf-notify--show{
    transform: translateY(0);
    opacity: 1;
}

.txf-notify.txf-notify--leaving{
    transform: translateY(-4px);
    opacity: 0;
}

/* Left accent strip */
.txf-notify::before{
    content:"";
    position:absolute;
    left:0; top:0;
    width: 4px; height:100%;
    background: var(--txf-accent, var(--app-accent, #0088cc));
}

.txf-notify__icon{
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
}

.txf-notify__icon i{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size: 18px;

    background: var(--txf-icon-bg, rgba(0,0,0,0.06));
    color: var(--txf-icon, var(--app-text-main, #111827));
}

.txf-notify__content{ min-width: 0; }

.txf-notify__title{
    font-weight: 750;
    font-size: .98rem;
    color: var(--app-text-main, #111827);
    margin: 0;
}

.txf-notify__text{
    margin-top: 4px;
    font-size: .90rem;
    line-height: 1.35;
    color: var(--app-text-muted, #6b7280);
}

.txf-notify__close{
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;

    font-size: 20px;
    line-height: 20px;
    color: var(--app-text-muted, #6b7280);
    opacity: .65;

    padding: 0;
    margin-top: 2px;
}

.txf-notify__close:hover{ opacity: 1; }

/* Variants */
.txf-notify--primary{ --txf-accent: var(--app-accent, #0088cc); --txf-icon-bg: rgba(0,136,204,0.12); --txf-icon: #0088cc; }
.txf-notify--success{ --txf-accent: #22c55e; --txf-icon-bg: rgba(34,197,94,0.14); --txf-icon: #15803d; }
.txf-notify--warning{ --txf-accent: #f59e0b; --txf-icon-bg: rgba(245,158,11,0.16); --txf-icon: #a16207; }
.txf-notify--danger{   --txf-accent: #ef4444; --txf-icon-bg: rgba(239,68,68,0.14);  --txf-icon: #b91c1c; }
