.app-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 450px;
    padding: 1rem 1.25rem;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.app-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.app-toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

.app-toast-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-toast-msg {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.4;
}

.app-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.app-toast-close:hover {
    color: rgba(255, 255, 255, 1);
}

.app-toast-action {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.app-toast-action:hover {
    background: rgba(255, 255, 255, 0.25);
}

.app-toast-success {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
}

.app-toast-success .app-toast-icon {
    color: #22c55e;
}

.app-toast-error {
    border-color: rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.app-toast-error .app-toast-icon {
    color: #ef4444;
}

.app-toast-info {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.app-toast-info .app-toast-icon {
    color: #3b82f6;
}

.app-toast-warning {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.app-toast-warning .app-toast-icon {
    color: #f59e0b;
}

@media screen and (max-width: 768px) {
    .app-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .app-toast {
        min-width: auto;
        max-width: 100%;
    }
}
