.ktoast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 380px;
    pointer-events: none;
}

.ktoast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1rem 1rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
    pointer-events: auto;
    overflow: hidden;
    min-width: 280px;
    transform: translateX(120%);
    opacity: 0;
    animation: ktoast-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ktoast.ktoast--leaving {
    animation: ktoast-out 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes ktoast-in {
    to { transform: translateX(0); opacity: 1; }
}

@keyframes ktoast-out {
    to { transform: translateX(120%); opacity: 0; }
}

.ktoast__icon {
    flex: 0 0 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
}

.ktoast__body {
    flex: 1 1 auto;
    min-width: 0;
}

.ktoast__title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
    color: #0f172a;
}

.ktoast__msg {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #475569;
    word-wrap: break-word;
}

.ktoast__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.1rem 0.35rem;
    margin-left: 0.25rem;
    transition: color 0.15s;
}

.ktoast__close:hover { color: #0f172a; }

.ktoast__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.5;
    animation: ktoast-progress linear forwards;
}

@keyframes ktoast-progress {
    from { width: 100%; }
    to   { width: 0; }
}

.ktoast--success { border-left: 4px solid #10b981; }
.ktoast--success .ktoast__icon { background: #d1fae5; color: #059669; }

.ktoast--error { border-left: 4px solid #ef4444; }
.ktoast--error .ktoast__icon { background: #fee2e2; color: #dc2626; }

.ktoast--warning { border-left: 4px solid #f59e0b; }
.ktoast--warning .ktoast__icon { background: #fef3c7; color: #d97706; }

.ktoast--info { border-left: 4px solid #3b82f6; }
.ktoast--info .ktoast__icon { background: #dbeafe; color: #2563eb; }

@media (max-width: 480px) {
    .ktoast-container { left: 1rem; right: 1rem; max-width: none; }
}